SAP ABAP Forum
In BDC session method or call transaction method which is preferable?
Why we have to go for session for more records n ctm for less records any reason ?
It depends on situation. If we have large amounts of data, only one transaction, required synchronous processing or error needs to handle implicitly then we should go for BDC Session.
When we have small amount of data, multiple transactions, required for asynchronous processing or error needs to handle explicitly then we should go for BDC Call Transaction.
First of all we need to analyse and depending on situation we must choose BDC Session or Call Transaction.
Multiple transaction is supported by session method . session method is background and CTM is foreground. basically CTM is commit and session method is wait and commit is there .
If you want to transfer large amount of data from one sap system to another then session method is good and if you want to transfer less amount of data you go with call transaction method
Call transaction is faster than 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
Sign up for STechies
Ask Question From Our Experts