Difference Between Batch Input
and Call Transaction in BDC
What is the difference between batch input and call transaction in BDC? Session method.
Call transaction.
ABAP Tips by : Nagaraj Muniyappa Batch Data Communication (BDC) is the oldest batch interfacing
technique that SAP provided since the early versions of R/3.
BDC is not a typical integration tool, in the sense that, it can be only
be used for uploading data into R/3 and so it is
BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background. In ‘Call Transaction’, the transactions are triggered
at the time of processing itself and so the ABAP program must do the error
handling. It can also be used for real-time interfaces and custom
error handling & logging features. Whereas in
Batch Input (BI) programs still use the classical BDC approach but doesn’t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file. Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are not available for all application areas. ABAP Tips by : Anshu Kumar --- Differences between bdc session method and call transaction method. The most important aspects of the batch session interface are: - Asynchronous processing - Transfers data for multiple transactions - Synchronous database update During processing, no transaction is started until the previous transaction has been written to the database. - A batch input processing log is generated for each session - Sessions cannot be generated in parallel The most important aspects of the CALL TRANSACTION USING interface are: - Synchronous processing - Transfers data for a single transaction - Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. - Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement. - No batch input processing log is generated. Explain in detail with example what is batch input session? Batch Input Session:
Three processing modes of executing Batch Input Session
:-
Get help for your ABAP problems
SAP Books
BDC Tips and Tricks
ABAP Tips
Best regards,
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|