Application Development and Automation 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: 
Read only

Abap

Former Member
0 Likes
659

1.what is thr diff between session and calltraction?

2.10 pages output is there i want avoid first 2 pages h to give the spoolrequest

4 REPLIES 4
Read only

anversha_s
Active Contributor
0 Likes
628

hi,

<u>Session method.</u>

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.

<u>Call transaction.</u>

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,

Anver

Read only

Former Member
0 Likes
628

hi vijay,

<b>session method</b>

1.data is not updated in the database table until the session is processed.

2.no sy-subrc is returned.

3.Error log is created for error records.

4.Updation in database table is always synchronous.

<b>Call transaction method.</b>

1.Immediate updation in the database table.

2.sy-subrc is returned.

3.Error need to be handled explicitly.

4.updataion in database table can be synchronous or asynchronous.

2. Try it with t/c SPAD, which is the spool admin.

Regards...

Arun.

Read only

kiran_k8
Active Contributor
0 Likes
628

Vijay,

1.what is thr diff between session and calltraction?

session is slower call is faster.

In session an error log is generated in SM35 where in we can see the errors if any and correct the same but in call we need to handle the errors explicitly by declaring an internal table of structure BDCMSGCOLL and then to display call a function module FORMAT_MESSAGE and loop at MESSTAB.

We go for session only if we have to upload a large amount of data.

We go for Call only if we have to upload a less amount of datas.

There is one more method called Direct Input besides Call and Session.

-


Besides the above said methods ,to upload the data there is one more method called LSMW which doesn't need any coding but to follow 17 steps by navigating from one screen to another.

2.10 pages output is there i want avoid first 2 pages h to give the spoolrequest

Sorry, no idea.