‎2005 Nov 29 8:31 AM
HI,
I have a selection Screen (Scr No. 1000). On execution of this sel screen a window (screen 9001) is opened.From this window another selection screen is called (9002). On execution of this selection screen a window (9003) is opened.
My requirement is that, on pressing a certain button on the final screen (9003) the processing should go back to the first selection screen... for a new processing ( as mentioned above) to beign.
Thanks and regards
Aviroop
‎2005 Nov 29 8:38 AM
Hi,
You can use LEAVE TO SCREEN 'XXX' when you press the button or LEAVE LIST-PROCESSING.
Hope it helps.
‎2005 Nov 29 8:45 AM
Hi
Use CALL SELECTION-SCREEN 1000.
Check my below sample program also.
DATA ok_code LIKE sy-ucomm.
PARAMETERS P1 TYPE I.
START-OF-SELECTION.
CALL SCREEN 100.
&----
*& Module STATUS_0200 OUTPUT
&----
text
----
MODULE STATUS_0200 OUTPUT.
SET PF-STATUS ''.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0200 OUTPUT
&----
*& Module USER_COMMAND_0200 INPUT
&----
text
----
MODULE USER_COMMAND_0200 INPUT.
CASE ok_code.
WHEN 'ENTER'.
CALL SELECTION-SCREEN 1000.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
MODULE USER_COMMAND_0100 INPUT.
CASE ok_code.
WHEN 'CLICK'.
CALL SCREEN 200.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards,
Abdul
Message was edited by: Abdul Hakim
Message was edited by: Abdul Hakim
‎2005 Nov 29 9:27 AM
Hi,
Thanks for your reply. The problem with using Call Selection Screen is that it would only add to the screen stack.This would be a problem beacuse there would be no limit as to the number of times the user would be repeating the process of Selection 1000 to 9003.
Thanks and regards
Aviroop
‎2005 Nov 29 9:57 AM
‎2005 Nov 29 9:15 AM
hi,
You can used either CALL SCREEN SCRor
LEAVE TO SCREEN 'XXX'.
AS per your requirement.
But there is a non-catchable error attach with them. it is-DYNP_TOO_MANY_CALL_SCREENS.
Regards
Amit