Creating and Displaying Generation Rules

Use

To set up generation rules, navigate to the SAP Reference IMG, and choose

Start of the navigation pathCustomizing for Record Models, Records, and Documents Next navigation step Create or Change Rule for Generating Record NumbersEnd of the navigation path.

Procedure

Creating New Generation Rules:

  1. Determine the rule type.

  2. Enter the name of the generation rule and choose Create New Rule .

    A new dialog is displayed. The generation rule that you specified is displayed as a node.

  3. Open a dialog box by double-clicking the node.

    • If you then select Syntax, manually specified record numbers are checked against the generation rules.

    • If you select Uniqueness, the system checks whether the record numbers are unique.

  4. Confirm .

  5. Select a node and choose Create New Rule Element .

    The rule elements that can be selected are displayed in a dialog box. Select the corresponding rule elements.

  6. Confirm your entries by choosing .

    The system displays the dialog box New Generation Rule. Here you enter additional data about the rule element.

  7. Confirm.

    The rule element is created below the selected node.

    To edit the property, select a rule element and choose .

    To delete rule elements, choose .

    Changes are saved automatically. You cannot choose to save.

  8. To add generation rules, choose , and to delete generation rules, choose .

  9. Confirm your entries with .

Displaying Existing Generation Rules:

  1. Determine the rule type.

  2. Choose the input help. A dialog box is displayed with all existing rules.

  3. Select the rule that you want to display and choose .

  4. Choose . You can see the selected rule.

  5. To change existing rules, choose , and to delete them, choose .

    In addition, you can copy rules.