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.