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

When used SUBMIT

Former Member
0 Likes
571

Hi all,

Why to use submit?

If I use this statement can I get the itab's values of the called program.

For example when I have write:

submit ZMMBEST USING SELECTION-SET 'MTEST' and return.

What happens?

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
523

Hi deniz

why to use sumbit statement ?

The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which

calls another report. Can only execute reports of type '1'.

*If I use this statement can I get the itab's values of the called program.

For example when I have write:

submit ZMMBEST USING SELECTION-SET 'MTEST' and return.

What happens?*

The variable 'MTEST' contains the name of a variant used to start the report.

=> To leave a called program, you can use SUBMIT .... AND RETURN. by choosing F3 or F15 from list level 0 of the called report.

regards

Anup

Read only

Former Member
0 Likes
523

hi the submit is used to call a remote program ...this uses the launcher concept....means one program can be called from other by the same selection screen....

for more details check this..

RANGES RANGE_LANGU FOR SY-LANGU.

PARAMETERS: MSG_FR LIKE T100-MSGNR,

MSG_TO LIKE T100-MSGNR.

MOVE: 'I' TO RANGE_LANGU-SIGN,

'BT' TO RANGE_LANGU-OPTION,

'D' TO RANGE_LANGU-LOW,

'I' TO RANGE_LANGU-HIGH.

APPEND RANGE_LANGU.

MOVE: 'EQ' TO RANGE_LANGU-OPTION,

'E' TO RANGE_LANGU-LOW.

APPEND RANGE_LANGU.

SUBMIT REPORT00

USING SELECTION-SET 'VARIANT1'

WITH MSG BETWEEN MSG_FR AND MSG_TO

WITH LANGU IN RANGE_LANGU.

Read only

Former Member
0 Likes
523

Hi Deniz,

Have yuo tried reading help.sap.com, pressing F1 on your keyboard on the SUBMIT command or even searching these forums?

This has been discussed countless times before.

Read only

Former Member
0 Likes
523

Hi Deniz,

The Submit is used to call an external program.

If you ahve a requirement where you want to execute several programs in a perticular sequence, you can use this.

Thanks