Ansicht
Dokumentation

PAY_BR_EFD_BADI06 - BAdI: eSocial - employee information

PAY_BR_EFD_BADI06 - BAdI: eSocial - employee information

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
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 enables changes and customizations to the content of the eSocial events which present employee information.

The interface IF_HRPAYBR_EFD_EMPLOYEE_INFO consists of the following methods:

  • Fill in contact information (FILL_CONTACT_INFO): This method allows to fill in the record contact. You can change the parameter CS_CONTACT regarding the table Employee contact information (T7BREFD_EECNTC) based on the personnel number, eSocial event type and validity information.
  • Fill in legal information(FILL_POSITION_INFO): This method allows to fill in fields of the relationship, infoPublicSectorEE, FGTS and infoContract records. You can change the parameter CS_LEGAL_INFO regarding the table Employee legal information (T7BREFD_EELINF) based on the personnel number, eSocial event type and validity information.
  • Fill in relationship information (FILL_CONTRACT_INFO): This method allows to fill in the fields of the retirement, relationship, infoPublicSectorEE, infoStatutory, remuneration, duration, contrSchedule, infoAbsence and infoTermination records. You can change the parameter CS_CONTRACT, regarding the table Relationship information (T7BREFD_EECNTR) based on the personnel number, eSocial event type and validity information.
  • Fill in employment relationship succession information(FILL_SUCCESSION_INFO): This method allows to fill in the record employSuccession. You can change the parameter CS_SUCCESSION referring to the table Employment relationship succession information group (T7BREFD_EESVNC) based on the personnel number, eSocial event type, validity and hiring class information.
  • Fill in information on the employee transfer (FILL_TRANSFEROR_INFO): This method allows to fill in the record employeeTransfer. You can change the parameter CS_TRANSFEROR, regarding table Employee transfer information group (T7BREFD_EETRFR) based on the personnel number, eSocial event type and validity information.
  • Fill in temporary employee information(FILL_TEMP_EMPLOYEE): This method allows to fill in the records temporaryEmployee and replEmployeeID. You can change the parameter CS_TEMP_EMPLOYEE, regarding table Temporary employee (T7BREFD_EETEMP) based on the personnel number, eSocial event type and validity information.
  • Fill in activities performed by the employee (FILL_EE_ACTIVITIES): This method allows to fill in the record infoPerfActiv. You can change the parameter CT_EE_ACTIVITIES regarding table Performed activities (HRPADBR_EFDE_T_ACTIVITIES) based on the personnel number, eSocial event type and validity information.
  • Fill in dependents (FILL_EE_DEPENDENTS): This method allows to fill in the record dependent. You can change the parameter CT_EE_ACTIVITIES regarding table type Table type for dependents (HRPADBR_EFDE_T_DEPENDENTS) based on the personnel number, eSocial event type and validity information.
  • Change or fill in documents (FILL_EE_DOCUMENTS): This method allows to fill in the record documents. You can change the parameter CS_DOCUMENTS regarding the table Employee identification documents (T7BREFD_EEDOCS) based on the personnel number, eSocial event type and validity information.
  • Fill in the employee’s social name (FILL_SOCIAL_NAME): This method allows to fill in the field SocNm. You can change the parameter CV_SOCIAL_NAME regarding data element Employee’s social name (HRPADBR_SOCIAL_NAME) based on the personnel number, eSocial event type and validity information.
  • Fill in employee’s workday type (FILL_WORK_SCHEDULE): This method allows to fill in or chang the records contrSchedule and schedule. You can change the following parameters based on the personnel number, eSocial event type and validity information:
  • CV_WORK_HOURS regarding the data element Weekly hours (WOSTD)

  • CV_WRKSCH_TYPE regarding the data element Workday type (HRPADBR_EFD_WRKSCH_TYPE)

  • CV_DESC_WRKSCH_REG regarding the data element Workday type description (HRPADBR_EFD_DESCRIPT_WRKSCH)

  • CT_EE_WORKDAYS regarding the data element Day rates of contract schedule (HRPADBR_EFDE_T_WORKDAYS)

  • CV_NIGHT_SHIFT_INDICATOR regarding the data element Night shift indicator (HRPADBR_NIGHT_SHIFT).

  • CV_WORK_SCHEDULE_DESCRIPTION regarding the data element Contract weekly work schedule description (HRPADBR_WRKSCH_DESC).

  • CV_PART_TIME_IND regarding the data element Part-time contract indicator (less than 25 weekly hours)(HRPADBR_PART_TIME_EE_IND).

Note

