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

Material Master User Exit?

Former Member
0 Likes
543

Hi.

I am using a material master User-Exit 'MGA00001' for my enhancement.

I want to use the Plant field that the user enters in the transaction MM01 while creating a new material.

If we see in the FM 'EXIT_SAPLMGMU_001', then there is an importing parameter WMARA structure MARA which will be populated .

And this is the only structure that is populated .

Unfotunately this structure has no WERKS(Plant) field.

So, I want to know that runtime variable which contains the plant value enetred by the user while creating a new material.

Thank You

1 REPLY 1
Read only

Former Member
0 Likes
407

Hi,

The plant and all the plant dependent data for a material will be in importing parameter WMARC. If this table is not being populated is becouse you are creating only the basic material views, otherwise, that table should contain data.

Regards,

Jose