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: 

Regarding mm01 enhancement

Former Member
0 Kudos
202

Hi friends,

when we save the mm01 , I want to run my program automatically , canu plz give me the suitable user exit, or badi,

i need the same in mm02 Also.

name its very urgent.

Thanks in Advance,

Venkat

Edited by: venkat reddy on May 7, 2008 6:50 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos
128

Hi,

You may use exit EXIT_SAPLMGMU_001of enhancement MGA00001 which is triggered after user presses the 'SAVE" button.

I hope this helps,

Regards

Raju Chitale

6 REPLIES 6

Former Member
0 Kudos
129

Hi,

You may use exit EXIT_SAPLMGMU_001of enhancement MGA00001 which is triggered after user presses the 'SAVE" button.

I hope this helps,

Regards

Raju Chitale

0 Kudos
128

Thanks Raju

0 Kudos
128

Hi,

Check the two BADIs BADI_MATERIAL_REF and BADI_MATERIAL_CHECK.

Regards

Kiran

0 Kudos
128

Hello Raju,

in cmod --> Enhancement assign

it won't recognize MGA00001 as enhancement.

It is displayed in red and I cannot aktivate the components button.

could there be the problem because somebody else used MGA00001 in another project in cmod. This is displayed when I try to reach the components menu?

Can MGA00001 only be used in one project?

Edited by: Daniel Gerne on May 28, 2008 12:49 PM

0 Kudos
128

Hi Daniel,

In General, While performing these customer extis you should find whether it is used by any other project or not.

But, in BADI's we can go with multiple implementations but that is not possible in customer enhancements.

The Exit what you have mentioned is corret.

MGA00001

You are saying that it is used by other one. So When u create a project in CMOD then give short description and then you save the data and click on Enhancement Assignments. There you will get that and u can use it.

If it is used by any other project it shows a status message saying that it is already used by this project.

So you should deactivate that project and create another project by using that exit.

You can write your code in the function module exit.

i.e., EXIT_SAPLMGMU_001. By double clicking on that you will be getting an include. So inorder to check whether that particular exit is trigerring or not you keep break point in that include and then u create material in mm01. Whwn u click on save then it gets triggers.

When you keeep break point it is better to keep break username because it only triggers for you only.

Reward all useful answers.

Thanks,

Swamy Kunche

Former Member
0 Kudos
128

Hi Reddy,

I

It Is very EASY Procees.

Just Go To SE84

Give The Program Name Or Package name In Which ME41 is present.

Then Click On Display.

Then Click On Enhancements.

Then U will Get USer Exits Aswell As BADI 's

IF Found helpful Reward.

Regards

Eshwar