ERProof - Blog about All Things SAP

Blog about all things SAP

ERProof » SAP PP (Production Planning) » SAP PP Training » SAP Number Ranges

SAP Number Ranges

' src=

In SAP, there are many objects defined for each module. As an example, if we take the production and planning module , plan orders and production orders are key objects. In Plant Maintenance , equipment , notifications , maintenance plans are some of the objects. If we take the Material Management module, material master, purchase orders are some of the key objects. From the sales side , sales orders and sold to party are some examples with number range object assignments. These objects are uniquely identified using a number.

This number is selected from an SAP number range . We define number ranges for each object and a unique number from this number range will be assigned for the object. When transactions are carried out in SAP for each of these objects, system allocates a number for the data.

Types of SAP Number Ranges

There are two types of number ranges :

  • Internal SAP number ranges – In internal number ranges, system selects the next available number from the number range allocated for the object automatically. For objects such as production orders, purchase orders we use these type of number ranges.
  • External SAP number ranges – When external number ranges are used, the person who is creating the object must enter the number. The number which is entered must be within the number range allocated for the object. System will popup a message if the number given is invalid. For objects such as equipment, material numbers, we use external number ranges usually. Deciding whether to use internal or external number range solely depends on the business requirements and the practicality of using it.

SAP Number Range Maintenance

We will use the production order number ranges as an example for the balance of the document. To create production order related number ranger, follow the below SPRO path or directly call the transaction CO82 .

SAP IMG -> Production -> Shopfloor Control -> Master Data -> Order -> Define number ranges for orders

When we go into this screen, we can see the number range object which is relevant for production orders. It is AUFTRAG . Number range is always bound to the number range object. In this screen we have three options.

  • Display Intervals
  • Edit Intervals
  • Set NR Status

By selecting the “Display intervals” option we can see all the number ranges which are created under the AUFTRAG object. All the number ranges defined here can be assigned against different production order types which we have defined.

From the “Edit intervals” option we can edit the number ranges which are already defined. If the number range is already in use, it is not possible to edit because it will lead into inconsistencies. The third option is to “Set NR status”. This field represents the last number which has been assigned from the number range. After defining the number range, we can set the NR status manually. When this is set, the system will start assigning the numbers starting from the number that is maintained under the number range status. Maintaining this is not mandatory. It depends on the business requirements.

How to Create SAP Number Range

To create a new number range, click on Goto -> Groups -> Change . This will direct to a new screen where all the number range groups defined are listed with the order types assigned for each group. On the top we can see the unassigned order types.

SAP Number Range Group

To create a new number range group, click on the “Create group” button. This will open a screen where you need to enter the group name and the number range that needs to be linked to the group. Number range consists of from number and to number. Range should be given in a manner where inconsistencies are not generated. Once the range is given, we can save the number range group. If the number range is external, then there is a checkbox with the label “External”. When this is selected, the number range will be considered as an external number range. As explained earlier, if the number range is external system will not assign the number automatically. It must be given by the user.

Once we save the group, next we can assign the order types to the group. For this we need to click on the “assign elements to group” button. After assigning the element to the group we can save the element. After doing this we can create a production order and check if the correct number is assigned from the number range group.

Transaction SNRO for SAP Number Ranges

Transaction SNRO can be used to maintain SAP number range objects. Advantage of this transaction is that we can maintain number ranges against any element irrespective of the module that element belongs to. When we execute SNRO , we can see a field to enter the object name. As discussed earlier, if we know the object name, we can directly input it here. If we enter AUFTRAG , we can see all the production order related number ranges defined.

Custom Number Ranges

In addition to this, we can also define a custom number range object. Custom number range objects are mainly used for customizations done in SAP. This reduces the complexity of assigning numbers in the customized programs.

To create a custom number range object, give the object name and click on the “Create” button. This will open a screen where you need to enter the object name and the length. We can enter a buffer value also. Sometimes we see that certain numbers in the number range are skipped. This is due to the buffer value maintained in the number range.

We can also give a warning percentage. The objective of this is that, when the number range is nearing its exhausting point, system will check the available numbers quantity with the waring percentage. If the available numbers quantity falls below the percentage, system will issue a waring message. This early warning method is useful specially for number ranges linked with material requirement planning.

We have discussed the objective of maintaining number ranges and how to use the number ranges in production orders. This concludes the article on SAP number ranges.

