‎2009 Nov 30 9:00 AM
Hi,
I want to assign internal number range for materials being created in MM01. For this I am using MGA00002 & EXIT_SAPLMG02_001 component.
With this I am able to create materials as per the logic I have written in the user exit.
When ever I extend the code to other plant, then also this user exit is triggered & a new number is being assigned from this user exit. How to over come this problem? Like my requirement is if material is same & being used across plants then item code must be same across the plants.
Please help me in resolving this problem.
‎2009 Nov 30 9:09 AM
hi,
Try this,
place your logic inside condition where you check if the material is created (new entry) in your userexit.
IF t180-trtyp EQ 'H'. -
Add New record
Your logic
ENDIF.
Hope this helps you
regards
padma
‎2009 Nov 30 9:09 AM
hi,
Try this,
place your logic inside condition where you check if the material is created (new entry) in your userexit.
IF t180-trtyp EQ 'H'. -
Add New record
Your logic
ENDIF.
Hope this helps you
regards
padma