‎2008 Jul 04 8:55 AM
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.
‎2008 Jul 04 8:58 AM
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
‎2008 Jul 04 9:02 AM
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.
‎2008 Jul 04 9:03 AM
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.
‎2008 Jul 04 9:07 AM
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