chapter 06_ processing batch input sessions

20
IBM Global Business Services © IBM Corporation 2013 Data Interfaces | Dec-2008 Processing Batch Input Sessions

Upload: bakkalibilal

Post on 25-Dec-2015

14 views

Category:

Documents


2 download

DESCRIPTION

Chapter 06_ Processing Batch Input Sessions

TRANSCRIPT

Page 1: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 2013Data Interfaces | Dec-2008

Processing Batch Input Sessions

Page 2: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20132 Dec-2008Data Interfaces |

Objectives

The participants will be able to: Process Batch Input Sessions.

Use the many options in the Batch Input : Session Manager.

Page 3: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20133 Dec-2008Data Interfaces |

Overview

BDCProgram

External

Data

Batch

Input

Session

SAPSAP

DatabaseDatabase

TableTable

In this chapter, we willlearn how to processbatch input sessions.

Process

Batch

Input

Session

Page 4: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20134 Dec-2008Data Interfaces |

OR

Session Overview

“System -> Services -> Batch input -> Sessions” menu path

Process

Batch Input

Session

Transaction Code “SM35”

Page 5: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20135 Dec-2008Data Interfaces |

Processing Modes

Process batch input sessionin the FOREGROUND.

DISPLAY ERRORS ONLY whenprocessing batch input session.

Process batch input sessionin the BACKGROUND.

Page 6: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20136 Dec-2008Data Interfaces |

Processing Modes (Contd.)

Process batch input sessionin the FOREGROUND.

DISPLAY ERRORS ONLY whenprocessing batch input session.

Process batch input sessionin the BACKGROUND.

Page 7: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20137 Dec-2008Data Interfaces |

Processing Options

/bdel

/n

/bda

/bde

/bend

Page 8: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20138 Dec-2008Data Interfaces |

Session Overview Options

BatchInput

Session

Process

Analyze

Delete

Recording

Statistics

Log

Page 9: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 20139 Dec-2008Data Interfaces |

Session Overview Options (Contd.)

BatchInput

Session

Process

Analyze

Delete

Recording

Statistics

Log

Page 10: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201310 Dec-2008Data Interfaces |

Session Status

Sessions still to be processed

Sessions processed with errors

Sessions processed successfully

Background sessions

Sessions being processed

Sessions being created

Page 11: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201311 Dec-2008Data Interfaces |

Session Status (Contd.)

Sessions still to be processed

Sessions processed with errors

Sessions processed successfully

Background sessions

Sessions being processed

Sessions being created

Page 12: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201312 Dec-2008Data Interfaces |

Session Log

Log

Page 13: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201313 Dec-2008Data Interfaces |

Session

Transaction Status Screen

1 FK02 Processed SAPMF02K 0106SAPMF02K 0111

2 FK02 Incorrect SAPMF02K 0106SAPMF02K 0111

3 FK02 Deleted SAPMF02K 0106SAPMF02K 0111

4 FK02 Processed SAPMF02K 0106SAPMF02K 0111

5 FK02 SAPMF02K 0106SAPMF02K 0111

Log Data

Session Analysis

** This is not an analysis of the batch input session from the previous page **

Page 14: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201314 Dec-2008Data Interfaces |

Session

Transaction Status Screen

1 FK02 Processed SAPMF02K 0106SAPMF02K 0111

2 FK02 Incorrect SAPMF02K 0106SAPMF02K 0111

3 FK02 Deleted SAPMF02K 0106SAPMF02K 0111

4 FK02 Processed SAPMF02K 0106SAPMF02K 0111

5 FK02 SAPMF02K 0106SAPMF02K 0111

Log Data

Session Analysis (Contd.)

** This is not an analysis of the batch input session from the previous page **

Page 15: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201315 Dec-2008Data Interfaces |

Timing Issue

Time1

Time2

BDC program

executed -

Batch input

session created

Batch input

session processed -

SAP database updated

Remember: A batch input session is created when you

execute a BDC program (time1), but it is processed at a different

time (time2).

Page 16: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201316 Dec-2008Data Interfaces |

Program “RSBDCSUB”

Execute program “RSBDCSUB”

Specify batch input session to process.

Batch input session scheduled to be processed

in the background.

Page 17: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201317 Dec-2008Data Interfaces |

Demonstration

Creation of a custom batch input session for transaction XD02 (Change Customer).

Processing the created session manually or through RSBDCSUB.

Page 18: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201318 Dec-2008Data Interfaces |

Practice

Creation of a custom batch input session for transaction XD02 (Change Customer).

Processing the created session manually or through RSBDCSUB.

Page 19: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201319 Dec-2008Data Interfaces |

Summary

BDCProgram

External

Data

Batch

Input

Session

SAP

Database

Table

Batch Input Sessions are sent to the Batch Input Queue. To update the SAP

database, these sessions must be processed in SM35 directly or by

“SUBMIT”-ing them to the program RSBDCSUB

Process

Batch

Input

Session

Page 20: Chapter 06_ Processing Batch Input Sessions

IBM Global Business Services

© IBM Corporation 201320 Dec-2008Data Interfaces |

Questions

Why “RSBDCSUB” program is used ?

Which transaction we used to process Batch Input Session ?

What are the different modes of processing batch input sessions ?