Ansicht
Dokumentation

OHADST_ELSTAM_090 - BAdI: Customer-Specific Checks for Check Tool

OHADST_ELSTAM_090 - BAdI: Customer-Specific Checks for Check Tool

RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for ELStAM: Check Tool to Check Notification Data (RPUE2ED0). You can use this BAdI to implement customer-specific checks for notification data in the ELStAM procedure (Report RPUE2ED0) in addition to the checks for registration (AN001), deregistration (AB001), and tax class 6 (STKL6).

Interface IF_HRPAYDEST_E2_CHECKTOOL

BAdI interface IF_HRPAYDEST_E2_CHECKTOOL is used to provide a personnel number-related instance of class CL_HRPAYDEST_E2_CHECKTOOL that contains, for example, the following information in its attributes:

  • Personnel Number
  • Data records of infotypes Measures (0000), Organizational Assignment (0001), and Tax Data D(0012)

You can use method ADD_MESSAGE to save person-specific error messages so that they can be displayed in the output log of report ELStAM: Check Tool to Check Notification Data. The structure, which must be provided as an export parameter for this method, is of type HRDEST_E2_S_CHECKTOOL_ERROR. In addition to the classical message components, (message type, message class, message number, and message variables 1-4), this structure has component STICHTAG_CHECK. This component must be filled with the Key Date of Check.

You can add general messages to the output log with method ADD_MESSAGE using the message handler MR_MESSAGE_HANDLER, which is also provided as an attribute of class CL_HRPAYDEST_E2_CHECKTOOL.

You have created your customer-specific check with a unique, five-digit identifier from the customer namespace 0*-9* (for example, 00001) in Customizing activity Define Customer-Specific Checks for Check Tool. You require this identifier as a filter value for your enhancement implementation.

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

You can find a sample implementation on the Enh. Spot Element Definitions tab page of the BAdI Builder under Implementation Example Classes.

There are two types of sample implementation:

  • CL_EXIM_HRPAYDEST_E2_CHECKTOOL

If necessary, create your own enhancement implementation (for example, ZMY_CHECK_01) of BAdI HRPAYDEST_E2_CHECKTOOL (implementing class: for example ZCL_HRPAYDEST_E2_MY_CHECK_01).

You can find information about how to implement BAdIs in the enhancement framework in the SAP Library for SAP NetWeaver Platform in the SAP Help Portal under 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 on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4128 Date: 20240607 Time: 033158     sap01-206 ( 79 ms )