Ansicht
Dokumentation

ECPAO_BADI_PDDATA - BAdI: Extraction of Additional Employee-Related Org. Management Data

ECPAO_BADI_PDDATA - BAdI: Extraction of Additional Employee-Related Org. Management Data

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the integration add-on for Enterprise Resource Planning (ERP) and SuccessFactors Employee Central (EC) when extracting employee master data from the ERP system and replicating it to EC. You can use it if you have an on-premise ERP system as well as SuccessFactors Employee Central in place, which you use in a side-by-side scenario.

You use this BAdI to retrieve the content for additional employee-related fields from ERP Organizational Management, such as the functional area or job family, which you want to map to custom-string fields in Employee Central. For more information, see Mapping Additional Employee-Related Organizational Management Fields from ERP to Employee C.

The BAdI is called when you have selected the Use BAdI Implementation checkbox in the V_ECPAO_MNGRTYPE Customizing view. For more information, see Define Relationship Types for Managers and Employee-Related Org. Mgmt Data.

The BAdI uses the GET_EMP_PDDATA method with the following parameters:

Importing parameters

  • IT_PERNR_OMINFO: Table containing the following fields, based on which the data is extracted:
  • PPERNR: The employee's personnel number (PERNR)

  • PBEGDA: Start date of the data record

  • PENDDA: End date of the data record

  • PORGID: ID of the employee's organizational unit, which is read either from the Organizational Assignment (0001) or the Relationships (1001) infotype

  • PPOSID: ID of the employee's position, which is read either from the Organizational Assignment (0001) or the Relationships (1001) infotype

  • IS_MNGR_TYPE: Structure containing the information for the relationship types for which the Use BAdI Implementation checkbox is selected in the V_ECPAO_MNGRTYPE Customizing view. This structure consists of the following fields:
  • MNGR_ID: Relationship type

  • EVPATH: Assigned evaluation path

  • TDEPTH: Assigned structure depth

  • IS_ACTIVE: Indicates whether the relationship type is active or not

  • IS_BADI_IMPL: Use BAdI Implementation checkbox

Exporting parameter

  • ET_RESULT_TAB: Table consisting of the following fields:
  • PERNR: The employee's personnel number

  • RELATION_CODE: Relationship type

  • BEGDA: Start date of the data record

  • ENDDA: End date of the data record

  • RELATED_PERNR: The manager's personnel number

  • UPDATED: Note: This indicator is currently not used

  • EC_MGNR_USER: The manager's user

  • MNGR_USER_ID: The manager's ID in the ERP system

  • .INCLUDE: Custom structure included in the ECPAO_EE_MGNR table

You have defined a relationship type in the V_ECPAO_MNGRTYPE Customizing view for which you have selected the Use BAdI Implementation checkbox.

If you have selected the Use BAdI Implementation checkbox in the V_ECPAO_MNGRTYPE view, create a customer-specific implementation of this BAdI. The implementation must provide the mapping for all Organizational Management fields that you want to map.

  • CL_ECPAO_ERP_MNGR_TYP_PDDATA
This class contains some examples of how you can provide ERP content for Organizational Management fields. If you create a customer-specific implementation of this BAdI, you can copy the sample class for your implementation and adapt the coding to suit your requirements.






BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 5169 Date: 20240606 Time: 123654     sap01-206 ( 65 ms )