Did you like this tutorial? Have any questions or comments? We would love to hear your feedback in the comments section below. It’d be a big help for us, and hopefully, it’s something we can address for you in the improvement of our free SAP PP tutorials.

Navigation Links

Next lesson:

Previous lesson: SAP COOIS Report

Overview of the course: SAP PP Training

2 thoughts on “SAP Number Ranges”

Very Good content. You should share screenshot also to make more undestandable.

Thank your valuable post it’s very useful

Leave a Reply Cancel reply

Do you have a question and want it to be answered ASAP? Post it on our FORUM here --> SAP FORUM !

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

Creating Number Range Objects

Usually, number range objects are delivered by SAP together with the associated application programs. However, you can also create a number range object yourself.

  • Call the transaction for maintaining number range objects ( SNUM or SNRO ).
  • Enter an object name and choose Create .

Short text for object (length 20)

Long text for object (length 60)

Number Length Domain

Here, you define the amount of characters available in the number range object by selecting a suitable domain from the data dictionary (see A Simple Number Range Object ). It must be of type NUMC or CHAR and have a field length of at least 1 and at most 20. Select or create a domain.

Percentage Warning

When this percentage of remaining characters in an interval is reached during number assignment, the system issues a warning. It must be between 0.1 and 99.9.

Data Element Subobjects (Object Types 4 to 8)

If you want to create subobjects for the elements of a field of the application table, specify the relevant data element for this table field (see Subobjects ). This data element must be active in the Data Dictionary and must have a check table. The domain of the data element must have a field length of between 1 and 6.

To Financial Year

If you want the records of the business object to be differentiated by financial year, you activate this option by selecting the checkbox. This structures the intervals of a number range object; see Differentiation by Financial Years .

Do Not Roll Over

For each interval of a number range object, the system checks when the available characters are used up. In the default setting, once the available characters of an interval are used up, the system starts again from the beginning and the lowest number is assigned again. You can suppress this behavior by setting the Do Not Roll Over indicator. If you do this, no more characters from an interval are assigned once the characters of the interval are used up. You can suppress rollover for the entire number range object, that is, the setting applies to all the intervals contained in the object.

Number range transaction

When you create a number range object, you can define a transaction code. When you save the number range object, a transaction is generated automatically, which you can use later to open the maintenance dialog of exactly this number range object.

You can define the buffering type for the intervals here. For more information about this topic, see section Buffering . The following options are provided:

Main memory buffering

Parallel buffering

No buffering

Number of Numbers in Buffer (if a buffering type has been defined)

This value specifies the size of the buffer. For more information about selecting the buffer size, see section Buffering .

If you want to group by elements within a number range object, you can enter the required information on this tab. You then maintain the group table, that is, the interval assignment, manually in the standard maintenance dialog of SNUM (see Interval Maintenance ).

Group Table (Object Types 2, 3, 5 to 8)

Enter a name for the table containing the grouping element, such as the material type table for the material master. The table must exist and be active in the Data Dictionary. It must also contain the field for the number range element field as its key. If you want the groups to depend on the subobject, the subobject must be part of the key. Apart from this, the group table must not have any other key fields. A group table cannot be assigned to more than one number range object. The following fields of the group table must also be specified here:

Subobject (object types 7 and 8)

Element (object types 2, 3, 5 to 8)

If you want the number range object to be grouped, specify the field of the group table that contains the value to be grouped by. The field must be part of the key.

Interval number (internal/external) (object types 3, 6, 8)

Specify both fields of the group table: one for the internal intervals and one for the external intervals (previously: Number Ranges ) of the number range object. The fields must have the format CHAR2 or NUM2 .

Interval number (object types 2, 5, 7)

Specify the field of the group table for the internal and external intervals (previously: Number ranges ). The field must be part of the key and have the format CHAR2 or NUM2 .

Group Maintenance Element Text Display

A group table is usually a table that contains a lot of other information. This table often has a separate text table containing explanatory texts in several languages. You can display these texts in a particular language in the standard maintenance dialog. This is useful if the group table of a number range object will be maintained by employees in different countries.

To display the texts of the elements, activate the Display Element Text option by selecting the checkbox. Also fill in the following fields:

Element Text Table

Enter the name of the text table that is assigned to the group table you have selected.

Field for Language

Specify the name of the field that was defined in this table for the languages.

