‎2009 Aug 05 2:42 PM
Hi,
I am calling screen '2000' in report program to display OOPS ALV. I have created 'BACK' function key on screen '2000' to return to selection-screen of ALV by statement 'CALL SCREEN 1000' 'which i s working fine but after reaching at selection screen of report program, am not able to control the flow. I checked in debugging, the control is going to PAI of screen of '2000', when i do any operation on displayed selection screen.
Please suggest how to identify user command as sy-ucomm value as blank when i do any processing on selection screen.
Thanks in advance.
‎2009 Aug 05 2:47 PM
HI,
Do not write 'CALL SCREEN 1000' on the BACK command.
Instead write 'LEAVE TO SCREEN 0'.
SAP will take care of the screen sequence automatically.
Regards,
Ankur Parab
‎2009 Aug 05 2:47 PM
HI,
Do not write 'CALL SCREEN 1000' on the BACK command.
Instead write 'LEAVE TO SCREEN 0'.
SAP will take care of the screen sequence automatically.
Regards,
Ankur Parab
‎2009 Aug 05 2:51 PM
I didn't got your question completely. But I notice the use of CALL SCREEN to call selection screen.
You should use CALL SELECTION-SCREEN 1000. statement instead of CALL SCREEN .
quote from sap help
The statement CALL SCREEN is not to be used to call selection screens, as otherwise the proper execution of the selection screen processing cannot be guaranteed.
Edited by: Pawan Kesari on Aug 5, 2009 7:21 PM