‎2007 Jul 11 3:46 AM
what is the difference between call transaction <tcode> and submit <program>? the tcode internally calls program then what is the main difference we get?
‎2007 Jul 11 3:50 AM
Usually we use the SUBMIT statement when we want to call a "Report" program directly, doing so we can bypass the selection screen and just give the output, or export the list to memory and reimport into the caller. We use CALL TRANSACTION when working with module pool programs, such as VA03, we can set the parameter id for order number and say AND SKIP FIRST SCREEN, this will put you in the main screen of VA03, but you can not do this same thing using the SUMBIT statement because it is not a report type program. Make sense?
Regards,
Rich Heilman
‎2007 Jul 11 3:51 AM
Hi,
Call Transaction statement executes the program in the Foreground, user intervention is possible,whereas SUBMIT executes the program in the Background.
Regards,
Samson Rodrigues.
‎2007 Jul 11 4:54 AM
hi,
Call transaction:
1.Synchronous Processing
2.You can update the database both synchronously and asynchrounously.
3.Transfer of data for individual transaction
4.No batch input session is created.
5.Faster than other batch input techniques.
6.No automatic error log and restart capability is available here.
7.Not recommended for bulk data transfer
Submit is a command which is used to submit a job from a program. The cursor leaves the calling program and starts executing the submitted programs and once finished returns back to the original program.
You can call application programs in your module pool program using:
1.CALL TRANSACTION for type M program
2. SUBMIT for type 1 program
since your report would be a type 1 program/executable prog , you can use the submit statement as follows:
Lets say u have the following parameters on your selection screen of the report:
1. s_aufnr (order)
2. s_werks (plant)
3. p_matnr (material)
SUBMIT X
WITH s_aufnr IN s_aufnr
WITH s_werks IN s_werks
WITH p_matnr EQ p_matnr
AND RETURN.
Message was edited by:
Roja Velagapudi