Documente Academic
Documente Profesional
Documente Cultură
This document is about MOTANID (but the recipe is reusable for other objects of course).
The problem is that the number of rows in the info object has grown so big that we’re about to run out of
SIDs. Well, the problem really is that those SIDs are based on a standard SAP Number Range defined in
NRIV – and that the maximum number is 2.000.000.000!
To solve this issue, we need to be able to delete some of the master data – and to do that we most likely
can’t just run a normal ‘Delete Master Data’ in the workbench (it simply is too big a task to do in one go).
A temporary table will be created holding a Where Used List in order to delete only those records that are
not being used anywhere (two tables actually, one with all keys we’re looking at in this run and one with
the keys that can’t be deleted – in this case all records could be deleted).
When we’re done (in 30 hours or so for MOTANID) there hopefully will be at least one big gap of unused
numbers in the Number Range. This can be investigated using program ZSAP_SIDVALDISTRIB
It shows how the number usage is distributed. Fortunately, in this case there are a lot of free space in one
gap at the very beginning (more than 1 bill. Free numbers).
We can now go into t-code SNRO to find the number range for MOTANID.
After the first run the picture is like this – we have started using the low numbers:
This is a good starting point to get to know more about SIDs and number ranges in case that is needed.
https://wiki.scn.sap.com/wiki/display/BI/Number+Ranges+for+Dimensions+and+SID+tables