The Night shift indicator(CV_NIGHT_SHIFT_INDICATOR) and Contract weekly work schedule description(CV_WORK_SCHEDULE_DESCRIPTION) parameters refer to the new fields that are part of the S-1.0 version from the eSocial layout. Therefore, it is not necessary to fill them during the event generation on version 2.5 or below.

  • Fill in the statutory employee contract data (FILL_PS_CONTRACT): This method allows to fill in the record statutInfo. Based on the eSocial event type and validity information, you can change the parameter CS_PS_CONTRACT, regarding the structure Statutory employee information (T7BREFD_EECNTRPS).
  • Fill in the field if the employee is retired or not (FILL_RETIREMENT_INFO): This methor allows to fill in or change the record retirEmpl. Based on the retirement information you can change the parameter CV_RETIREMENT_INFO, regarding the data element Retirement code (HRPADBR_EFD_RETIRED).
  • Fill in work contract notes (FILL_EE_CONTR_NOTES): This method allows to fill in the record notes. Based on the eSocial event type and validity information, you can change the parameter, you can change the parameter CT_NOTES regarding table type Notes (HRPADBR_T_T7BREFD_NOTES).
  • Fill in contract change data (FILL_CNTR_CHG_AGREEMENT_INFO): This method allows to fill in the fields efDt and ignChng. Based on the validity and personnel number information, you can change the following parameters:
  • CV_AGREEMENT_BEGD, regarding the data element Collective agreement or convention signature date (HRPADBR_AGREEMENT_BEGDA).

  • CV_AGREEMENT_DESC, regarding data element Instrum.detail that originated amount payment previous period (HRPADBR_AGREEMENT_DESC).

  • Fill in branch and workplace data (FILL_EE_WORK_PLACE): This method allows to change the record branchWrkplId. Based on the validity, personnel number and event information, you can change the following parameters:

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

  • Fill in dependents on layouts after S-1.0 (FILL_DEPENDENTS): This method allows to fill in or change the dependent record on events generated in the eSocial version S-1.0 on. You can change the parameter CT_EE_ACTIVITIES regarding table type Table type for dependents (HRPADBR_EFDE_T_DEPENDENTS) based on the personnel number, eSocial event type and validity information.
  • Fill in RGPS ceiling indicator (FILL_PS_CONTR_RGPS_CEIL): This method allows to fill in or change the indTetoRGPS record and to inform whether the server is subject or not to the social security general regime (RGPS) ceiling. Based on the eSocial event type and validity information, you can change the parameter CV_RGPS_CEIL regarding data element Server subject to RGPS ceiling (HRPADBR_RGPS_CEIL).
  • Fill in permanence allowance information(FILL_PS_CONTR_PERM_ALLOW_INFO): This method allows to fill in or change the indAbonoPerm and dtIniAbono records. Based on the eSocial event type and validity information, it is possible to specify whether the server receives a permanence allowance and its start date. This filling is performed through the parameters below:
  • CV_PERM_ALLOWANCE, regarding data element Permanence allowance indicator for the server (HRPADBR_PERM_ALLOWANCE).

  • CV_PERM_ALLOW_DT, regarding data element Permanence allowance start date (HRPADBR_PERM_ALLOW_DT).

  • Fill in labor lawsuit information(FILL_LAWSUIT_NUMBER): This method allows to fill in or change the nrProcTrab record and to inform the labor lawsuit number, in case of admission by judicial decision. Based on the eSocial event type and validity information, you can change the parameter CV_LAWSUIT_NUMBER, regarding data element Lawsuit number (HRPADBR_LAWSUIT_NUMBER).
  • Fill in variable wage description(FILL_VAR_WAGE_DESC): This method allows to fill in or change the descSalVar record and to insert e information on remuneration and payment recurrence. Based on the eSocial event type and validity information, you can change the parameter CV_VAR_WAGE_DESC, regarding data element Wage description by task or variable (HRPADBR_EFD_VAR_WAGE_DESC).
  • Fill in workplace description in layouts after S-1.0 (FILL_EE_WORK_PLACE_DESC): This method allows to fill in or change the descComp record and insert additional information on the workplace. Based on the validity, personnel number and eSocial event information, you can change the parameter CV_DESCRIPTION, regarding the data element Workplace description (HRPADBR_WRKPLC_DESC).
Note
The methods Fill in information on the employee transfer (FILL_TRANSFEROR_INFO) and Fill in activities performed by the employee (FILL_EE_ACTIVITIES) are out of maintenance due to the exclusion of the employeeTransfer and infoPerfActiv records of the eSocial.






CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 14381 Date: 20240523 Time: 184752     sap01-206 ( 237 ms )