Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MIR7: Document number gaps when delete parked invoice

Dear All,

When I use T-code MIR7 to park PO invoice,system can take up one document number, if I delete the parked invoice,then document number gaps.

I use SNRO to switch off  the buffering ,the object is "re_beleg",but it doesn't work.

An external number  assignment isn't setted for our document number.

who can tell me how to fixed this?

Former Member

The note fixed an error where gaps got created when the initial number was assigned, the note does not fix any problem for gaps that arise because of deletion. And there is no note that can bring your old number back.

If you want that, then you have do some programming, e.g. by writing the number into a Z-table when the document gets deleted, along with a logic to take the number from the Z-table before the number from the standard number range is taken. 

If that can really fulfill the legal requirement? Okay you have no gaps, but you have not created the documents in sequence.

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question