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: 

MM01 - Matnr should be prefix with Charecteristics

venkateswaran_k
Active Contributor
0 Kudos

Dear All

One of my client requiremetn is to prefix the Material Code (MATNR) with the respective charecteristics they entered in MM01 in Classificatio tab.

I worked on it and found that in the Include program LMGMMI05  I can do the enhancement by prefixing the material code.  But the  challenge is that i am not getting the Charecteristics they entered for that material code. 

I am not able to get the values. 

Can some one please guide me on which internal table/variable those value is stored so that I can read and prefix them in matnr value.

Regards,

Venkat

5 REPLIES 5

Former Member
0 Kudos

Is this include from enhancement MGA00002 ?

check these links:

http://help.sap.com/saphelp_wp/helpdata/en/f9/8268985c5b11d396a400a0c930e0da/content.htm

http://scn.sap.com/thread/1297290

Set a breakpoint in your code and check the tab Globals in the debugger to find where the Characteristics is stored (if avaiable);

Or try to use a field symbol to assign the value entered in MM01.

0 Kudos

Dear Felipe

I tried with all user exits  MGA00001, MGA00002, MGA00003.

In the include i set a Breakpoint and see

I tried with MM01 

The Breakpoint is not at all trapped.

Can you / someone help me where I am missing...

I need to capture the Classification detail they entered and prefix them to my automatic number generated. 

Thanks in Advance...

Regards,

Venkat

0 Kudos

Hi,

I activated the enhancement MGA00002 and break-point was reached but the material number is generated based on Industry Sector and Material type before you input any data there, is it possible to link the data that will be input in Classification tab with Ind sector and mat. type? then you could code your logic in EXIT_SAPLMG02_001.

venkateswaran_k
Active Contributor
0 Kudos

Dear All

Is there any further options please.. 

Regards,

Venkat

venkateswaran_k
Active Contributor
0 Kudos

Dear All,

I further investigated and assume MGA00002 exit can be useful, but not sure.  kindly give me some light as

1. At this exit include,

    how to get the values of Characteristics I entered in Classification tab

Regards,

Venkat