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 transaction MMBE from another program and press Back button

Former Member
0 Kudos
446

Hello,

I have program that is used as a 'launch pad' for some of our heavily used transactions. When I call the main 'launch pad' program, the user will select a button and a Call Transaction MMBE is initiated (USING the first screen). The user selects a material for display and presses the execute button (F8). The material overview is displayed correctly. When the user presses the Back button (F12), transaction returns all the way back to the first called program and not to the first screen for transaction MMBE as expected.

Does anyone know how I can change the screen flow and go back to the fist screen of MMBE and not the screen of the first called program?

Regards,

RC

4 REPLIES 4

Former Member
0 Kudos
129

Record the t-code MMBE in such a way that your last step would be to come back to initial screen. Paste this code into your launch pad program and modify accordingly.

Thanks,

SKJ

0 Kudos
129

Not sure I understand your answer. I am just doing a call transaction, not a BDC. How do I control the screen to return to a specific screen without changing standard SAP code?

Former Member
0 Kudos
129

Rod,

Try to use LEAVE TO statement in your code.

Regards,

Amey

Former Member
0 Kudos
129

Rod,

In your case i think it is not possible as it is standard functionality by SAP.

Try work around, may be modification to the program will work.

Regards,

Amey