Professional Documents
Culture Documents
Number Range
Purpose
The purpose of this page is to clarify the understanding of the system logic of the Number Range in Accounting Documents
Overview
The number range is responsible for generate the document number (BELNR) and is defined by document type. It can be
year depended or as well as buffered or no.
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 1/6
22/7/2020 Number Range In Financial Accounting - ERP Financials - Community Wiki
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 2/6
22/7/2020 Number Range In Financial Accounting - ERP Financials - Community Wiki
Please note that the same Number Range (51 in this example) can be used for more than one document type. This depends
of the business requirement.
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 3/6
22/7/2020 Number Range In Financial Accounting - ERP Financials - Community Wiki
The above screen informs that the actual document number for number range 01 in 2013 for company code 1000 is
5100000151. This values refers to field BELNR in FI tables (BKPF, BSEG, BSIS, BSIK, BSID …).
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 4/6
22/7/2020 Number Range In Financial Accounting - ERP Financials - Community Wiki
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 5/6
22/7/2020 Number Range In Financial Accounting - ERP Financials - Community Wiki
NRIV table stored the number range intervals. The document number is assigned in chronologically ascending order based
on the table NRIV. For this, the table NRIV is locked until the COMMIT WORK or ROLLBACK is done. This lock guarantees
a chronologically ascending assignment of the document number without gaps.
After a COMMIT WORK and the document number is assigned permanently. In the case of a rollback, the document number
that was just used is not assigned and is available for the next posting in NRIV again.
But the NRIV lock could cause performance problems (SAP Note 678501). The performance problem occurs specially in the
case of parallel batch processes. Buffering was creating as a solution for this scenario.
There are two solutions for this:
No parallel processing
Buffering of the number range object RF_BELEG
Related Documents
Document Types and Number Range Objects in New GL
No labels
https://wiki.scn.sap.com/wiki/display/ERPFI/Number+Range+In+Financial+Accounting 6/6