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

Call screen Problem between executable program and module pool

Former Member
0 Likes
920

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
Read only

Former Member
0 Likes
804

You can use

leave to screen 0.

exit.

Hope it works if not paste your code.

Read only

Former Member
0 Likes
804

hi,

Use LEAVE Program on the BACK BUTTOn.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
804

Hi,

Debugg the function befor its clear or not.

That should be clear before pressing exit.

Read only

Former Member
0 Likes
804

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