
Purpose
Local buffers are created in the table NRIVSHADOW or NRIV_LOKAL for number range objects that are buffered in parallel or locally. This report can be used to clean up these local buffers.
A reorganization can become necessary for various reasons:
- Changes were made to the buffering type
- Intervals were overwritten by a transport
- Manual changes were made to the number range status in transaction SNRO
- The table has too many entries and needs to be reorganized.

In reorganizations, the used buffers are deleted from the table NRIVSHADOW or NRIV_LOKAL and unused buffers are moved from the table NRIVSHADOW to the documentation tables NRIV_DOCU or from the table NRIV_LOKAL to NRIV_RESTE. The non-assigned numbers can be documented using the program RSSNR0S1.
Input
Technical Settings
- All buffers (test)
- All buffers are selected and displayed in a list.
- All buffers (production)
- All buffers are selected and reorganized. The reorganized buffers are then displayed in a list.
- Used buffers (only possible for parallel buffers)
- All buffers that have no free numbers are deleted.
Selection
One or more number range objects can be reorganized. They can be restricted according to the following:
- Subobject
- Interval number
- To year
- Instance
- Work process number
A checkbox can be selected to specify whether parallel buffers (table NRIVSHADOW) and/or local buffers (table NRIV_LOCAL) are reorganized.
Output
Each row in the output table describes a local buffer.
- Instance and WP ID:
- Instance and work process on which the buffer was created.
- Object:
- Number range object
- Subobject:
- Subobject for which the buffer was created.
- Number:
- Interval number
- Counter:
- Internal counter for the local buffer
- Reorganized On, At, and By:
- Specifies the date, time, and user of the reorganization. If the numbers in the buffer are still available, these columns are empty.
- Buffer from:
- First free number in the buffer. If Buffer from = Buffer to, the buffer contains precisely one number and this number is not assigned.
- Buffer to:
- Last number in the buffer
- Reason:
- Indicates whether the numbers in the buffer can still be assigned (space) or not (‘Rollback’ or ‘Reorganize Intervals’). If the content of the ‘Reason’ column is space and Buffer from = Buffer to, this number is no longer assigned if ‘Buffer’ = ‘I’.
- If ‘Buffer’ = ‘P’, the number can be reassigned again.
- ‘Reorganize Intervals’ indicates that the local buffer was reorganized using the program NK_REORGANIZE (see SAP Note 1244898).
- Buffer:
- Indicates the buffering type used to create the local buffer (P = parallel buffering, I = Italian)
- Buffer created on/at, buffer created by:
- Contains the date and time when the buffer was created and the user who created the buffer. The fields were first appended to the tables NRIVSHADOW and NRIV_DOCU for parallel buffering using SAP Note 2530392.
- If the content of these fields is initial, the buffers were created before these table fields existed or they were created using local buffering.
For more information, see SAP Notes 1244898 and 1030400.



