Symptom
Production order/process order numbers are generated in a non-sequential manner.
For instance, when creating new production orders, the assigned order numbers are not always sequential and there are gaps in the number range.
The symptom can also be that the system appears to reuse or assign numbers backwards within the same number interval.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create new production orders or process orders.
- The numbers are in a non-sequential manner.
Cause
This is standard system behavior. The gaps observed between the production order numbers are a result of buffering in the number range. This buffering process enhances the system's performance by eliminating the need for the system to access the number range table for every posting.
Resolution
The number range object is buffered in the standard system. When requiring a new order number, the system doesn't reserve just one number on the database server, but a number corresponding to the buffer size, which is 20 by default. The following numbers are then determined from the buffer of the application server without needing to access the database. Only when this buffer is completely used, does the system use a new set of order numbers from the database.
Normally this should not cause any issue from business perspective.
If however, there is specific requirement to have the numbers in a sequential manner, submit a feature request in SAP Customer Influence Portal with detailed business requirement, refer to note 2963059 - How to Submit Feature Requests for SAP S/4 HANA Cloud Product
See Also
Keywords
SAP S/4HANA Cloud Public Edition, Production Order Number, Non-sequential, AUFTRAG number range, Buffering, Number range table NRIV, Performance, COOIS report. process order, gap, skip , KBA , PP-SFC-EXE-2CL , Order Execution (Public Cloud) , PP-SFC-2CL , Production Orders (Public Cloud) , Problem
SAP Knowledge Base Article - Public