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

For example mm01

Former Member
0 Likes
488

Hi all,

I have created a module pool program.

The user enters a material number and then he is directed to a screen that allows him to change the some properties of the material like text, meins many things like that.

When there is no such a material number that the user has typed, I redirect her to mm01 screen, by letting her to set some parameters via a screen in the program.

What I want is that when she is redirected to the mm01 screen, and when she clicks back button(or F3) of the mm01 trans, I want her to come back to my program.

Can I do this?

Thanks.

deniz.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
462

CALL TRANSACTION 'MM01'.

Use

LEAVE TO SCREEN 0.

Regards

Kannaiah

3 REPLIES 3
Read only

Former Member
0 Likes
463

CALL TRANSACTION 'MM01'.

Use

LEAVE TO SCREEN 0.

Regards

Kannaiah

Read only

GauthamV
Active Contributor
0 Likes
462

hi,

u can do that.

after selecting data for matnr from table,check with if matnr is present.

if material is not there then in that condition give call transaction MM01.also give when back call screen 'ur screen no'.

reward points if hlpful.

Read only

Former Member
0 Likes
462

Hi Deniz,

use the 'call transaction' , once you click the back button it will automatically come to your program.

if the material is change, call transaction mm02.

otherwise call transaction mm01.

once the changes finished it automatically come back to your program.

Refer the below link for call transaction.

[http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm]

Reward if found helpful.

Regards,

Boobalan Suburaj