‎2006 Dec 17 2:09 PM
Hello all
there is a smal problem.
I want to call a Programm / transaktion and submit the selection-screen to an other report.
does anybody have a short example??
Thanks for your help .
‎2006 Dec 18 4:05 AM
hi christi,
in case of calling a program or a transaction u can use call statement,but
in case u have to submit that u have to use the SUBMIT statement.
for eg:
SUBMIT....VIA SELECTION-SCREEN
Effect
The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.
... AND RETURN
Effect
Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.
u can use this . if u have further doubts about this u can get from f1 help request.
with regards,
magesh.
‎2006 Dec 17 2:15 PM
‎2006 Dec 17 2:15 PM
Plenty of examples in the forums
And the syntax in the help
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 17 2:15 PM
Hi,
You need to pass the data to the program to which you are submitting using WITH addition. Check the documentation for SUBMIT WITH. Also check out the option of passing the data to the program using BDCDATA.
Regards,
Sesh
‎2006 Dec 18 4:05 AM
hi christi,
in case of calling a program or a transaction u can use call statement,but
in case u have to submit that u have to use the SUBMIT statement.
for eg:
SUBMIT....VIA SELECTION-SCREEN
Effect
The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.
... AND RETURN
Effect
Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.
u can use this . if u have further doubts about this u can get from f1 help request.
with regards,
magesh.