Ansicht
Dokumentation

ECPAO_BADI_FOBJTRANS - BAdI: Mapping Foundation Objects data for Data Migration to EC

ECPAO_BADI_FOBJTRANS - BAdI: Mapping Foundation Objects data for Data Migration to EC

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
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 SAP SuccessFactors Employee Central to populate data from the ERP system for Foundation Objects.

You can use this BAdI to read the data from the ERP database tables and map it with the Employee Central fields for the foundation objects. You can find the list of standard foundation objects delivered by SAP for migrating data to EC in the view V_ECPAO_FO_UPS. You can define any additional foundation objects for migrating data to Employee Central not delivered as part of the standard set using the view V_ECPAO_FO_UPS.

The BAdI is called by the ECPAO_TRANSFER_FO_OBJ_TO_EC program, based on the foundation object that is selected on the selection screen of this program. The selected foundation object is used as filter when calling the BAdI interface IF_FOBJ_TRANS_TO_EC. For more information about the program, see Transfer Foundation Objects from ERP to Employee Central

SAP has delivered active BAdI implementations for the following foundation objects devlivered in the standard set - Pay Component, Pay Component Group, & Company. If you have defined any new additional foundation objects outside the delivered standard set of foundation objects, you will have to implement this BAdI accordingly to map the Employee Central field of that corresponding EC Entity.

The BAdI provides the PROCESS_FO_DATA method, which uses the following parameters:

  • Importing parameter
  • I_SELOPT_TAB: This parameter holds the data that is provided on the selection screen of the ECPAO_TRANSFER_FO_OBJ_TO_EC program:

> EC Instance
> Transport request
> Country grouping
> Generic structure with the foundation object name and the additonal data provided on the selection screen
> Test flag
  • Exporting Parameters
  • ET_ENTRIES: This parameter holds the Employee Central field ID and field content

  • EV_OBJECT_ID: Foundation object name

  • ET_T_MSG: This is for adding the messages - if there are any - to the output.

  • ET_T_INDEX: This is for adding the index to the foundation object IDs to identify the exact upsert order.

The BAdI uses the filter FO_OBJ. The filter value should be the foundation object name from Employee Central. The filter type is String. Filter value 1 is for the SFOData.FOPayComponent object. Filter value 2 is for the SFOData.FOPayComponentGroup object. Filter value 3 is for the SFOData.FOCompany object

For migarting the standard list of foundation objects (Pay Component, Pay Component Group, & Company), you can use the active default BAdI implementation delivered by SAP. If you need to change the mapping logic, you can first deactivate the standard BAdI implementation and then create your own custom BAdI implementation.

For migrating any new additional foundation objects created in the view V_ECPAO_FO_UPS, you will have to create your own custom BAdI implementation.






Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3797 Date: 20240606 Time: 040326     sap01-206 ( 102 ms )