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

Problem in Module Pool Program

Former Member
0 Likes
355

Hi,

I'm facing some problem with module pool program. Actually one menu exit is added. One option added in System menu for user details. and it'll be active for all transactions/screens. In any screen, when user click on the user details option, one module pool program should be called. here two buttons are there, one show details and exit. when user clicked on exit, control should go back to the screen, from where we called the user details screen. I have used, LEAVE PROGRAM and LEAVE SCREEN... but control is going to initail screen, not to the previous screen. can any one help me in this....

Thanks in Advance,

Siva Sankar.

2 REPLIES 2
Read only

Former Member
0 Likes
331

Hi,

if you´re working with 2 programs, you can call one of them with

SUBMIT xxxxx AND RETURN.

after doing the necessary operations in program 2, the control returns to program 1 and continues with the code after Submit.

Read only

Former Member
0 Likes
331

Hi,

The module pool program is called with the call transaction statement.

In the pai of of flow logic

case sy-ucomm.

when 'EXIT'.

leave to screen 0.

endcase.

I think this will help you.

regards,

kamala.