Ansicht
Dokumentation

PAY_BR_EFD_BADI08 - BAdI: eSocial - additional data

PAY_BR_EFD_BADI08 - BAdI: eSocial - additional data

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in component Payroll - Brazil (PY-BR). This BAdI allows changes and customizations of the eSocial content regarding the worker identification additional information, present in the eSocial events that concern remuneration, income and termination.

The interface IF_HRPAYBR_EFD_EE_COMPL_ID_DT consists of the following methods:

  • Fill in additional data (FILL_COMPL_DATA): This method allows to fill in the records additInfo and contAdditInfo. You can change the parameter CS_EE_COMPL, regarding the table Worker identification additional information (T7BREFD_EECOMP) based on the personnel number, eSocial event type and validity information. Besides, while generating the event S-1200, the value corresponding to remunSuc will be transmitted as a parameter through the infoPerAnt group, allowing the use of the values from remunSuc and the creation of the worker identification additional information (infoComplem).
  • Fill in lawsuit data of the employee (FILL_LAWSUIT): This method allows to fill in the record emplLawsuit to generate the events regarding termination. You can change the parameter CS_LAWSUIT, regarding the table type Lawsuit of the employee (HRPADBR_EFDE_T_1200_LAWSUIT) based on the personnel number, eSocial event type and validity information.
  • Fill in wage type data (FILL_WAGE_TYPE): This method allows to fill in the record remunItems. Based on the personnel number, wage types and validity information, you can change the parameter CS_WAGE_TYPE, regarding the table Wage types that form the employee remuneration (T7BREFD_PYWTAM).
  • Fill in health care collective plan data (FILL_HELTH_PLAN): This method allows to fill in the records collHealthInfo and depTp. Based on the CPF, validity, determination period indicator and eSocial event type information, you can change the parameter CT_PAYMENTS_ID, regarding the table type Payments made to the worker (HRPADBR_EFDE_T_1200_PAYMENT_ID).
  • Fill in payment data to beneficiaries abroad (FILL_FOREIGN_PAY): This method allows to fill in the record extPaymId. Based on the personnel number and validity information you can change the parameter CS_FOREIGN_INFO, regarding table Additional information regarding payment made to beneficiary abroad (T7BREFD_PAYEXT).
  • Fill in number of days worked by the temporary worker(FILL_WORKED_DAYS_QTD): This method allows to fill in the noDaysTemp field. Based on the personnel number and validity information, you can change the parameter CV_WORKED_DAYS, regarding the data element Number of worked days (HRPADBR_EFD_WORKED_DAYS).
  • Fill in health care collective plan data (FILL_TERMINATION_HEALTH_PLAN): This method allows to fill in the records collHealthInfo and depTp to generate the event regarding termination. Based on the personnel number and validity information, you can change the parameter CT_PAYMENTS_ID, regarding the table type Payments made to the worker (HRPADBR_EFDE_T_2800_PAYMENT_ID).
  • Fill in branch and workplace(FILL_WORKPLACE): This method allows to fill in the fields regType, regNo and workplCod. Based on the personnel number, validity and event information, you can change the following parameters:
  • CV_INSC_TYPE, regarding the data element Registration type(HRPADBR_INSC_TYPE)

  • CV_INSC_NUM, regarding the data element CNPJ/CEI number(HRPADBR_CNPJ_CEI)

  • CV_WRKPLC_CODE, regarding the data element Workplace code(HRPADBR_WRKPLC_CODE)

  • Fill in worker category code (FILL_WORKER_CATEGORY): This method allows to fill in the categCode field for the worker categories that are not covered by the standard system. Based on the personnel number, validity and event information, you can change the parameter CV_WORKER_CATEG, regarding the data element Worker category (HRPADBR_WORKER_CATEG).
  • Fill in number of days worked by the intermittent worker(FILL_INT_WORKED_DAYS_QTD): This method allows to fill in the record intermInfo. Based on the personnel number and validity information, you can change the parameter CV_INT_WORKED_DAYS, regarding the data element Number of worked days (HRPADBR_EFD_WORKED_DAYS).
  • Fill in additional data continuation(FILL_COMPL_DATA_CONT): This method allows to fill in the record contAdditInfo. Based on the personnel number, validity and event information, you can change the following parameters:
  • CV_CBO, regarding the data element Brazilian Job occupation code(PBR_CBO6)

  • CV_ACTIV_NATURE, regarding the data element Activity nature(HRPADBR_EFD_ACTIV_NATURE)

  • CV_WORKED_DAYS, regarding the data element Number of worked days (HRPADBR_EFD_WORKED_DAYS)

  • Fill in the notification for intermittent worker code(FILL_INT_CONV_CODE): This method allows to fill in the record intermWorkInfo. Based on the personnel number, validity and event information, you can change the parameter CT_INT_CONV_CODE, regarding the table type Intermittent work convocation information (HRPADBR_EFDE_T_1200_INT_WRK).
  • Fill in remuneration code due by successor company code(FILL_REMUN_SUC): This method allows to fill in the remunSuc field. By default, the field is filled with the value N, but you can change it. Based on the personnel number, event and wage type values with retroactive accounting information, you can change the parameter CV_REMUN_SUC, regarding the data element Remuneration due by successor company code(HRPADBR_IND_REMUN_PREVIOUS_ER).
  • Fill in days worked by the temporary worke(FILL_WORKED_DAYS_OF_MONTH): This method allows to fill in the fields of the infoInterm group. Based on the personnel number, validity and event information, you can change the parameter CT_WORKED_DAYS, regarding the table type Information regarding the intermittent work(HRPADBR_EFDE_S_INTERM_WORK), that keeps information regarding Worked month day(HRPADBR_EFD_INT_WORKED_DAY).
  • Fill in determination type of IT(FILL_WAGE_TYPE_TAX): This method allows to fill in the indApurIR field, from the itensRemun group. Based on the personnel number, validity and event information, you can change the parameter CV_TAX_TYPE, regarding the data element Indicator of determination type of IT (HRPADBR_EFD_WT_INC_TAX_CALC).






Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 9143 Date: 20240523 Time: 185748     sap01-206 ( 167 ms )