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

Call transactions and Batch input method.

Former Member
0 Likes
766

HI

Developed Batch input program to transfer data from legacy system to flat file for vendor master data. The file was transferred using both Call transactions and Batch input method is it possible ?, if yes how ?

Thank u

3 REPLIES 3
Read only

Former Member
0 Likes
453

Hi,

You can use the Both methods,

instead of explaining everything, i will suggest a way to you, just goto SHDB(Recording) and do the recording for that trasaction code, after completing the recording, save the recording and in the Initail screen of SHDB, you have a pushbutton called PROGRAM, select your recording and press the PROGRAM, so a Program will be generated, just execute that Program, you will get a selection screen, there you see this Program will have an option to run in Call transaction method and Session method, so see the code and understand it ..

Regards

Sudheer

Read only

amit_khare
Active Contributor
0 Likes
453

Hi,

If I am getting it right you want to use both call transaction and bact input method........but why so?

Or you want to use any of the one and looking for difference then here it is -

Call transaction dont create a session for SM35 and directly execute the session.

Batch Input creates a session in SM35 which can be executed from report itself or can be scheduled/manually executed from SM35.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
453

hi jack,

What is the need for using the two methods in a same program?

U have to select one among these two. I will list of the difference between these two.

session method:

1.Data is not updated in database tabel unless session is processed.

2.no sy-subrc is returned.

3.Error log is created for error records.

4.updataion in database table is always synchronous.

call transaction method:

1.Immediate updation in database table.

2.sy-subrc is returned.

3.Errors need to be handled explicitly.

4.Updation in database table can be synchronours or asynchronous.

Regards...

Arun.