Background documentationEnhancements for HRCDEBA

 

The archiving object HR: Company Pension Scheme (HRCDEBA) uses the implementation of the following Business Add-Ins (BAdIs):

Business Add-In

Use of Business Add-In

BAdI Implementation

Use of BAdI Implementation

BADI_IRM_RELATIONS

Determining the BOR key

BDI_IRM_RELATIONS_HRCDEXXXX

Determining the BOR key

HRPA_B_GET_CONFIG

Determining the configuration for archiving object

HRPADDE_BA_GET_CONFIG

Assigning infotypes to archiving subobjects

HRPA_B_GET_SUBGRP

Determining the configuration for archiving subobject

HRPADDE_BA_GET_SUBGRP

HRPA_B_CHK_DATA

Archiving-object-specific checks

HRPAYDE_BA_CHK_DATA

Checks for archiving subobject RENTENERMITTLER

BADI_IRM_OT_FLD

Permitted fields

HRPAYDE_BA_IRM_OT_FLD

ILM Customizing (ILM field name AOTEILOBJEKT)

Checks for Archiving Subobject RENTENERMITTLER

The destruction of data in the infotypes of this archiving subobject is deactivated by default (BAdI implementation HRPAYDE_BA_CHK_DATA, method IF_HRPA_CHK_DATA~PERFORM_CHK) since this data area is typically greatly affected by customer enhancements.

To be able to destroy this data, you therefore need to create your own implementation and deactivate the implementation provided. You need to ensure that your own implementation destroys only data that is no longer required from a business perspective.

For this, you can derive your own class from class CL_HRPADDE_BA_MDATA_DESTR and redefine the method IS_BUSINESS_COMPLETE. You can use this own class in the class of your own implementation.