Application Development 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: 

Call screen Problem between executable program and module pool

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

You can use

leave to screen 0.

exit.

Hope it works if not paste your code.

Former Member
0 Kudos

hi,

Use LEAVE Program on the BACK BUTTOn.

Regards

Sumit Agarwal

Former Member
0 Kudos

Hi,

Debugg the function befor its clear or not.

That should be clear before pressing exit.

Former Member
0 Kudos

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