Administration of the Number Range Buffer
Use
Transaction SM56 ( Number Range Buffer) is used for the administration of the number range buffer.
You can make other settings in the profile parameters.
Prerequisites
In number range object maintenance (transaction SNRO) you activated buffering in the main memory for a number range object by creating a number range object or selecting an existing one on the initial screen of SNRO and then choosing No. Range Object: Change ( ).
More information: Maintaining a Number Range Object
Features
When you call transaction SM56, you can see the statistics for the number range buffer.
Statistics
The top screen area contains general information about the statistics.
|
Information |
Meaning |
|---|---|
|
Max. No. of Entries |
Maximum number of entries in the buffer (see the nobuf/max_no_buffer_entries profile parameter) |
|
Current No. of Entries |
Current number of entries in the buffer |
|
Max. No. of Indexes |
Size of an internal administration structure. Normally you can see three times as many entries here than in the actual buffer. |
|
Current No. of Indexes |
Number of entries in the internal administration structure. |
|
Size |
Memory requirement of the buffer in bytes |
|
Buffer Calls |
Number of calls made to the buffer. (There are other functions too, which are not counted. These are also used by the NUMBER_GET_NEXT function group). |
|
Get Calls |
Number of calls that are counted |
|
Server Calls |
Number of calls made to the number range server |
|
Database Calls |
There are also database calls that are not made within the context of the number range server. These calls are included in the count here. |
|
Conflicts |
SAP internal value for error analysis |
|
Timeouts |
If a process wants to assign a number and has to wait because another process is blocking the lock of the buffer or interval, it waits for a specified length of time ( nobuf/max_attempts in seconds). Once this time has elapsed, an error is notified to NUMBER_GET_NEXT. The process then tries to assign a number directly from the database. This value shows how often this timeout has occurred. |
In Buffer Times and Server Times, you can see the distribution of times for calls made to the number range buffer and to the number range server. Using both distributions you can work out how much time is saved by using the number range buffer.
Display Buffer Entries
To display the entries in the number range buffer, choose . You can limit the selection in the dialog box that now appears.
You can then see the details of each interval in the buffer. On the left-hand side, you can see administration data for the entries (client, number range object, subobject, interval number (range), year, and whether the interval is external).
On the right-hand side are the following details:
-
From Number, To Number: Number range for the interval
-
Current Number: Current state of the interval in the buffer (this is not the state of the interval in the database)
-
Critical Number: Number after which the application is warned by NUMBER_GET_NEXT that the numbers will shortly run out
-
Buffer to No.: Number up to which numbers can be assigned from the buffer. Once this number has been reached, the number range server must fetch new numbers from the database and put them in the buffer.
More information: How the Number Range Buffer Works
Reset Buffer
To delete entries from the buffer, choose . This happens automatically when an interval is changed or deleted in transaction SNR0 (or in application-specific number range maintenance). This mechanism prevents any incorrect numbers still in the buffer from being assigned. You can also perform this action manually from the above menu path. A dialog box appears where you can specify which records you want to reset. If you select the Global Reset indicator, the buffer entries on all application servers are deleted. If the indicator is not selected, only the buffer entries on the current application server are deleted.
Check Buffer
This function is used by SAP Support to facilitate the analysis of any problems that may occur in the number range buffer.

