on 03-18-2008 8:13 AM
cud anyone tell me the exact difference between session and call transaction ? when we have to use ?
Hi,
Call Transaction Method.
1. Faster processing of data
2. Asynchronous processing
3. Transfer data for a single transaction.
4. No batch input processing log is generated.
Session Method.
1.Synchronous database update.
2. Transfer of data for multiple transaction. Using BDC_INSERT.
3. As compared to Call transaction method, this is slow.
4. Best suited for Bulk record.
5. Automatic Error handling.
6. Error logs are created.
7. The value of sy-subrc is never returned. Because the records are stored temporary in session and after the records are updated to the database.
8. It can handle both small amount of data as well as the large amount of data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
BATCH INPUT METHOD
Asynchronous processing
Transfer data for multiple transactions.
Synchronous database update.
A batch input process log is generated for each session.
Session cannot be generated in parallel.
CALL TRANSACTION METHOD:
Using CALL TRANSACTION USING statement
Faster processing of data
Synchronous processing
Transfer data for a single transaction.
No batch input processing log is generated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Session method:
1. This method is used to upload huge data
2 it has error log so that v can trace the errors easily.
3. it slower than call transaction method.
Call transaction:
1. This very fast than session method.
2. This is used to upload small volume of data.
3.Error tracing is bit difficult and v use MSGBDCCALL to get the error message.
Thanks,
Arunprasad.P
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
Refer
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
Call transaction is faster then session method. But usually we use session method in real time...because we can transfer large amount of data from internal table to database and if any errors in a session. Process will not complete until session get correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.