Ansicht
Dokumentation

PAY_BR_EFD_BADI21 - BAdI: eSocial - Environment migration

PAY_BR_EFD_BADI21 - BAdI: eSocial - Environment migration

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the component Payroll - Brazil (PY-BR). This BAdI allows to fill in the record infoPerAnt of the eSocial, if you have cases of collective agreement with retroactive effect previous to the migration date for the events S-1200 Employee remuneration from Social Security General Regime. and S-2299 Termination.

The interface IF_HRPAYBR_EFD_MIGRATION_INFO consists of the following methods:

  • Fill in data for previous periods in the S-1200(FILL_PREV_PERIOD_REMUN): Based on the information on CPF, validity, message processing class, selection screen data of the event generator report, payments made to the employee, and payroll sequential number, you can change the parameter CT_PY_INFO_PREVIOUS, regarding the table type HRPADBR_EFDE_T_1200_PY_INFO_PR.
  • Fill in data for previous periods in the S-2299(FILL_PREV_PERIOD_TERMINATION): Based on the information on personnel number, validity, message processing class, employee infotype data, selection screen data of the event generator report, payments made to the employee, and payroll sequential number, you can change the parameter CT_PY_INFO_PREVIOUS, regarding the table type HRPADBR_EFDE_T_2299_PREV_PY.
  • Fill in registration of events previous to migration (FILL_REG_NUMBER_FROM_HIRING): This method is obsolete, so it is no longer valid for use.
  • Fill in labor information of hiring event previous to migration (FILL_LABOR_INFO_FROM_HIRING): This method allows you to fill in the records Labor regime type(tpRegTrab) e Social security regime type (tpRegPrev). Based on the event type, start date, end date, validity information and classes CL_HRPAYBR_EFDF_DATA_LOG e CL_HRPADBR_EMPLOYEE, you can change the parameter LTY_S_LABOR_INFO_FROM_HIR_EVT, regarding the corresponding fields.

You specified dates of use of the eSocial in production mode for migrated data.

For more information on the standard settings (filters, individual or multiple usage), see the Enhancement Spot Element Settings tab in the BAdI Builder (transaction SE18).

For more information about implementing BAdIs as part of the enhancement concept, see the SAP Library for the NetWeaver platform in the SAP Help Portal at http://help.sap.com/nw_platform. Choose a release, then select Application Help. In SAP Library, select SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2956 Date: 20240523 Time: 195910     sap01-206 ( 68 ms )