Show TOC

  Using the Rule Editor

Use

You can use the rule editor to quickly and easily create sets of rules and the appropriate mapping tables .

Prerequisites

See EH&S Expert .

Procedure

  1. Start the rule editor by calling the RuleEdit.exe program.

    The EH&S Login dialog box appears.

  2. Log onto the SAP system that contains the EH&S components and that is specified as the destination in the SAPRFC.INI (see documentation for the IMG activity Set Up SAPRFC.INI ).

    The rule editor loads the required data from the EH&S system, for example, value assignment types, characteristics, phrase keys, identifiers, and fields from the header data, and displays them in the overview tree on the left-hand side. The property tree you last set in the system is loaded here.

  3. Choose

    • Start of the navigation path File Next navigation step New End of the navigation path to create a new set of rules

    • Start of the navigation path File Next navigation step Open Next navigation step Local End of the navigation path to edit an existing set of rules that is stored locally on your PC. Choose the set of rules you require by double-clicking.

    • Start of the navigation path File Next navigation step Open Next navigation step SAP System End of the navigation path to edit an existing set of rules that is stored in your SAP system. Choose the set of rules you require by double-clicking.

  4. Edit the rules. Proceed as follows:

    • Choose Start of the navigation path Edit Next navigation step New Next navigation step Rule End of the navigation path to create a new rule in the set of rules.

      The name of the rule can contain only letters, numbers, and underscores, and must start with a letter.

    • Position the cursor in the set of rules tree on an existing rule to edit it.

  5. Enter the required data for the individual rules (see Editing Rules ).

  6. Check and, if required, edit the mapping tables (see Editing Mapping Tables ).

  7. Save the set of rules either locally on your PC or in the SAP system.

Result

If you edit a set of rules stored locally on your PC, the rule editor creates the following files:

  • A rule file that you can edit with any text editor

  • A file that contains the mapping tables

Before you can use the set of rules to determine secondary data with the EH&S Expert you must register it on the Expert server. For more information on registering, see the documentation in the IMG activity Set Up Windows Registry .

Registration is not necessary for set of rules stored in the SAP system.