Ansicht
Dokumentation
BADI_EHHSS_INCREP_BO - BAdI: Extend BO Access Class of Report Incident App
BAL Application Log Documentation rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Report Incident app and enables extension of the existing BO access class by adding new custom-defined attributes and fields.
This BAdI is activated in the standard system and comprises the following methods:
BAdI Method
- CUSTOM_FIELDS_ADAPTATIONS
- This method is used to extend and adapt the app to create data for the new custom fields.
- The method includes the following import and change parameters:
- Import Parameters
- IV_ENTITY_TYPE_NAME - Name of the enhanced entity type.
- IO_ENA_NODE - A currently selected node of the BO.
- Change Parameter
- CR_S_GW_ENTITY_DATA - Data structure of the entity type that is loaded.
This BAdI definition uses the IF_BADI_EHHSS_CNS_INCREP_BO_AC interface.
The extension possibilities provided with this BAdI are in the following methods of class CL_EHHSS_INC_REPINC_BO_ACCESS:
- IF_EHHSS_INC_REPINC_BO_ACCESS~CREATE_ASSET
- Create an asset for the current incident.
- IF_EHHSS_INC_REPINC_BO_ACCESS~CREATE_ATTACHMENT
- Create an attachment for the current incident.
- IF_EHHSS_INC_REPINC_BO_ACCESS~CREATE_INCIDENT
- Create an incident with the provided data (root, basic info, and so on).
- IF_EHHSS_INC_REPINC_BO_ACCESS~CREATE_PERSON
- Create a person with a specified role for the current incident.
The BAdI definition contains example implementation CL_BADI_INCREP_BO_ACCES_EXAMPL that can be reused. The example covers a use case where the incident record is extended with two custom frontend fields OperatingPhase, and IncidentImmediateActionsDescription and the example implementation ensures that those fields are mapped to the corresponding backend structure fields OP_PHASE_DESC_TEXT and IMA_DESC_TEXT.
General Data in Customer Master TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 3379 Date: 20240524 Time: 004459 sap01-206 ( 40 ms )