How to Define Custom Number Assignment for an OM Object?
How to Define Custom Number Assignment for an OM Object?
Clarification of the Question
You have created a new Organizational Management (OM) object and want to define a custom number range for it. Let me remind you that numbering can be set up in two ways: internal and external.
Internal numbering means that the system will automatically assign a number to the object from a predefined range during its creation (so-called sequential numbering).
External numbering means that the user manually assigns the number to the object.
For more detailed information, refer to the following SPRO path: IMG: Personnel Management -> Organizational Management -> Basic Settings -> Maintain Number Ranges

- Internal number assignment
If you want the SAP system to assign numbers, enter"IN"
in the ‘NR’ field. Number ranges will then be marked with the prefix “IN”. - External number assignment
If you want the user to assign numbers, enter"EX"
in the ‘NR’ field. Number ranges will then be marked with the prefix “EX”.
Solution
As an example, in this note we will use object type 91
.
Setting Up Internal Number Assignment
Run transaction OONR and create a record as shown:

Where 01
is the organizational plan variant being used, and 91
is the ID of your object.
See: Organizational Plan
Save your changes (the system will prompt you to create a transport request). Select the new record and click the button Number range maintenance
:

On the next screen, click the button Intervals
:

Specify the name of the number range and the range itself:

Save the changes.
To test, run transaction PP01 and create Infotype 1000 - "Object" for your object.
Setting Up External Number Assignment
The steps are exactly the same as described above, except that you activate the External Assignment checkbox and assign the appropriate identifier to the new interval.
