‎2007 Feb 20 6:38 PM
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
‎2007 Feb 20 6:44 PM
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
‎2007 Feb 20 6:45 PM
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.
‎2007 Feb 20 7:28 PM
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.