Number ranges
Number ranges define the sequences of numbers assigned to documents and master data objects in SAP. They ensure every object gets a unique identifier and let you organise objects by type and year.
Number ranges can be year-dependent, restarting each fiscal year, which is common for financial documents.
- When you create a document (say a sales order) or a master record (say a material), SAP assigns it a number from a defined number…
- Internal: SAP assigns the next number automatically (most common).
- External: the user or an interface supplies the number (used when numbers must match another system).
- Watch out: Number ranges are assigned to document types and object types in configuration.
What number ranges do
When you create a document (say a sales order) or a master record (say a material), SAP assigns it a number from a defined number range. Number ranges guarantee uniqueness and can be structured to make numbers meaningful (for example, a distinct range per document type or per year).
Internal vs external assignment
- Internal: SAP assigns the next number automatically (most common).
- External: the user or an interface supplies the number (used when numbers must match another system).
Year-dependent ranges
Number ranges can be year-dependent, restarting each fiscal year, which is common for financial documents. This keeps numbering manageable and aligned to reporting periods.
Configuration and pitfalls
Number ranges are assigned to document types and object types in configuration. A frequent operational issue is a number range running out or not being extended for a new year, which blocks document creation until fixed.
Common pitfalls
- Number range exhausted or not extended for a new year, blocking postings.
- Wrong internal/external setting for the scenario.
- Overlapping ranges causing conflicts.