05-14-2007 6:02 PM
1. Which is synchronous and which is asynchronous among session method and call transaction method and what is the reason behind it??
05-14-2007 6:11 PM
Hi,
Look at the below link
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
Regards
Sudheer
05-14-2007 6:11 PM
Hi
- synchronous method: it means after CALL TRANSACTION is finished the calling program is waiting for the database is updated really,
- asynchronous method: the calling program doesn't wait for updting, so it'll go on while the dabase is being updated.
So the system uses asynchronous method by default, because it's faster, u should use synchronous method only if you need to read the new data inserted/updated by CALL TRANSACTION.
Max
05-14-2007 6:11 PM
Hi,
Look at the below link
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
Regards
Sudheer
05-14-2007 6:16 PM
For batch session, processing is asynchronous, while database updates using this method are synchronous.
Call transaction, processing is synchronous, and database updates can be either async or sync (you can specify in your call using UPDATE 'A' or 'S').
You will find detailed information on the differences between batch session and call transaction in the document link below.
http://help.sap.com/saphelp_46c/helpdata/en/fa/097097543b11d1898e0000e8322d00/frameset.htm
05-14-2007 9:15 PM
Hi,
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.
Regards,
Bhaskar