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

submit-calltransaction

Former Member
0 Likes
590

what is the difference between call transaction <tcode> and submit <program>? the tcode internally calls program then what is the main difference we get?

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
566

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

Read only

Former Member
0 Likes
566

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.

Read only

Former Member
0 Likes
566

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