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

Screen Management Issue

Former Member
0 Likes
615

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

5 REPLIES 5
Read only

Former Member
0 Likes
592

Hi,

You can use LEAVE TO SCREEN 'XXX' when you press the button or LEAVE LIST-PROCESSING.

Hope it helps.

Read only

abdul_hakim
Active Contributor
0 Likes
592

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

Read only

0 Likes
592

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

Read only

0 Likes
592

Avioop

Use

SET SCREEN 0.

LEAVE TO SCREEN 0.

Thanks

Kam

Read only

amit_khare
Active Contributor
0 Likes
592

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