Ansicht
Dokumentation

OHIX_DP_BADI_0040 - BAdI: Consider Archiving Subobjects

OHIX_DP_BADI_0040 - BAdI: Consider Archiving Subobjects

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for the destruction of HR master data. You can use this BAdI to consider archiving subobjects that belong to various archiving objects in one data destruction session.

The BAdI is called in the report Roll Back Preprocess for Data Destruction (RP_PA_ROLLBACK) to ensure that the rollback of preprocessing for the destruction of data is performed completely, meaning for all archiving subobjects that are relevant for a particular archiving object.

Example

Preprocessing for the destruction of data for the archiving object HR: Garnishment (HRCDEPF) is to be rolled back. For this, the destruction log (data record in the infotype Archiving/Data Destruction 0283) is deleted. The destruction log for dependent data such as Germany-specific garnishments data is also to be rolled back since this data record has been created by the Germany-specific archiving subobject for the archiving object HR: Remuneration (HRPA_REMUN).

The BAdI interface IF_HRARCH_INCLUDE_AO_SUBGROUP uses the method INCLUDE_AO_SUBGROUP with the following parameter:

  • IO_INCLUDE_AO_SUBGROUPS: Reference to the class CL_HRARCH_INCLUDE_AO_SUBGROUPS
This class ensures that the archiving subobjects and archiving objects are added to the attribute MT_AO_SUBGROUPS of this class if the BAdI has been implemented more than once for the same filter parameter. The method GET_AO_SUBGROUPS is called to retrieve the list of archiving subobjects and archiving objects. If you implement the BAdI, use the method ADD_AO_SUBGROUP to add the archiving subobject and associated archiving object to your implementation.

There is no sample implementation for this BAdI. The BAdI can be used multiple times and is a filter BAdI. The BAdI uses the parameter OBJ_NAME = as a filter.

For more information about the default settings, see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for the SAP NetWeaver platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development in AS ABAP -> ABAP Customer Development -> Enhancement Framework.






ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2796 Date: 20240523 Time: 234405     sap01-206 ( 84 ms )