Fonction SAP CBIH_LB65_UE_MJVA_COMPUTE - EHS: User Exit: Calculate Measured Values and Reference Values

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ADDINF RCGADDINF u 27 Additional Information
I_EP_IOREC ESP8_RECN_SUBID_WA_TYPE 0 Agent
I_FLG_EXPOSITION ESP1_BOOLEAN 0 Indicator: Calculate Shift Value
I_FLG_LIMIT_GET ESP1_BOOLEAN 0 Indicator: Calculate Reference Value
I_FLG_UNIT_CONVERT ESP1_BOOLEAN 0 Indicator: Calculate Measured Value
I_MJ_IOREC CCIHS_MJIOT u 2416 Measurement
I_RVLID ESERVLID C 10 Validity Area
I_UNITNAME T006A-MSEH6 C 6 Unit of Measurement Description
I_UNIT_REQUEST T006-MSEHI C 3 Requested Unit of Measurement

Paramètre Reférence Type Long. Description
E_FLG_CHANGE_NAME_LIM ESP1_BOOLEAN 0 Indicator: Change of Unit of Measurement (Reference Value)
E_FLG_CHANGE_NAME_MVA ESP1_BOOLEAN 0 Indicator: Change of Unit of Measurement (Measured Value)
E_FLG_ERROR_LIMCON ESP1_BOOLEAN 0 Indicator: Error During Calculation of Reference Value
E_FLG_ERROR_UNITCON ESP1_BOOLEAN 0 Indicator: Error During Calculation of Measured Value
E_FLG_FALSE_DIMENSION ESP1_BOOLEAN 0 Indicator: Wrong Dimension

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_MJVA_IOREC CCIHS_MJVAIOT u 1408 Measured Value

Paramètre Reférence Long. Facultatif Description
I_HAZARD_FLD_VAL_TAB_CON CCIHS_HAZARD_FLD_VAL_NEW 130 Fields for Calculation of Measured Value
I_HAZARD_FLD_VAL_TAB_LIM CCIHS_HAZARD_FLD_VAL_NEW 130 Fields for Calculation of Reference Value
I_PROP_DATA_TAB ESPRH_APIPR_TAB_TYPE 0 Characteristic Values of Value Assignment Instances
I_PROP_TAB ESPRH_APIVA_TAB_TYPE 0 Value Assignment Instances
X_EXTERROR_TAB ESPAP_EXTERROR_TAB_TYPE 0 Error Table

Use
With this function module you can implement the calculation of measuredvalues and reference values in Measurement Management.
The function module is also available as a reference function module forthe definition of the interface of the user exit category IHS_MJVA.

Preconditions
The user exit name MJVA_COMP must exist in Customizing for BasicData and Tools and a function module must be assigned to it.
To be able to perform calculations for measured values and referencevalues, the units used in measurement management and their conversionfactors must be specified in Customizing. Measured values are also usedthat must be entered under the measurements in the respectivemeasurement project.

Features
The implementation of the user exit as supplied with the standard systemoffers the following functions:

  • Measured values - Convert unit

  • Log sheet - Measurements - Calculate value range per agent

  • Log sheet - Summated values - Calculate summated value per summated
  • value group
    • Merge measurements - Calculate average of measurements

    • Evaluations - Convert measured value to specified unit of measurement

    • This user exit is called from the measurement project itself and fromthe following reports:
      • Agents with measured values, REHS_MP_EPIDS_WITH_MVALUES

      • Measurement with measured values, REHS_MP_MJIDS_WITH_MVALUES

      • Persons with measured values, REHS_MP_PERSONS_WITH_MVALUES

      • Details on measured values, REHS_MP_MVALUES_DETAILS

      • Building with measured values, REHS_MP_BUILDINGS_WITH_MVALUES

      • Depending on where the exit is called from, different functions areused. The import parameters (flags) control which function is executed.
        The data required for calculation is passed to the user exit with therecord X_MJVA_IOREC and the import tables.
        The values calculated or changed from the record X_MJVA_IOREC or theimport tables are written to the record X_MJVA_IOREC and returned to thecalling exit.

        Notes
        INCLUDE EHS_CBIH_USER_EXIT_HINT OBJECT DOKU ID TX