Professional Documents
Culture Documents
Session Method
Call Transaction
Call transaction method is used
when the data volume is low.
Call Transaction method is relatively
Important:
Question 2: How do you do BDC for a table control?
With other things as usual, there is a special trick that you have to use while
doing BDC for table control.
You need to use the BDC OKCODE '=P+'.
Its the BCD_OKCODE for Page down that can be used for scrolling down in
table control.
Important:
Question3: Is there any method apart from BDC for data upload to
SAP?
Apart from BDC and LSMW, you can use BAPIs to upload data into SAP.
BAPIs should be preferred over BDCs, because they process data faster than
BDC.
A BAPI is faster since it updates Database "directly". Whereas BDC
calls transaction and goes through the whole screen sequence as any user
would do.
BAPI
BAPI is faster than BDC.
BAPI directly updates database.
No such processing options are
available in BAPI.
BAPI would generally used for small
data uploads.
For processing errors, the Return
Parameters for BAPI should be
used.This parameter returns
exception messages or success
messages to the calling program.
BDC
BDC is relatively slower than BAPI.
BDC goes through all the screens as
a normal user would do and hence it
is slower.
Background and Foreground
processing options are available for
BDC.
BDCs would be preferred for large
volumes of data upload since
background processing option is
available.
Errors can be processed in SM35 for
session method and in the batch
input program for Call Transaction
method.
Sample Screenshot:
using 'BDC_CURSOR'
'PROJ-PSPID'.
using 'BDC_OKCODE'
'=BU'.
Once the recording is done , one can Transfer it to the Batch input program.
In the batch Input program , The transactional data is read from the file to an
internal table.
Then one can loop over the transactional data in the internal table and start
uploading the data in SAP either by CALL TRANSACTION method or by
creating sessions through the batch input program.
Question 11: What are the different modes of processing batch input sessions?