Ansicht
Dokumentation

HRPA_RP_PERNR_PRE - BAdI: Check During Data Destruction of a Personnel Number (HRPA_PERNR)

HRPA_RP_PERNR_PRE - BAdI: Check During Data Destruction of a Personnel Number (HRPA_PERNR)

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

This Business Add-In (BAdI) is used when processing report RP_PERNR_PRE. You can use an implementation to check dependencies that contradict the deletion of a personnel number for technical or other reasons. The personnel number can be removed from the list of personnel numbers to be deleted.

The BAdI interface IF_EX_HRPA_RP_PERNR_PREuses the method PERNR_DELETION_CHECKwith the following parameters:

Importing Parameters

  • IV_PERNR: The personnel number to be checked.
  • IV_DATE: The date specified on the selection screen, by which a leaving action must be saved in the system.
  • IV_MESSAGE_HANDLER: The reference to a class in which messages are stored that are to be displayed in the report output later on. If a notification for a personnel number is saved in this class, the personnel number is removed from the list of personnel numbers to be deleted.

There is no sample implementation for this BAdI. The BAdI can be used multiple times and there is no filter.

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

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for 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.






CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2021 Date: 20240523 Time: 212637     sap01-206 ( 40 ms )