Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

differences between session and call transaction methods

Former Member
0 Kudos

differences between session and call transaction methods

1 ACCEPTED SOLUTION

Former Member
0 Kudos

call transaction is Asynchronous method and

session method is synchronous

7 REPLIES 7

Former Member
0 Kudos

call transaction is Asynchronous method and

session method is synchronous

Former Member
0 Kudos

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

Session method is to populate the data by filling BDC structure and keep as session to process from SM37 to post in appropriate Transaction.

Call transaction method is to post the data directly into the Transaction from an Executable program.

Session method SAP defined Function modules.

U can see more help on the differences in the SAP help.

Regards,

Ram

Pls reward points if helpful

0 Kudos

what are the different function modules we use in both of them

anversha_s
Active Contributor
0 Kudos

session - batch input.

log will be available.

data will be buffered in client machine.

call transaction - single entry.

for any clarifiaction pls mail me.

pls reward points, if this helped u.

regards,

anversha.

anversha.shahul@wipro.com

Former Member
0 Kudos

Hi

Call transaction is used when the volume of data is limited...

If the volume of data is very large, then session method comes handy...as the screens are populated with all the data and the session is created, which can be processed in the night, when the load on server is less...

Regards,

Raj

Former Member
0 Kudos

For session method,these are the function modules to b used.

BDC_OPEN_GROUP

BDC_INSERT

BDC_CLOSE_GROUP

For call transaction,this is the syntax.

CALL TRANSACTION TCODE USING BDCDATA

MODE A or E or N

UPDATE A or S

MESSAGES INTO MESSTAB.

Former Member
0 Kudos

hi,

just to add a bit to above responses, in session method, no sy-subrc is returned due to the basic characteristic of session method. 'Call transaction' always returns

Sy-subrc.

Regards,

VINNY