Show TOC

Procedure documentationDetermining Secondary Data with the EH&S Expert

Prerequisites

You have defined at least one set of rules and the corresponding mapping tables and registered both on the Expert server. For more information about registration, see the Implementation Guide (IMG) for Basic Data and Tools under Set Up Windows Registry.

For more prerequisites, see EH&S Easy Expert.

Procedure

  1. Start the EH&S Expert by calling the EhsExper.exe program with the parameter D<Destination des EH&S Expert>.

    Note Note

    The Expert Server icon that was created when the EH&S Expert was installed contains the correct link to this program with a corresponding parameter that you can adjust as required.

    End of the note.
  2. In the SAP system, execute one of the following procedures to determine specifications for which you want to determine secondary data:

    A set of specifications appears in the form of a hit list.

  3. In the hit list, select the specifications you require and choose Start of the navigation path Utilities Next navigation step Secondary Data Next navigation step Determination End of the navigation path.

    The Determine Secondary Data dialog box appears.

  4. Choose the EH&S Expert user exit by double-clicking it.

    • If you have set the parameter EXPERT_PARAMETER_CHANGE_MODE to S for the EH&S Expert user exit in Customizing for Basic Data and Tools, the SAP system displays the Determine Secondary Data dialog box in display mode when secondary data determination is started.

    • If you have set the parameter EXPERT_PARAMETER_CHANGE_MODE to E for the EH&S Expert user exit in Customizing for Basic Data and Tools, you can edit the environment parameters in the Determine Secondary Data dialog box when secondary data determination is started. The environment parameters set in Customizing are displayed as default values. Enter or change the environment parameters as required.

    • If you have set the parameter EXPERT_PARAMETER_CHANGE_MODE to H for the EH&S Expert user exit in Customizing for Basic Data and Tools, the SAP system does not display the Determine Secondary Data dialog box when secondary data determination is started.

    • If you have not defined the parameter EXPERT_PARAMETER_CHANGE_MODE for the EH&S Expert user exit in Customizing for Basic Data and Tools, the Expert: Parameter Entry for Data Determination dialog box appears in display mode.

    • If you have set the parameter EXPERT_PERFORM_DIFF_FLG to the indicator X for the EH&S Expert user exit in Customizing for Basic Data and Tools, a comparison of the initial values and results of the EH&S Expert run is displayed before the results are stored on the database (default = <blank>). To be able to use the parameter EXPERT_PERFORM_DIFF_FLG, the reference module C1R3_SUB_EXPERT_EVALUATE must be selected.

    • If, in Customizing for Basic Data and Tools, you assign rule sets to parameter EXPERT_CALL_XX (XX = 00 to 99) for the user exit of EH&S Expert, you can call up and execute these rule sets in the specified sequence one after the other. This means that you do not need to execute the rule sets individually.

Result

Using the rules in the set of rules, the EH&S Expert determines data for the selected specifications and writes it to the database. When writing the data, the EH&S Expert uses the data you specified in the Customizing activity Manage User Exits under the corresponding parameters for the EH&S Expert user exit for rating, validity area, data provider, and data origin, or the data changed manually in the Expert: Parameter Entry for Data Determination dialog box.

The save mode specified in Customizing or in this dialog box determines whether existing data records are overwritten, or whether new data records are added. If the newly determined data is identical to the data determined at an earlier stage, the system does not delete or create data if save mode I is not set. For more information about the save mode, see the IMG activity Extend Entry in Secondary Data Determination. You can use and edit the data that was written to the database by the EH&S Expert in the same way as data entered manually.

Note Note

If, during subsequent manual processing, the data origin and data provider differ from the corresponding parameters of the EH&S Expert run, a new value assignment instance is created in a new EH&S Expert run – even if the values then match.

End of the note.

Note Note

When using the EH&S Expert and EH&S Easy Expert, you cannot overwrite inherited value assignment instances (see Inheritance) for a target specification.

End of the note.

If the Information icon is displayed for a user exit on the Determine Secondary Data screen, documentation is available for this user exit. This documentation must exist as a PDF file in the company network. If you choose Information, the available documentation is displayed.