07-01-2012 6:04 PM
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
07-01-2012 6:23 PM
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.
07-05-2012 10:54 AM
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
07-05-2012 1:57 PM
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.
07-02-2012 12:43 PM
07-05-2012 9:38 AM
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