Replicating Foundation Object Data from SAP S∕4HANA to Employee Central

Objective

After completing this lesson, you will be able to identify Employee Central entities for foundation object data entities.

Standard Foundation Data Related Employee Central Entities

You can migrate foundation objects as per your requirement by configuring the transformation template group, transformation template, and developing the BAdI implementations.

This process involves extracting data of foundation objects from the SAP S/4HANA system and migrating it to SAP SuccessFactors Employee Central (EC) using the program ECPAO_FO_OBJ_EXTRACTION. It replicates the foundation objects data by using the transformation template group configurations defined using the view cluster VC_ECPAO_MAP_FO.

SAP has delivered a standard set of foundation objects (Pay Component, Pay Component Group, and Company), sample content, and example BAdI implementation. Also, you can also migrate extra foundation objects as per your requirement by configuring the transformation template group and transformation template and developing the BAdI implementations.

The following table shows the EC Entity details that are packaged with the service pack, sample content, and a sample BAdI implementation. The replication currently works only with web service transfer mode.

EC EntityEntity Name in ECEC Entity Description
WS_FO_LEGFOCompanyEC Entity for FO Legal Entity
WS_FO_PCFOPayComponentEC Entity for Pay Component
WS_FO_PCGFOPayComponentGroupEC Entity for Pay Component Group

Here are the details of the sample content delivered from SAP:

Legal Entity

EC FieldEC Field DescriptionERP TableERP FieldBAdI Mapping
Country/RegionCountry/RegionT001LAND1-
currencyCurrencyT001WAERS-
externalCodeLegal Entity IDT001BUKRS-
name_defaultValueLegal Entity NameT001BUTXT-
standardHoursStandard Weekly Hours--Yes
startDateStart Date--Yes
statusStatus--Yes

Pay Component

EC FieldEC Field DescriptionERP TableERP FieldBAdI Mapping
externalCodePay Component ID--Yes
canOverrideCan Override--Yes
currencyCurrency--Yes
descriptionDescriptionT512TLGTXT-
endDateEnd DateT511ENDDA-
descriptionDescriptionT512TLGTXT-
statusStatus--Yes
payComponentTypePay Component Type--Yes
startDateStart DateT511BEGDA-
isEarningIs Earning--Yes
frequencyCodeFrequency--Yes
recurringRecurring--Yes
isEndDatedPaymentisEndDatedPayment--Yes
maxFractionDigitsMaximum Decimal Places--Yes
nameNameT512TLGTXT-

Pay Component Group

EC FieldEC Field DescriptionERP TableERP FieldBAdI Mapping
externalCodePay Component Group ID--Yes
nameNameT52D6WGRTX-
descriptionDescriptionT52D6WGRTX-
startDateStart Date--Yes
endDateEnd Date--Yes
statusStatus--Yes
showOnCompUIDisplay on Comp UI--Yes
useForComparatioCalcUse for Comparatio Calculation--Yes
currencyCurrency--Yes
useForRangePenetrationUse for Range Penetration--Yes
payComponentFlxPay Component ID--Yes

In addition to the preceding sample content, a sample implementation has been provided as part of the implementation example class CL_ECPAO_MAP_FO_DATA_VIA_BADI, to support the standard foundation objects replication.

Summary

  • Foundation objects are migrated from SAP S/4HANA to Employee Central using the ECPAO_FO_OBJ_EXTRACTION program, with mapping configurations managed via transformation template groups and templates in the VC_ECPAO_MAP_FO view cluster.
  • SAP provides standard foundation objects including Legal Entity, Pay Component, and Pay Component Group along with sample content and a sample BAdI implementation to facilitate replication.
  • You can migrate additional foundation objects by configuring new transformation template groups and templates, and developing custom BAdI implementations as required.
  • Foundation object replication currently works only with web service transfer mode, using the sample implementation class CL_ECPAO_MAP_FO_DATA_VIA_BADI to support standard objects.