cancel
Showing results for 
Search instead for 
Did you mean: 

Number Assignment to Material Master Record without Saving

kathrine_dave
Participant
0 Kudos

Experts,

When go to create Material Master Recrod using MM01 and exit from creation screen without saving the recors SAP assigns the new number from the the number range. Even the record is not saved in the system but the number can not be assigned to any other material record.

For intance I have a material type Raw Material which is assigned a number range 1200000000. I have created a record and system assinged the number 1200000001 from the series. Now If I go to creation screen again and exit that creation without saving system still assigns the code 1200000002 to that unsaved record. When I go to create another record after that the next number 120000003 is assigned to it.

Can anybody have the solution to this problem?

Accepted Solutions (0)

Answers (3)

Answers (3)

mauro_bianchi
Active Contributor
0 Kudos

Hi,

The System behaviour which you are reporting is correct and is accepted as of release 4.x for internal numbering.

Since Rel.40A the System fetches the next internal number from number range at start of transaction MM01. It is not possible to use the same number twice, also after you have cancelled the transaction.

The advantage of this enhancement is that the material number is now visible when you maintain the master record, exits are usable before update process.

A numbering strictly without gaps for material masters is not possible, and we find not necessary anyway.

See also the Release notes as at 40A: >Logistics basic data >material master >Industry: Internal Number Assignment Before Material Maintenance

Setting 'no buffering' will not prevent lost of Mtl.no. Buffering is a feature that enhances the response time of the system as no database access is required for every posting.

Kind Regards,

Mauro

kathrine_dave
Participant
0 Kudos

Thanks Ravi and Mauro.. your answers are very knowledgable.

ravindra_mantri2
Active Participant
0 Kudos

Hi,

When you start creating Material master record, SAP internally assigns a number to that record so that if someone else is creating material master on some other system, then there should not be overlapping.

Hence when you exist material master creation without saving, system uses next number for new record.

If you want to make sure that number allocated to material master is in correct sequence, then use t-code SNUM and select appropriate number range object for material master and then modify settings accordingly.

Hope this resolves your problem.

Thanks,

Ravi

JL23
Active Contributor
0 Kudos

that is the SAP design, unfortunatly different to customer and vendor master.

If you dont like it, then you have to use the userexits to program an own logic.