Specify the name of the field that was defined in this table for the grouping element.

Specify the name of the field that was defined in this table for the corresponding text.

This field only appears on the interface if the groups have been defined that depend on the subobject. If this is the case, specify the name of the field that contains the elements for forming the subobjects in the text table.

Once you have saved the input data, you can create intervals for the object and the assignment of groups can take place (see Interval Maintenance ).

  • Knowledge Base

Creating custom object in OM and assigning it a number range

  • Created 2023-08-08
  • Author SAP Online Tutorials
  • Category SAP HR

The given document explains how to create a custom object (and allowed relationships) and assign number range to it.

  • Create a custom organization unit (9O) and assign it to IT 1000 (Object), 1001 (Relationships), 1008 (Acct Assignment Features), 1011 (Work Schedule).
  • Assign 9O the number range of 2001 – 2999.

Steps to be performed:

  • Create new object type and assign essential relationships
  • Assign object to the required infotypes
  • Maintain subtypes
  • Maintain personnel actions
  • Assign number range.
  • Maintain object via PP03 or PP01.

Detailed Steps:

  • Maintain Object Types and Assign Essential Relationships

SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Maintain object types (Table: T778O)

Create the new custom objects by clicking on new entries (or copying existing entries).

Once the object is created, we assign essential relationships to it by clicking on ’essential relationships’ (as seen on the left pane of the above screenshot). Assigning a relationship means that once an object is created, the assigned relationships are mandatory to be maintained.

Table T77SO

2. Infotype Maintenance

In the given example, we assign 9O to IT 1001 (Object), 1001 (Relationships), 1008 (Acct Assignment Features), 1011 (Work Schedule).

SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Infotype Maintenance – > Maintain Infotypes (Table: T778T)

Select the appropriate infotypes to which the newly created custom object needs to be assigned. This is done by first selecting the infotype and then clicking on ‘infotypes per object type’ (shown in the left window pane).

Assign the custom object to infotypes by clicking on new entries as shown below

Uncheck the ‘No Maintenance’ check box for the custom object so as to ensure that it can be maintained via basic OM transactions like PP01.

Do the same thing for rest of the infotypes.

Relationships are subtypes to IT 1001. To assign mandatory subtypes along with time constraint, we create an entry in this table

SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Infotype Maintenance – > Maintain subtypes (Table: T778U)

3. Relationship Maintenance

This is used to define the allowed relationships for a given object.

SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Relationship Maintenance

Click on the required relationship and on ‘allowed relationship’ (on the left pane) to create the allowed relationship.

Assign the appropriate time constraints to the given relationship.

4. Maintain personnel actions

To create the given object using transaction PP03, personnel action needs to be maintained.

SPRO – > Personnel Management – > Organizational Management – > Basic Settings – >   Maintain personnel actions (Table T778M)

A new action can be created either by clicking ‘new entries’ or by copying the existing action.

Define the sequence of infotypes that need to be displayed while executing the given action. This is done by selecting the custom action (9O) and then clicking on actions (individual maintenance) – as on left pane.

Once the above activities have been performed, the given object can be created via the transactions PP03. However, before executing the personnel action, we will assign number range to the object.

5. Number Assignment

SPRO – > Personnel Management – > Organizational Management – > Basic Settings – > Maintain Number Ranges (Table: T77IV; Transaction: OONR)

Create a new entry either by clicking ‘new entries’ or by copying the existing entries.

Select the newly created entry and click on number range maintenance. Below screen will appear.

Maintain intervals by clicking on ‘intervals’ preceded by pencil sign

6. Creating object via PP03

Object created via newly formed action 9O.

Screen for creating object or IT 1000 is displayed.

Screen for essential relationships is displayed.

New object as per the defined number range is created in the system.

7. Maintain object via PP01

The new object 9O is created with number range starting from 2001 and assigned to IT 1000, 1001, 1008 and 1011.

Was this article helpful?

Related articles, leave a comment cancel reply.

You must be logged in to post a comment.

New Web Server

Sap humor: “the adventures of the new spaceship berid”, sap material determination, sap delivery blocks.

Michael Romaniello

Michael Romaniello

A Blog About SAP, Consulting, and SAP Consulting

technical difficulties

SAP Settlement Management: The Multiple Contract Condition Problem

Chatbot

Website Update: Chatbot

  • SAP SD Reference Guide

