Ansicht
Dokumentation

EHFND_ERS - BAdI: Electronic Report Shipment

EHFND_ERS - BAdI: Electronic Report Shipment

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used to send incident reports in the Environment, Health, and Safetycomponent. You can use this BAdI to implement customer-specific logic for electronically shipping reports to a receiving party, for example, a legal authority, such as the German workers' compensation association. The BAdI allows you to adapt the report shipment process to company-specific requirements by enabling the use of different exchange formats and different channels of communication. You can, for example, use the BAdI if you want to send incident reports in an XML format via a Web service.

This BAdI is called before a report is sent to determine if a BAdI implementation exists for that type of report. If an implementation exists, you can choose to send the report electronically, and the system calls the BAdI again in the report shipment process. The BAdI then uses the SEND_REPORT method to do the following:

  • Generate the report in the correct output format
  • Ship the report to the receiving party
  • Complete the shipment process by reporting the success or failure of the shipment back to the system
  • You have configured the process foundation in Customizing for Environment, Health, and Safetyunder Foundation for EHS -> Process Foundation. Ensure that the event linkage is active in activity Activate Linkage for Scheduled Processes.
  • You have configured the processes used in incident management, specifically the following process definition, in Customizing activity Configure Process Definitions:
Component: HSS
Purpose: INC_REPORT
Variant: STANDARD

The standard system does not include a default implementation for the BAdI.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For more information about electronic report shipment and about the actions that are required to adapt the shipment process to your needs, see the technical documentation for this BAdI in the BAdI Builder.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2891 Date: 20240523 Time: 174436     sap01-206 ( 55 ms )