What is difference b/w calltransaction and session method

Questions by gnanesh

Showing Answers 1 - 11 of 11 Answers

Ravinder

  • Sep 15th, 2006
 

Session and Call Transactions are the methods in BDC Programming.

Session Method.                                           

  Was this answer useful?  Yes

Ravinder Tananki

  • Sep 15th, 2006
 

Session and Call Transactions are the methods in BDC Programming.

  1. Session Method works in Background and as well as in Foreground. Where as Call Transaction Method Works in Foreground.               (Note: No Display Mode is equal to Background Processing in call transaction method).
  2. Session Method can handle Multiple Applications at a time. Where as Call Transaction Method can handle only one Application.
  3. Session Method holds Log File by Default. Where as in Call Transaction Method no Log File by Default. We have to design Log File by using BDCMSGCOLL.
  4. Session Method Updates the Database Synchronously. Call  Transaction Method Updates the Database Asynchronously. (Note: Asynchronous updation is Faster than Synchronous)

   Regards,

   Ravinder

  Was this answer useful?  Yes

vamshi

  • Nov 8th, 2006
 

call transaction is called as online update method

using call transaction we can update the db in two ways i.e synchronus or asynchronus but in session we can do it only in asynchronusly.

using session method we can create only one view per program we can not write a program which creates all the view at a time but using call transcation it is possible

  Was this answer useful?  Yes

sandeep reddy

  • Nov 19th, 2006
 

the main difference is for immidiate update of database we use call trasaction method while the session method will be processed in the background at off peak times

call transaction-synronous processing

session-asyncronous processing,syncronous update

  Was this answer useful?  Yes

vsnl

  • Jan 28th, 2007
 

Session Method :
session method can work both foreground and background.
log file is created for this.
useful to transfer large amount of data.
in session method updation is synchronous and processing is asynchrounous.
it can be used for any no of applications at a time.
all the sessions, we have created are stored in a queue.
if we forget to set the processing then our session will be automatically deleted from the queue.

Call transactio Method :
call transaction method is faster because we can can change the updation mode from synchronous to asynchronous (and asynchronous method is faster than synchronous method)

mode : n (acts as background )
log file will not be created whereas the errors has to be handled explicitly using itab like bdcmsgcoll and we should use the function module 'FORMAT_MESSAGE' .
only one application will be considered.
lsmw does not support call transaction method because errors has to handled explicitly.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions