Ansicht
Dokumentation

PAY_BR_EFD_BADI10 - BAdI: eSocial - workplace table

PAY_BR_EFD_BADI10 - BAdI: eSocial - workplace table

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
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 enables changes and customizations to the eSocial event content regarding the tax workplaces table.

The interface IF_HRPAYBR_EFD_WRKPLC_TAB consists of the following methods:

  • Fill in workplace information (FILL_WRKPLC_INFO): This method allows to fill in the records workplaceData, workplaceSAWF and partEmplInfo. Based on the event type, company code and validity information, you can change the following parameters:
  • IV_EVENT_TYPE, regarding the data element eSocial event type (HRPADBR_EFD_EVENT_TYPE).

  • IV_BUKRS, regarding the data element Company code (BUKRS).

  • IV_BEGDA, regarding the data element Validity start date (BEGDA).

  • IV_ENDDA, regarding the data element Validity end date (ENDDA).

  • IO_DATA_LOG, regarding class CL_HRPAYBR_EFDF_DATA_LOG.

  • CT_T7BREFD_WRKPLC, regarding the table Workplace information (T7BREFD_WRKPLC).

  • IS_BRANCH_OBRA, grarding class CL_HRPAYBR_EFDE_A_BRANCH_WRKPL=>GTY_S_BRANCH_OBRA.

  • IS_FPAS_OBRA, regarding class CL_HRPAYBR_EFDE_WRKPLCFPAS_TAB=>GTY_S_FPAS.

  • IS_T7BRAP, regarding the table Branch and/or site grouping(T7BRAP).

  • IV_SELECTION_ENDDA, regarding the data element Validity end date (ENDDA).

  • IV_SELECTION_BEGDA, regarding the data element Validity start date (BEGDA).

  • Fill in information on third party lawsuits (FILL_LAWSUIT_THIRD): This method allows to fill in the record infoThirdPartyLawsuit. Based on the third party number, event type, company, branch, site and validity information, you can change the following parameters:
  • IV_THIRD_CODE, regarding the data element Third party code(HRPADBR_THIRD_CODE).

  • IV_EVENT_TYPE, regarding the data element eSocial event type (HRPADBR_EFD_EVENT_TYPE).

  • IV_BUKRS, regarding the data element Company code (BUKRS).

  • IV_FILIA, regarding the data element Business place (J_1BBRANC_).

  • IV_OBRA, regarding the data element Construction site code (PBR_OBRA).

  • IV_FPAS, regarding the data element FPAS code (PBR_FPASI).

  • IV_BEGDA, regarding the data element Validity start date (BEGDA).

  • IV_ENDDA, regarding the data element Validity end date (ENDDA).

  • IO_DATA_LOG, regarding class CL_HRPAYBR_EFDF_DATA_LOG.

  • IV_SELECTION_ENDDA, regarding the data element Validity end date (ENDDA).

  • IV_SELECTION_BEGDA, regarding the data element Validity start date (BEGDA).

  • CT_LAWSUIT_THIRD, regarding table type Information on the existence of lawsuits (HRPADBR_EFDE_T_LAWSUIT_THIRD)

  • CV_THIRD_SUSP_CODE, regarding the data element Third party code to whom the collection is suspended (HRPADBR_THIRD_SUSP_CODE)

  • Fill in port operator information(FILL_PORT_OP): This method enables you to fill in the dadosOpPort record. Based on the event type, company code, validity start and end date and class information, you can fill in the parameters below:
  • IV_EVENT_TYPE, regarding the data element eSocial event type (HRPADBR_EFD_EVENT_TYPE).

  • IV_BUKRS, regarding the data element Company code (BUKRS).

  • IV_BEGDA, regarding the data element Validity start date (BEGDA).

  • IV_ENDDA, regarding the data element Validity end date (ENDDA).

  • IO_DATA_LOG, regarding class CL_HRPAYBR_EFDF_DATA_LOG.

  • IS_BRANCH_OBRA, grarding class CL_HRPAYBR_EFDE_A_BRANCH_WRKPL=>GTY_S_BRANCH_OBRA.

  • IS_FPAS_OBRA, regarding class CL_HRPAYBR_EFDE_WRKPLCFPAS_TAB=>GTY_S_FPAS.

  • IV_SELECTION_BEGDA, regarding the data element Validity start date (BEGDA).

  • IV_SELECTION_ENDDA, regarding the data element Validity end date (ENDDA).

  • CV_RAT,regarding the data element RAT factoring (PBR_PSAT).

  • CV_FAP, regarding the data element FAP factor (PBR_PFAP).

Note

The parameters IS_FPAS_OBRA, IV_FPAS and IS_FPAS_OBRA are optional, so they are only filled in when you are using the FPAS option, in the event S-1020 - Tax workplaces table.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 8052 Date: 20240607 Time: 092226     sap01-206 ( 80 ms )