Ansicht
Dokumentation

IV_HAZARD_STATEMENT - BAdI: Hazard Determination Methods for Chemicals

IV_HAZARD_STATEMENT - BAdI: Hazard Determination Methods for Chemicals

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Environment, Health, and Safety component. You can use this BAdI to determine hazards for chemicals when identifying risks.
This BAdI is called when you add a chemical as agent in the risk identification process and apply a hazard determination method.

You have assigned hazards to hazard statements in in Customizing activity Specify Hazard Statements and Assign Hazards.

The BAdI definition is active in the standard system. It contains the following methods:

  • GET_TAB_ID
The system returns the tab ID for possible parameters for the hazard determination method.
  • DTERMINATE_HAZARDS
The system determines hazards for chemicals based on hazard statements.

The BAdI implementation BADI_EHHSS_RAS_HDM_BAS_ON_CHM is delivered with the standard system. This BAdI implementation determines hazards for chemicals based on hazard statements.

When defining customer-specific BAdI implementations, you can enhance the following filter values for the hazard determination method:

  • 01 = Manual
  • 02 = Based on Hazard Statements

When you implement this BAdI, execute the following steps:

  • Enhance the filter value range EHHSS_HAZ_DETERM_METHOD.
  • Add new implementations to BADI_EHHSS_HAZ_DET_METHOD.
  • Set the filter value for the new implementation.
  • Enhance the value range of domain EHHSS_HAZ_DETERM_METHOD.
  • Add a new tab to component configuration EHHSS_RAS_IDENTIF_CHM_DLG_DY_TAB with the same Tab ID as the one you entered in method GET_TAB_ID.
  • Insert FPM-UIBB that represents the parameters of the hazard determination method.
  • To set the parameters of the hazard determination method, set the fields in the application controller:
    CL_EHHSS_RAS_IDENTIF_CTRL-MS_CHEMICAL-HAZ_PARAMETER
    CL_EHHSS_RAS_CHA_IDENTIF_CTRL- MR_PARAMETERS

  • To apply the hazard determination method, raise an FPM Event with the ID 'HDM_APPLY'
  • CL_BADI_EHHSS_HDM_BAS_ON_CHM






Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2905 Date: 20240523 Time: 152406     sap01-206 ( 39 ms )