A Number range is a Group of numbers to which the unique-Id created for an SAP Object belongs. In each module we have masterdata having SAP objects such as Equipment, Notification, Order, Measuring Point, Maintenance Plans etc in PM, Material number, Material Document, Purchase Requisition, Purchase Order in MM, Sales Order, Sold-to-party etc in SD, Production Order in PP, Inspection lots in QM and the list is long. This document is intended to give basic concepts of Number Ranges we need to create during the Configuration of various modules in the implementation time and after. In this document we try to understand these things through a Plant Maintenance object, namely Equipment.
Before starting our job related to Equipment, let’s understand few generic things about Number Ranges.
Types of Number Ranges
There are 2 categories of number ranges:
Internal numbers: These are purely numbers. System generates the number (within the range you’ve specified) next to the immediate previous allotted number.
External numbers: This is where the person creating the SAP object (e.g., Equipment) is required to enter his choice of number. This will be as per the alpha-numeric pattern he has already declared while creating the number range.
There are configuration paths in each module for respective objects to Define respective number ranges. Also many objects have Tcodes. Here we see the Tcodes for Defining number ranges in PM module.
|OIL0, OIL4, OIL5|
Let’s first see the Internal Number Range
We know that there are different categories for each SAP object.
|Maintenance Order||Order Type|
|Measuring Point||Measuring Point Category|
In the number ranges configuration-screen you get these Categories, where you need to assign this category/type to a particular number range group. Where from these Groups come? These Groups are nothing but the Number ranges we need to create. One Number range group for one or more Categories of SAP Object, (i.e., Equipment in present case). See this picture:
Here Groups are Test, Standard Number range, Mechanical Equipment, Electrical Equipment, Instrumentation. Under each group different categories of Equipments are seen.
Now let’s start how to create a new internal number range for an Equipment and assign few categories to it .
Click on the Groups icon. to arrive at the picture referred in the beginning. Here you use the menu GoTo --> Insert OR
hit F6 function key to get this pop-up.
Now, Give a title to the Group (Say Demo), give some number range say 000000000010000000 to 000000000019999999 to the Group and upon clicking the Add icon, system might give you the following error messages, telling that this range is interfering with some other Group already existing. i.e., some overlap between.
(In case no such overlap is there, then the Group will be created)
Assuming that overlapping is there, identify the overlapping Group, tick-in the checkbox and go to the maintain screen like below .
See here upper range 000000000019999999 has been modified as 000000000014999999.
Means we have freed numbers from 000000000015000000 to 000000000019999999. Now again GoTo --> Insert and repeat the New Group (Demo) creation. Now it will be accepted.
Thus,we have created a Group named Demo. See this is visible in the list of Groups.
Now we will try to assign one Equipment category to our new Group.Let’s suppose, we want to shift Category G Equipments to this new Number Range. For this follow this procedure.
1.Mouse click on the Category G in the present position where it is .
2.Tick the check box of the target Group, here it is Demo like this
3. Then click on these icons in these sequence (first 1 and then 2)
Now your Category G is there in the Group Demo.
Everything has been done. Now the Category G Equipments when created through IE01 will be given the numbers specified here.
Let's learn about Few clicking sequences for Assigning and Not Assigning the Categories to Groups.
Case1: Unassigning a Category from any Group.
Let’s suppose I want to unassign Category H . Means I want to bring it to the Not assigned list at the bottom. Follow this mouse click sequence.
1.Click on letter H (Remember the checkbox of this Group should not be ticked-in)
3. Then on Not Assigned at the bottom
You’ll find the letter H is in the Not Assigned list like this.
Case2: Assigning a Category from 'Not Assigned' to any Group.
Let’s suppose we want to assign Category T to Group Demo .
Follow this Mouse click sequence shown here.
1.Click on the letter T in the Not Assigned list
3.Then Tick the Checkbox of group Demo
You’ll find the Category T has been assigned to group Demo.
Now let see the External number Range.
The process is almost same except for you’ll be providing Character format for number range. A typical External number range format can be AAAAAAAAAAAA – ZZZZZZZZZZZZ. Here even you use numbers they are treated as characters. In case you need have Alpha Numeric then you can have ranges like 01AAAAAAAAAA – 99ZZZZZZZZZZ. Here first 2 places will be having numeric features. You can make use of characters like / also.
For alphanumeric external number ranges in Equipments you need to have the following setting in the SPRO of Equipment Categorisation.
See, for Alpha numeric number Ranges the Checkbox under column a should not be ticked-in.
Though concepts were explained with Equipment number as example, there is an identical dealing with all other number ranges, irrespective of which module does it belong to.
Also few members might be thinking of Tcode SNRO. Well, that is a different subject. SNRO creates a Number Range which can be used in fields like Order Text, Notification text etc. through a FM known as 'NUMBER_GET_NEXT' , during the situations of auto-numer generating.
So friends, that’s about the Number Ranges from my side. Hope members find this post too useful.