Question:
Hello ABAP-Experts from all over the world!
Iīm facing following problem with "call selection-screen". My report programm goes to selection screen 1000 at first and then depending on userīs selection it goes to customer selection-screens.
When the user enters parameter into the customer selection screen, the programm runs and shows a list. Fine.
But when the user wants to go back to selection screen 1000 from the customer selection screen, what should I do?
I tried with following method, but it does not work.
START-OF-SELECTION.
IF p_kostl = 'X'.
CALL SELECTION-SCREEN 500.
IF sy-subrc = 4.
leave to screen 1000.
endif.
elseif.....
Thanks a lot for your help.
Best regards,
Japanese in Munich
Answer:
But when the user wants to go back to selection screen 1000 from the customer selection screen, what should I do?
if you want the user to hit a button, work the gui status, assign a code and code a user-command module with
case sy-ucomm
when 'back'
LEAVE TO SCREEN 0100.
when 'exit'
LEAVE TO SCREEN 0.
endcase
or something similar
_________________
5 hour left in there!
is 'beer on a terrace while studying' worth the 'exams at 30c'?? Hell yeah!