SAP Knowledge Base Article - Public

3144180 - Nonconsecutive numbering of sales order documents

Symptom

  • Number range gaps can be found within sales order document numbering.
  • Sales orders are missing from our system.

Environment

  • Sales and Distribution (SD)
  • SAP S/4HANA Cloud All versions 

Cause

The numbering assignment for sales documents is controlled by the number range object RV_BELEG. This number range object uses parallel buffering with a buffer size of 1. In case of internal number assignment, the numbers are assigned in ascending order. This ordering has no gaps unless a ROLLBACK occurs during the save processing of a newly created sales document, after the document number has already been assigned. In this case the sales order is never really saved but the chronological order numbering is still interrupted. 

Resolution

  1. Check the error logs on the system.
  2. If the rollback occurs during the update task, the document numbers are lost forever. Otherwise, the numbers in question will be assigned at a later time. This is the standard system behavior.
  3. If further confirmation is required, please raise an customer case with SAP.

Keywords

GAP, Skip, skipping, missed, lost, removed, archived, not found, F1873, Manage Sales Orders, VA03, VA02, VA01, termination, shortdump, ST22, SAP_BR_INTERNAL_SALES_REP, API, F3893, SALESDOCUMENT, VBELN , KBA , SD-SLS-SO , Sales Orders , How To

Product

SAP S/4HANA Cloud all versions