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

Multiple selection-screen

Former Member
0 Likes
379

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

2 REPLIES 2
Read only

Former Member
0 Likes
348

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.

Read only

0 Likes
348

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