SAP SD Reference Guide: Number Range Objects

Nothing brings SAP processes to a screeching halt like running out of document numbers in your number range.  It’s a good idea to periodically take stock — perhaps annually — of your document number ranges to ensure you have plenty of room to grow in the coming months and years.  Below you will find some common SAP SD number range objects relating to SD processes.  You can check out the related ranges by navigating here:

Transaction SNUM –> Input or select your object –> Select the “Ranges” button –> Select the “Intervals” button

Define number ranges for sales document types in SAP

Define number ranges for sales document types .

The following tutorial guides you on how to define number ranges for sales document types in SAP SD step by step with screen shots

  • IMG Menu Path : –  SPRO >> IMG >> Sales and Distribution >> Sales >> Sales Documents >> Sales Document Header >> Define Number Ranges Sales Documents
  • Transaction code:- VN01

Enter T code VN01 in the sap command field and press enter

Select change interval to maintain the number range for document types

In next screen select “Insert Interval “

Update the following data:-

  • NO: –  Update the document No for document type, “no” should be same where you updated in document types
  • From Number: – Enter Starting number for the document type
  • To Number: – Enter up to number for the document type
  • Current Number : – current number 0 by default
  • EXT: – check this option if you want to maintain the document number manually

 After maintaining the number ranges for sales document types, click on the save icon to save the configured data.

SAP Number Range Object List

light111

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)

Leave a Reply Cancel reply

' src=

  • Already have a WordPress.com account? Log in now.
  • Subscribe Subscribed
  • Copy shortlink
  • Report this content
  • View post in Reader
  • Manage subscriptions
  • Collapse this bar

COMMENTS

  1. Creating Number Range Objects

    Usually, number range objects are delivered by SAP together with the associated application programs. However, you can also create a number range object yourself. ... When this percentage of remaining characters in an interval is reached during number assignment, the system issues a warning. It must be between 0.1 and 99.9. ...

  2. SAP Number Ranges Tutorial

    SAP number ranges are used to enable assignment of unique numbers to identify different master data and transactional data objects in SAP. Number ranges is a simple but important concept in SAP that is central to how SAP software works. In SAP, there are many objects defined for each module. As an example, if we take the production and planning ...

  3. Creating Number Range Objects

    Usually, number range objects are delivered by SAP together with the associated application programs. However, you can also create a number range object yourself. ... When this percentage of remaining characters in an interval is reached during number assignment, the system issues a warning. It must be between 0.1 and 99.9.

  4. Creating custom object in OM and assigning it a number range

    Steps to be performed: Assign number range. Maintain object via PP03 or PP01. Detailed Steps: SPRO - > Personnel Management - > Organizational Management - > Data model enhancement - >Maintain object types (Table: T778O) Create the new custom objects by clicking on new entries (or copying existing entries).

  5. SAP SD Reference Guide: Number Range Objects

    Below you will find some common SAP SD number range objects relating to SD processes. You can check out the related ranges by navigating here: Transaction SNUM -> Input or select your object -> Select the "Ranges" button -> Select the "Intervals" button. Object. Short Text. Long Text.

  6. Define number ranges for sales document types in SAP

    IMG Menu Path : - SPRO >> IMG >> Sales and Distribution >> Sales >> Sales Documents >> Sales Document Header >> Define Number Ranges Sales Documents. Transaction code:- VN01. Enter T code VN01 in the sap command field and press enter. Select change interval to maintain the number range for document types. In next screen select "Insert ...

  7. Objects Number Range Assignment

    SAP Community will be READ-ONLY from January 16 â January 23 for the technical migration. Hereâ s what you need to know to prepare. Home; ... SAP hr SF. Feb 23, 2011 at 11:10 AM Objects Number Range Assignment. 1741 Views. Follow RSS Feed Hi Gurus, Please guide me how to view the differnt number range that are been assigned to different Object.

  8. SAP Number Range Object List

    SAP Number Range Object List Object name Long text Short text ABADR Derivation of characteristics: Table numbers Char. derivation ABADRINTID Derivation Internal ID Deivation Int. ID ACAC_OBJ Number of an Accrual Object in Manual Accruals ManAccs Objct Number ACCR_BELNR Accruals Master Document Number Accrual Master No. ACCR_DOCNR Document Number of Accrual/Deferral Master Data Acr./Def. Doc.…