07-15-2008 7:41 AM
Dear all,
i have created one Executable program, which call one module pool from selection screen of executable program.
when i click on back button from module pool ie screen 9000 then it works fine ie selection screen of screen 1000 appear.
After that when I click on any button of executable program ie back button then it calls screen 9000 of module pool instead of leave program.
Actually I want to leave the program from Executable program when click on back button.
plz Reply as soon as possible
Edited by: Anshuman Singh on Jul 15, 2008 8:42 AM
07-15-2008 7:44 AM
You can use
leave to screen 0.
exit.
Hope it works if not paste your code.
07-15-2008 7:46 AM
07-15-2008 7:47 AM
Hi,
Debugg the function befor its clear or not.
That should be clear before pressing exit.
07-15-2008 7:52 AM
Hi,
Try this..
In the PAI of the screen where u have ' BACK '
IF sy-ucomm = 'BACK'.
LEAVE PROGRAM.
ENDIF.
OR
IF sy-ucomm = 'BACK'.
LEAVE TO SCREEN 0 .
ENDIF.
Regards,
Sai