Symptom
It was observed that some Purchase Orders numbers or Shopping Cart entries for the selected number range were missing. For audit purposes, it would be preferable to have no gaps in the numbering of Purchase Orders or Shopping Carts.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the work center Purchase Requests and Orders.
- Go to the view Purchase Orders/ Purchase Requests.
- Select Show and All Documents.
- Sort by Purchase Order ID/ Purchase Request ID.
- You can notice some gaps from one Purchase Order / Purchase Request to the next one.
or
- Go to Home work center.
- Go to Self Service view.
- Click on Track my Shopping Carts.
- Choose Shopping Cart open, Shopping Carts-open for confirmation and Shopping Carts-completed, each one at a time and then.
- Search for respective Shopping Cart.
- No records found.
or
Open Shopping Carts report where you notice some gaps from one Shopping Cart ID to the next one.
Cause
If a Purchase Order is missing from the system, it indicates that the order was likely deleted while it was in the "In Preparation" status, as deletion is only possible at this status.
When a new document is created, the number ID will typically increment by one from the last number ID. However, if a document has been deleted, the system will reuse that ID before moving on to the next sequential ID.
Resolution
There is no gap control for Purchase Orders, so we do not guarantee sequential numbering or no gap numbering. However, the number generation for Purchase Order permits the usage of buffers to avoid wastage of numbers. Therefore any Purchase Order is deleted, this order ID can be used up in future for any new document. This also avoids that documents have duplicate numbering.
This configuration is applicable for Shopping Cart and Purchase Request document as well.
See Also
Keywords
Purchase Order Numbering, Number Range, Gaps in number range, deleted Purchase order, shopping cart Numbering, deleted shopping cart, missing Purchase order , skip of Purchase order ID, missing shopping cart, skip of shopping cart ID, sequence of purchase order ID is missing, sequence of shopping cart ID is missing, purchase order number range, missing purchase order, gap , KBA , AP-POP-PO , Purchase Order , AP-REQ-IR , Internal Request , AP-PRP , Purchase Request Processing , How To
SAP Knowledge Base Article - Public