Beruflich Dokumente
Kultur Dokumente
Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner
About
About
Home / Community / Blogs + Actions
Lakshmana Srini
more by this author
ABAP Development
buffer | buffernumberrange | nriv | number | numberrange | rz20 | snro
share
0 share
0 tweet share
0
Follow
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 1/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
I have prepared some list of points where we should keep an eye in particular
in Production Systems.
Function Modules
Buffering Problem
Here you can observe Main Memory buffering enabled for Material Number
Range Object and Number of numbers in buffer as 10.This means that if
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 2/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
you’re calling the number range object for the first time the starting number will
be picked up(Say Material Number Range starting from 1000 to 2000).
This could give a better performance but will lead to problems if someone
erase the memory buffer Clearing memory buffer can be done using SM56
and one should be able to understand about the consequences of this activity.
This often leads to skipping of number ranges and we could end up with
documents which are no longer in sequence
If the number range reaches the upper limit and if it’s not changed before the
next document gets created, system will raise an exception which would lead
to SM13 update failure and subsequently ST22 dump like below. If we are
performing the transaction on a foreground then system will be able to issue a
warning when the number range utilization reaches the warning percentage.
Now Let’s Say the documents are created through a Batch Job, unless we
monitor the system /incorporate auto alert mechanism to notify about this
failure, we will not be aware of this issue.If it occurs in Production system and
If we don’t take the necessary action it could lead to bad consequences and
effects enterprise business as well
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 3/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Interval Rolling
This feature given by SAP can be seen below as check box and this
Functionality comes into picture when Number Range is completely
exhausted. So, In continuation with the previous sub topic of number range
utilization, Upon reaching the upper limit we can decide whether the document
numbering starts from the beginning again by not enabling the check box.
While this seems to be a pretty good option, care should be taken that
previous documents already created must be archived/deleted periodically
Otherwise we would encounter the same ST22 Duplicate Records error which
we discussed in the previous topic
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 4/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Generally we have restricted number limit for spools and if it gets used up we
will be getting SPOOL_INTERAL_ERROR occurs and system will no longer be able to
generate the spool.
The Spool number range should be changed only in golden client “000” and the changes
We need to change the SPO_NUM number range , set the upper limit to 99,999
and its good practice to delete the spools regularly so the system uses the
number range from the beginning again once it reaches the upper limit
The spool retention period by default is 8 days and spools can be deleted by using
RSPO1041 which can be scheduled as a background job using SM37. Below link from
http://help.sap.com/saphelp_nw74/helpdata/en/4e/a0576140a97118e10000000a42189e/co
ntent.htm
Standard SAP transaction which can be used to check the spool utilization is RZ20
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 5/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
You can follow the below path RZ20 àSAP CCMS Monitor templatesàSpool system
You can observe the percentage utilization and color legend showing as green which
implies that “All is Well”
A. SandboxàDevelopmentàQualityàProduction
While Sandbox and Development systems are purely used for implementation
of Repository objects and Unit testing from a developer perspective, Quality
system is used for Business User Acceptance testing
The Data in quality system gets refreshed from that of production often but not
on a daily basis. In Production Business transactions happen every day and in
huge numbers and therefore the data is out-of-sync with a quality system.
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 6/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Even though we maintain the same number ranges across the two systems
Initially ,the current number used will not always be the same .
A. This can be accessed using the next screen of SNRO (i.e. once you
press the display button on initial screen) .Then follow the menu path
GotoàNumber Ranges
From the change documents screen you’ll get to know the user , timestamp,
old value and new value etc.,. This is the beauty of change documents in SAP
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 7/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Alert Moderator
6 Comments
You must be Logged on to comment or reply to a post.
Best Regards,
Lakshman
Rushaa D
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 8/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Hello,
I wanted to know if I change Number range for a material, will it have any
consequences? And if any, what are they?
Regards,
Rushaa
Manjunath Basappa
Hello
Warm Regards
Manjunath
Rushi Moreshwar
Hi
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 9/10
1/29/2018 Number Ranges-Things to Keep in Mind | SAP Blogs
Shailesh Rajan
Hi Lakshman,
Very useful blog, wanted to check with you the approach to take if the number range for
AENDBELEG is as below, and can expire soon, what options are available if archiving is
ruled out.
Regards
Shailesh
https://blogs.sap.com/2015/05/29/number-ranges-things-to-keep-in-mind/ 10/10