Skip to Content
Former Member
Nov 14, 2009 at 01:12 PM

Auto generation of MATNR based on some requirements


Dear MDM Experts,

We have got the following scenario in implementing CMDM:

when ever we create a new material, the user will fill only the global or required fields except the MATNR.

After the approval process, the material gets generated in MDM.

But before the material is being syndicated, the MATNR should be automatically assigned to the record based on the following conditions:

1. if the MTART is "ROH" the MATNR shoould be in the range 2000000000 - 2999999999

2. if the MTART is "HALB" the MATNR should be in the range 4000000000 - 4999999999 etc.

I have tried this scenario using the Key generation option in the console which assigns the values at the time of syndication but the key was not getting generated.

Kindly let me know the process to achieve it.

or is there any other way that i can do this.

Thanks and Regards,

Sravan Velamury.