‎2008 Oct 27 9:07 PM
Hello world !
I would like to create a basic report but i want multiple selection-screen.
But i have a problem.
For example i create 2 selection-screen :
SELECTION-SCREEN BEGIN OF SCREEN 100
select-option .....
SELECTION-SCREEN END OF SCREEN 100
SELECTION-SCREEN BEGIN OF SCREEN 200
select-option .....
SELECTION-SCREEN END OF SCREEN 200
I call selection-screen on INITIALIZATION with :
CALL SELECTION-SCREEN 100 (OR 200 according case)
I execute program and my selection-screen 100 appears BUT when i click BACK, EXIT or QUIT button on statusbar, i go to the START OF SELECTION !!! I don't want, i want QUIT program's !
WHY and Have you a solution for me ?!
Thank, Tony
‎2008 Oct 28 1:36 AM
I guess you have to set the function for the buttons.
To quit, you can give the function
case sy-ucomm.
when 'exit'.
leave program.
‎2008 Oct 28 8:18 AM
Sorry, i have a solution :
Help SELECTION-SCREEN :
sy-subrc :
0 The user selected the function Execute or Execute + Print on the selection screen.
4 The user selected exit or Cancel on the selection screen Back
Thank, best regards
Edited by: LECHEVIN Tony on Oct 28, 2008 9:28 AM