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 Entity | Entity Name in EC | EC Entity Description |
---|---|---|
WS_FO_LEG | FOCompany | EC Entity for FO Legal Entity |
WS_FO_PC | FOPayComponent | EC Entity for Pay Component |
WS_FO_PCG | FOPayComponentGroup | EC Entity for Pay Component Group |
Here are the details of the sample content delivered from SAP:
Legal Entity
EC Field | EC Field Description | ERP Table | ERP Field | BAdI Mapping |
---|---|---|---|---|
Country/Region | Country/Region | T001 | LAND1 | - |
currency | Currency | T001 | WAERS | - |
externalCode | Legal Entity ID | T001 | BUKRS | - |
name_defaultValue | Legal Entity Name | T001 | BUTXT | - |
standardHours | Standard Weekly Hours | - | - | Yes |
startDate | Start Date | - | - | Yes |
status | Status | - | - | Yes |
Pay Component
EC Field | EC Field Description | ERP Table | ERP Field | BAdI Mapping |
---|---|---|---|---|
externalCode | Pay Component ID | - | - | Yes |
canOverride | Can Override | - | - | Yes |
currency | Currency | - | - | Yes |
description | Description | T512T | LGTXT | - |
endDate | End Date | T511 | ENDDA | - |
description | Description | T512T | LGTXT | - |
status | Status | - | - | Yes |
payComponentType | Pay Component Type | - | - | Yes |
startDate | Start Date | T511 | BEGDA | - |
isEarning | Is Earning | - | - | Yes |
frequencyCode | Frequency | - | - | Yes |
recurring | Recurring | - | - | Yes |
isEndDatedPayment | isEndDatedPayment | - | - | Yes |
maxFractionDigits | Maximum Decimal Places | - | - | Yes |
name | Name | T512T | LGTXT | - |
Pay Component Group
EC Field | EC Field Description | ERP Table | ERP Field | BAdI Mapping |
---|---|---|---|---|
externalCode | Pay Component Group ID | - | - | Yes |
name | Name | T52D6 | WGRTX | - |
description | Description | T52D6 | WGRTX | - |
startDate | Start Date | - | - | Yes |
endDate | End Date | - | - | Yes |
status | Status | - | - | Yes |
showOnCompUI | Display on Comp UI | - | - | Yes |
useForComparatioCalc | Use for Comparatio Calculation | - | - | Yes |
currency | Currency | - | - | Yes |
useForRangePenetration | Use for Range Penetration | - | - | Yes |
payComponentFlx | Pay 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.