Fonction SAP CBIH_ER07_MAINRATING_COMPUTE - EHS: User Exit to Calculate Main Rating

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ADDINF RCGADDINF u 27 Additional information
I_ERHIOREC CCIHS_ERHIOT u 1750 X Risk assessment header record
I_HEADER_RECN CCIHT_ERH-RECN N 20 Internal key for risk assessment

Paramètre Reférence Type Long. Description
E_MAINRATING CCIHE_MAINRATING C 3 Main rating

Functionality
This function module serves as a template for the calculation of themain rating in riskassessment. The function module also serves as a reference functionmodule for defining the interface of the user exit categoryANLS_MRATC.

Preconditions
You must have made the following settings in Customizing:

  • In Customizing for Basic Data and Tools under Manage User
  • Exits, the user exit name ANLS_MRATC is created and a functionmodule is assigned to it.
    • In Customizing for Industrial Hygiene and Safety under

    • Specify Exposure Ratings, ratings werecreated and assigned to a rating category.
      • In Customizing for Industrial Hygiene and Safety under

      • Set Up Risk Matrix, the ratings for the riskevaluation were assigned.
        Procedure
        The calculation includes theratings from the variousanalyses and the result ofthe risk evaluation. The most severe rating is output as the mainrating.

        Further_hints
        If you write your own check function, its interface must match theinterface of the reference function module.