Symptom
- Handling unit (HU) numbers generated in the system are not sequential or are not incremented up by one.
- e.g. HU 001 is not always followed by HU 002 etc.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The issue is caused by the buffering process in SAP standard, which is active for most of the existing number range objects, including the HU numbers. When a work process first requests a number from a specific number range object, the system draws n-numbers (buffer value) for the process. Subsequent requests from the same work process are then served with numbers from this buffer until all are consumed. This process helps to avoid unwanted long locking issues and results in smooth working and better performance. However, it also leads to gaps in the existing numbers for the object, hence the numbers are not in sequence.
Resolution
For object HU_VEKP, the No. of Numbers in Buffer is 50 by default. The HU numbers therefore wouldn't be in sequence, that's normal in the HU processing in SAP S/4HANA Cloud Pubic Edition.
See Also
3391108 - Handling unit numbers are not in sequence
Keywords
SAP S/4HANA Cloud Public Edition, Outbound Delivery, Handling Unit, Serial Number, Sequence, Skip, Buffering, Number Range Object. , KBA , LO-HU-2CL , Handling Unit Management (Public Cloud) , Problem
SAP Knowledge Base Article - Public