Ansicht
Dokumentation

EHHSS_INC_OSHA300A - BAdI: Establishment Enhancements for OSHA300A Generation

EHHSS_INC_OSHA300A - BAdI: Establishment Enhancements for OSHA300A Generation

General Material Data   ABAP Short Reference  
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 enhance the standard delivery when you want to generate OSHA 300A reports based on an establishment different from the location.

The OSHA regulation requires that a separate OSHA 300A log be kept for each physical location that is expected to be in operation for one year or longer.

In the standard delivery, the data in OSHA 300A reports is calculated based on locations:

  • The employment information is derived from the personal data that is based on the organizational unit of the location.
  • The required time data of the employees assigned to the relevant location is derived from the 0007 (Planned working time) infotype of the HR: Master data (P_ORGIN) authorization object.
The value of the 0007 infotype is determined under consideration of the 2001 (Absences) and 2002 (Order notification (attendances)) infotypes.

However, this prevents you from generating OSHA reports based on other criteria, such as, plants or organizational units.

The BAdI provides means to overwrite or enhance the existing standard method and thus allows you to enhance the standard delivery and provide your own establishments that you can use to generate OSHA 300A reports.

The BAdI is intended for multiple uses and is not filter-dependent. This BAdI is active in the standard system and uses the following method:

BAdI Methods

  • FIND_PERSONS
The method contains default implementation and allows you to implement your own business logic that handles your specific generation of OSHA 300A reports. The method includes the following import and export parameters:
Import Parameters
  • IS_INC_CONTEXT - Context of an incident form.

  • IO_BO_ACC - Provides access to the implementation of the business objects.

Export Parameters
  • EO_PERSON_INJ_INFO - Custom BOPF node.

  • ES_SUMMARY_NUMBERS - Summary of numbers for reporting; comprises the amount of cases and days.

  • ES_FORM_CONTEXT - Interface structure for OSHA 300A report.

This BAdI definition uses the IF_BADI_EHHSS_INC_OSHA300A interface.






Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3486 Date: 20240523 Time: 163040     sap01-206 ( 49 ms )