What are the differences between Session Method and Call Transaction Method?.
Session Method and Call Transaction Method in SAP ABAP.
Ans :-
Session
Call Transaction
1. The standard Function modules 'BDC_OPEN_GROUP’, 'BDC_INSERT' and 'BDC_CLOSE_GROUP' are used to work with the session method.
1. The ABAP statement CALL TRANSACTION ….is used.
2. The data is updated in Synchronously mode (Record by Record).
2. The data is updated in both synchronous and Asynchronous modes.
3. An Error LOG File is generated by the system to handle the errors.
3. The messages/errors are manually handled explicitly using the structure BDCMSGCOLL & the function modules 'FORMAT_MESSAGE’ or 'WRITE_MESSAGE’ or the table T100.
4. Session method can process any no of transactions at a time.
4. Call Transaction can process only one transaction at a time.
5. After processing the session through SM35 only, the database is updated.
5. Immediate database updation.
6. Session method is slower.
6. Call transaction method is faster
7. We can schedule the session method in background.
7. We can’t schedule the call transaction in background.
No comments:
Post a Comment