You are on page 1of 21

IBM Global Services

Processing Batch Input Sessions

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Objectives
The participants will be able to:
Process Batch Input Sessions.
Use the many options in the Batch Input : Session Manager.

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Overview

BDC Program External Data

In this chapter, we will learn how to process batch input sessions.

Process Batch Batch Input

SAP
Database Table

Input
Session

Session

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Session Overview
Process

Transaction Code SM35


OR System -> Services -> Batch input -> Sessions menu path

Batch Input
Session

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Processing Modes

Process batch input session in the FOREGROUND.

DISPLAY ERRORS ONLY when processing batch input session.

Process batch input session in the BACKGROUND.

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Processing Modes (Contd.)

Process batch input session in the FOREGROUND.

DISPLAY ERRORS ONLY when processing batch input session.

Process batch input session in the BACKGROUND.

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Processing Options

/bdel /n /bda /bde

/bend

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Processing Options (Contd.)

/bdel /n /bda /bde

/bend

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Session Overview Options

Process

Analyze

Batch Input Session

Delete

Recording

Statistics Log

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Session Overview Options (Contd.)

Process

Analyze

Batch Input Session

Delete

Recording

Statistics Log

10

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Session Status

Sessions still to be processed

Sessions processed with errors

Sessions processed successfully

Background sessions

Sessions being processed

Sessions being created


11 Data Interfaces | 7.06 March-2005

2005 IBM Corporation

IBM Global Services

Session Status (Contd.)

Sessions still to be processed

Sessions processed with errors

Sessions processed successfully

Background sessions

Sessions being processed

Sessions being created


12 Data Interfaces | 7.06 March-2005

2005 IBM Corporation

IBM Global Services

Session Log
Log

13

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Session Analysis
Log Transaction
1 FK02

Data Status
Processed

Session Screen
SAPMF02K 0106 SAPMF02K 0111

2
3 4 5

FK02
FK02 FK02 FK02

Incorrect
Deleted Processed

SAPMF02K 0106 SAPMF02K 0111


SAPMF02K 0106 SAPMF02K 0111 SAPMF02K 0106 SAPMF02K 0111 SAPMF02K 0106 SAPMF02K 0111

** This is not an analysis of the batch input session from the previous page **
14 Data Interfaces | 7.06 March-2005

2005 IBM Corporation

IBM Global Services

Session Analysis (Contd.)


Log Transaction
1 FK02

Data Status
Processed

Session Screen
SAPMF02K 0106 SAPMF02K 0111

2
3 4 5

FK02
FK02 FK02 FK02

Incorrect
Deleted Processed

SAPMF02K 0106 SAPMF02K 0111


SAPMF02K 0106 SAPMF02K 0111 SAPMF02K 0106 SAPMF02K 0111 SAPMF02K 0106 SAPMF02K 0111

** This is not an analysis of the batch input session from the previous page **
15 Data Interfaces | 7.06 March-2005

2005 IBM Corporation

IBM Global Services

Timing Issue
Remember: A batch input session is created when you execute a BDC program (time1), but it is processed at a different time (time2). BDC program executed Batch input session created

Time2

Time1

Batch input

session processed SAP database updated

16

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Program RSBDCSUB

Execute program RSBDCSUB

Specify batch input session to process.

Batch input session scheduled to be processed in the background.

17

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Demonstration
Creation of a custom batch input session for transaction XD02 (Change Customer). Processing the created session manually or through RSBDCSUB.

18

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Practice
Creation of a custom batch input session for transaction XD02 (Change Customer). Processing the created session manually or through RSBDCSUB.

19

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

Summary

BDC Program External Data

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 Batch Input Session

SAP Database Table

Input
Session

20

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

IBM Global Services

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 ?

21

Data Interfaces | 7.06

March-2005

2005 IBM Corporation

You might also like