Skip to Content
0
Aug 25, 2023 at 07:13 AM

cl_gui_container=>screen0 and SELECTION-SCREEN: FUNCTION KEY 1

41 Views Last edit Aug 25, 2023 at 07:23 AM 2 rev

Hello.

I have a report where I have a normal selection-screen plus a SELECTION-SCREEN: FUNCTION KEY 1 to display another button.

If user uses this extra button a screen 100 it's called where I have an ALV.
This ALV is using CL_GUI_CONTAINER=>SCREEN0 as parent to display it in fullscreen.


Well, if I hit BACK in this screen 100 I put a LEAVE TO SCREEN 0 but its not returning to the selection screen, instead its returning to the same screen 100 but with the status of the selection-screen, and if I use BACK again then is leaving the program.

I've tried changing the "Next Screen" to blank or 1000 but is not working.

If I change the CL_GUI_CONTAINER=>SCREEN0 with a normal cl_gui_custom_container then all is working fine.

Do you know what can be the problem?

THanks