‎2010 Jul 16 7:33 AM
Dear all,
I have program A with selection screen and this program display listing.
In program A, when user choose the option to display another report listing in selection screen, then in program A, will have submit program B with ... and return
May I know how can make the program B after showing the listing go back to program A selection screen and not continue to display program A report listing?
Thanks
Rgds
‎2010 Jul 16 7:54 AM
Why not to call / leave to the same program A after B finishes...!
Edited by: Anup Deshmukh on Jul 16, 2010 8:54 AM
‎2010 Jul 16 8:13 AM
Hi,
i do it on this way:
SUBMIT Z_TEST AND RETURN.
*
SUBMIT (SY-REPID) VIA SELECTION-SCREEN.
*
Regards, Dieter
‎2010 Jul 16 11:36 AM
Hi All,
I need to go back to program A and show the program A selection screen on the screen when user click back button from program B.
In program A i have statement submit program B with ... and return
but when i click back button in program B, the system totally come out from both program A and B. I need it to go back to program A and stop at the program A selection screen.
Thanks
‎2010 Jul 16 12:27 PM
Like this
"-----------------------------------
REPORT z_a.
PARAMETERS: pa_a(10) TYPE c,
pa_callb AS CHECKBOX.
IF pa_callb = 'X'.
SUBMIT z_b WITH pa_b = pa_a
AND RETURN.
EXIT.
ENDIF.
WRITE: / 'Here is program A, the parameter value is: ',pa_a .
"-----------------------------------
REPORT Z_B.
PARAMETERS pa_b(10) type c.
write: / 'Here is program B, the parameter value passed from A is: ',pa_b .
Regards
Marcin