Select language:

Creating Number Range Objects

Procedure
  1. Call the number range transaction (SNUM or SNRO).

  2. Enter an object name and choose Create. An input window appears where you can enter the development class in which you want to save the number range object.

  3. Enter a development class and choose Save. A window containing definition fields is displayed. .

  4. To define the number object, make entries in the following fields:

    • Short Text

      Object short text (length 20), information for the number range maintenance dialog

    • Long Text

      Object long text (length 60), information for the number range maintenance dialog

Intervals Tab

  • Data Element Subobject (Object Types 4 to 8)

    If you want to differentiate a number range object, enter the data element whose properties you want to differentiate it by. This data element must be active in the Data Dictionary and must have a check table. The domain must have a field length of between 1 and 6.

  • Number Length Domain

    This domain determines the length of the numbers to be assigned. It must be of type NUMC or CHAR and be between 1 and 20 characters long. Choose a suitable domain from the Data Dictionary or create one.

  • Percentage Warning

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

  • To Financial Year

    The records for the business object should be distinguished by their financial year.

  • Do Not Roll Over.

    This specifies whether the first number should be assigned again when all numbers in an interval have been used.

Customizing Tab

  • Number range transaction

    If you enter a transaction code here, you can call this code and maintain the intervals for precisely this object.

  • Buffering

    You can define the buffering type for the intervals here. The following options are provided:

    • Main memory buffering

    • Parallel buffering

    • Local buffering with work process ID

    • No buffering

    Note

    You can find more information about the various buffering options in SAP Note 504875.

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

This value specifies the size of the buffer.

Group Tab

If you intend to group the business objects by elements, you can specify that the group table is to be maintained by the standard maintenance dialog. If you do not do this, you will have to program the assignment yourself.

  • 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.

  • Subobject field in group table. (object types 7 and 8)

    If the business object is differentiated by subobject, and the groups are dependent on the subobject, enter field for the group table that contains the subobject value (object types 7 and 8). The subobject field must be part of the key.

  • Element field in group table (object types 2, 3, 5 to 8)

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

  • Int./ext.no. range no. field (object types 3, 6, 8)

    You should enter the group table fields for internal and external number ranges here if you want application to support both external and internal number assignment. You also need to specify a group table. The fields must have the format CHAR (2) or NUM (2).

  • No. range no. field (object types 2, 5, 7)

    You should enter the group table field for number ranges here if you want application to support one number range only (external or internal). The field must be part of the key and have the format CHAR (2) or NUM (2). Whether it is an external or internal number range is indicated when the interval for this number range is created.

Group Maintenance Element Text Display

If you want the element texts to be displayed during group maintenance, select this field:

  • Display Element Text

    Maintain the following element text table entries with the text entries function:

  • Element Text Table

  • Language Field

  • Subobject Field

    This field only appears on the interface if the groups have been defined that depend on the subobject.

  • Element Field

  • Text Field

When you have saved your data, number range intervals can be created for the object.