Ansicht
Dokumentation

PAY_NL_B2A_LA_560 - BAdI: Overwrite the Income Relationship Start Date

PAY_NL_B2A_LA_560 - BAdI: Overwrite the Income Relationship Start Date

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

With this customizing activity, you implement a Business Add-In (BAdI) BAdI for Wage Return: Current IR Number (HR_NL_LA_NUMIV_ATTR) to overwrite the start date of income relationships (tag "DatAanv" of the wage return) with a value of for example, infotype Date Specifications (0041).

By default, the (last) hire date is used in for instance infotypes Organizational Assignment (0001) and Actions (0000), and this date is stored in tables Wage Return: Current IR Number (P05T_NUMIV_ATTR) and Wage Return: highest assigned IR number so far (P05T_MAX_NUMIV). In case the correct (last) date is not stored in infotypes 0000 and / or 0001, you can use this BAdI.

This BAdI contains the following method:

MODIFY_BEGDAIV: You use this BAdI method to modify the start date of the income relationship (RV_BEGDAIV) using for example, person level data (IS_IV_ADM of type P05T_IV_ADM).

Your implementation of the BAdI is called in report Wage Return: Creating Files (Composer) (RPCLASN0) to overwrite the start date of income relationships in the wage return file. This means that the correct start date of the income relationship will not be stored in table P05T_NUMIV_ATTR nor in table P05T_MAX_NUMIV, but in the wage return XML file itself.

The BAdI contains an example implementation.

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

To use this BAdI, you:

  1. Implement and activate the BAdI: you can use the available implementation example class CL_HR_NL_LA_NUMIV_ATTR_EX
  2. You have run productively the Wage Return: Collect Data (Extractor) (RPCLAVN0).
  3. After that, to see your modified date you have to run productively the Wage Return: Creating Files (Composer) or you run B2A such that your process changes from "New" ot "XML created".

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portalat 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   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3335 Date: 20240523 Time: 203314     sap01-206 ( 58 ms )