SF Ec Erp Impl Ecs4hcm En-Us
SF Ec Erp Impl Ecs4hcm En-Us
1 Introduction to Data Migration and Replication from SAP S∕4HANA to Employee Central. . . . . . . . 4
1.1 Before Starting: Am I reading the right documentation?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Target Group of This Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Your Integration Team. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Implement SAP SuccessFactors Employee Central integration with SAP Human Capital Management for SAP S/
4HANA to migrate employee and organizational data from SAP S∕4HANA to SAP SuccessFactors Employee Central
once, for example, if you want to switch from SAP S∕4HANA to Employee Central to manage your employees. In
addition, you can also replicate the data regaulary to use Employee Central as the cloud-based core HR system for
a subset of employees and retain SAP S∕4HANA as the core HR system for another subset of employees.
Use this integration guide to set up a regular or one-time replication of employee-related data from the SAP
S∕4HANA system to Employee Central.
Remember
The SFSF EC S4 HCM INTEGRATION (ECS4HCM) add-on is intended for integration with SAP S/4HANA
(on-premise edition) or SAP S/4HANA Cloud Private Edition but not for integration with SAP S/4HANA
Cloud Public Edition. Use SAP Master Data Integration instead for SAP SuccessFactors integration with SAP S/
4HANA Cloud Public Edition. For more information, refer to Integrating SAP SuccessFactors Employee Central
with SAP Master Data Integration.
You can also use SAP Master Data Integration for integration with SAP S/4HANA Cloud Private Edition.
However, this requires that no HR processes run in SAP S/4HANA Cloud Private Edition. With SAP Master
Data Integration, only the workforce person is replicated to the SAP S/4HANA system. This is not sufcient to
support HR processes such as payroll.
You can use the data replication described in this guide to set up a delta-enabled migration to initially move your
employee data from the SAP S∕4HANA system to Employee Central if you want to transition to the core hybrid
deployment option and plan to use Employee Central as the master system for employee-related data in the future.
You set up a new Employee Central system and want to migrate data from an existing SAP S∕4HANA system to
Employee Central. After the migration, you switch from using SAP S∕4HANA to using Employee Central as the
system of record for the migrated data.
The core hybrid deployment option means that Employee Central is used as the system of record holding the
employee data and reporting lines of all employees, but existing processes such as payroll, time management, or
custom HR processes still run in an SAP S∕4HANA system landscape.
Implementing Data Migration and Replication to Employee Central
Introduction to Data Migration and Replication from SAP S∕4HANA to Employee
4 PUBLIC Central
Restriction
Data replication from SAP S∕4HANA systems to Employee Central is generally available for:
• Existing SAP SuccessFactors customers leveraging SAP SuccessFactors Performance & Goals, SAP
SuccessFactors Succession & Development, Employee Prole and Organization Chart as part of the
Foundational Capabilities, and the related Reporting capabilities.
• Net new SAP SuccessFactors customers who don't use any of the SAP SuccessFactors solutions yet,
but have implemented or plan to implement SAP SuccessFactors Employee Central for parts of their
organization.
Before you start looking for information in this document, you need to be sure you're looking in the right place.
This document describes how to set up integration between SAP S∕4HANA and SAP SuccessFactors Employee
Central. It assumes that you have a team of experts in place who know their ways in the systems involved in the
integration.
Read the following information to learn how to set up and use the products or modules involved in the integration.
Note
For information about data purge, refer to the following sections in the SAP SuccessFactors guide Implementing
and Managing Data Protection and Privacy:
• Purge of Employee Central Data Replicated to the Enterprise Resource Planning (ERP) System
• Purge of Data Related to Data Replication to Employee Central in the Enterprise Resource Planning (ERP)
System
The following groups of people will benet from reading this document:
• Implementation partners, consultants, and Product Support, for fast support of customers and prospective
customers
• Cloud operations
• SAP-certied administrators at customer site
The implementation and integration process of SAP SuccessFactors Employee Central with SAP S∕4HANA is a
collaborative eort that leverages the skills of various experts.
You need to pull together a team of experts for your implementation project when integrating SAP SuccessFactors
Employee Central with SAP S∕4HANA.
SAP SuccessFactors consultant • Is the main point of contact for the entire implementation
and integration process.
• Ensures that all required system settings for Employee
Central are done.
• Works closely with the SAP S∕4HANA team, to ensure
successful data replication.
SAP HCM for SAP S∕4HANA consultant • Is the main point of contact for the conguration of SAP
HCM for SAP S∕4HANA according to the needs of the
customer.
• Works closely with the SAP SuccessFactors consultant to
ensure successful data replication.
Check the prerequisites and complete the basic steps in SAP SuccessFactors, SAP Cloud Integration, and SAP
S∕4HANA to implement data migration and replication to Employee Central.
Complete the basic steps in SAP SuccessFactors to implement data migration and replication to Employee Central.
Creating Permission Group and Permission Role for the SAP SuccessFactors API User [page 11]
Create a permission group and a permission role for the API user so that the permissions required for data
replication from SAP SuccessFactors Employee Central can be granted to this user.
Enable the features required for integrating SAP SuccessFactors Employee Central with SAP S∕4HANA in SAP
SuccessFactors Provisioning.
Procedure
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact
your implementation partner or Account Executive. For any non-implementation tasks, contact Product
Support.
Results
Create the SAP SuccessFactors API user (for example, a user, which is called SFAPI). This user is used in SAP Cloud
Integration and in SAP S∕4HANA.
Procedure
STATUS active
USERID SFAPI
USERNAME SFAPI
ASSIGNMENT_ID_EXTERNAL SFAPI
MANAGER NO_MANAGER
HR NO_HR
Note
The rst two rows in the le must be header rows. If you want, you can also remove empty columns in order
to make the le easier to read.
Results
You’ve created a user with the status Active and the user ID, user name, and assignment ID SFAPI.
Create a permission group and a permission role for the API user so that the permissions required for data
replication from SAP SuccessFactors Employee Central can be granted to this user.
Procedure
4. In the Choose Group Members section, assign the SAP SuccessFactors API user you created. To do so, select
the Username category and search for SFAPI.
5. Choose Done.
6. Go back to the Admin Center and choose the Manage Permission Roles admin tool.
7. Choose Create New and enter the following values:
8. Grant this role to the permission group you created (such as SFAPI).
9. Choose Save Changes.
a. Log on to SAP SuccessFactors using your new SAP SuccessFactors API user and password.
Use the logon URL of the structure https://<server>.successfactors.com/login you used before.
b. Check whether the logon is successful.
In case you’re asked to reset the initial password during the logon, provide a new password and note it
down.
Results
You now have a group and role for the SAP SuccessFactors API user.
Next Steps
Grant all permissions that are required for integration with SAP S∕4HANA to the permission role and set API login
exceptions for the user (for example, to ensure that their password doesn't expire).
Data replication between SAP SuccessFactors Employee Central and the SAP S∕4HANA system requires
administrator and user permissions for SAP SuccessFactors APIs.
The permissions listed here grant users and administrators access to the SAP SuccessFactors OData API and
SFAPI. SFAPI access includes access to CompoundEmployee API.
Note
Either grant the Employee Central
HRIS SOAP API permission, to give
the administrator unrestricted ac-
cess to the CompoundEmployee
API. Or grant the Employee Central
Compound Employee API (restricted
access) permission, to restrict the
access to the data of specic em-
ployees. Don't select both permis-
sions for the same permission role.
For more information, refer to Grant-
ing Permissions for Full Access to the
CompoundEmployee API and Grant-
ing Permissions for Restricted Ac-
cess to the CompoundEmployee API
in the Employee Central Compound
Employee API guide.
Note
With this permission, you can fur-
ther restrict either the Employee
Central HRIS SOAP API permission
or the Employee Central Compound
Employee API (restricted access)
permission. The Employee Central
Compound Employee API (restricted
segment access) permission allows
the user with this role to access
CompoundEmployee segments
according to the conguration setup
only. For more information, refer to
Granting Permissions for Segment
Access to the CompoundEmployee
API in the Employee Central Com-
pound Employee API guide.
Administrator Employee Central API Employee Central HRIS OData API (read-
only)
Note
This permission is required for snap-
shot pagination. Snapshot pagina-
tion is used in all integration ows
that perform an OData query. This
applies to the following integration
ow:
Related Information
Ensure that the password for your SAP SuccessFactors user doesn’t expire. You can also restrict the user's access
to specic IP addresses.
Procedure
Restriction
We don't support domain names in this tool at present.
Results
You’ve congured your SAP SuccessFactors API user in a way that their password won't expire.
Complete the basic steps in SAP Cloud Integration to implement data migration and replication to Employee
Central.
Performing Basic Steps for Using SAP Cloud Integration [page 19]
Ensure that the basic setup is completed before you start conguring SAP Cloud Integration for data
replication from Employee Central to SAP S∕4HANA.
Adding Your User to the Members List in SAP BTP Cockpit [page 24]
Ensure that your user is available in the members list in the SAP BTP cockpit so that you can determine the
technical name of your subaccount.
Determining Subaccount Name for the Cloud Connector in SAP BTP Cockpit [page 24]
Connecting the Cloud Connector to Your SAP Cloud Integration Account [page 25]
Add a SAP Cloud Integration subaccount to the Cloud Connector so that you can connect it.
Creating an Access Control System Mapping for the Cloud Connector [page 26]
Add a system mapping for access control in the Cloud Connector to specify the backend systems that can
be accessed by your cloud applications.
Creating an Access Control Resource Mapping for the Cloud Connector [page 27]
Add a resource mapping for access control in the Cloud Connector to specify the resources that can be
accessed by your cloud applications.
Checking Whether the Cloud Connector Is Registered in Your Subaccount [page 27]
Check whether your Cloud Connector has been successfully created.
Conguring the Integration Flow for Data Replication to Employee Central [page 29]
Congure the integration ow for replication of employee and organizational data to SAP SuccessFactors
Employee Central in your customer workspace in SAP Cloud Integration.
Conguring the Integration Flow for Replication of Generic Data from Employee Central to SAP S∕4HANA Using
the OData API [page 34]
Congure the integration ow for replication of data such as MDF objects or picklists from SAP
SuccessFactors Employee Central in your customer workspace in SAP Cloud Integration.
Conguring the Value Mapping for Connecting Multiple Employee Central Instances to SAP S∕4HANA [page
40]
Congure the mapping of Employee Central instance IDs from SAP S∕4HANA to the address and
credentials dened in the corresponding integration ows if you want to connect multiple Employee Central
instances to the same client of your SAP S∕4HANA system.
Determining the Endpoint URLs Required for Outbound Communication from SAP S∕4HANA [page 45]
Determine the endpoint URLs of the integration ows in SAP Cloud Integration. The SAP S∕4HANA
administrator enters these URLs when activating the SAP S∕4HANA outbound web services, so that SAP
S∕4HANA is able to address the middleware.
Get an overview of the integration content that's available in SAP Cloud Integration for replicating employee and
organizational data from SAP S∕4HANA to Employee Central and for replication of generic data such as picklists
from Employee Central.
Data replication to Employee Central uses the following integration packages and integration ows in SAP Cloud
Integration.
SAP ERP or SAP S/4HANA Integration with Upsert Data from SAP ERP or SAP S4HANA to SAP
SAP SuccessFactors Employee Central: Employee and
SuccessFactors Employee Central Using the OData API
Organizational Data
Note
The integration package also contains another integration
ow, Query Employee Key Data from SAP SuccessFactors
Employee Central. This integration ow isn't used in the
SFSF EC S4 HCM INTEGRATION (ECS4HCM) add-on.
Therefore, don't congure and deploy this integration ow.
SAP SuccessFactors Employee Central Integration with SAP Replicate Generic Data from SAP SuccessFactors Employee
ERP or SAP S/4HANA: Generic Data Central to SAP ERP or SAP S/4HANA Using the OData API
SAP SuccessFactors Employee Central Integration with SAP Mapping of Employee Central Instance ID to Enable Connection
ERP or SAP S/4HANA: System Mapping of Multiple Employee Central Instances
Note
You only need this integration package if you want to con-
nect multiple Employee Central instances to the same cli-
ent of your SAP S∕4HANA system.
Here are graphical overviews of how the integration ows work and how the systems interact with each other.
Ensure that the basic setup is completed before you start conguring SAP Cloud Integration for data replication
from Employee Central to SAP S∕4HANA.
Procedure
1. Check whether you have the required SAP Cloud Integration account.
You can use your S-user for this purpose. For more information, refer to Creating a User for Cloud Integration,
Neo Environment.
5. Make sure that the SAP Cloud Integration user has the necessary permission for sending messages.
For more information, refer to Dening Permissions for Senders to Process Messages on a Runtime Node,
Persona for the Cloud Foundry Environment, or Persona for the Neo Environment.
Results
Next Steps
Note
For more information about which versions of the middleware content provided for this integration are
supported, refer to SAP Note 3400216 .
Caution
You are only allowed to congure the content as described in this guide. If you make modications not
described in this guide, SAP will not provide support for the modied content.
The middleware content described in this guide is meant for use in SAP Cloud Integration. You are not
allowed to deploy it in an on-premise SAP Process Orchestration system. For more information, see SAP Note
2428801 .
Add the user credentials in your SAP Cloud Integration account that are required for communication with SAP
S∕4HANA and SAP SuccessFactors Employee Central.
Procedure
• If you want to use the OAuth2 SAML Bearer Assertion authentication type for Employee Central receivers,
select OAuth2 SAML Bearer Assertion and deploy a corresponding credentials artifact.
For more information, refer to Deploying an OAuth2 SAML Bearer Assertion.
5. To create a credentials artifact for the communication between SAP Cloud Integration and SAP S∕4HANA,
select User Credentials again.
6. Deploy a credentials artifact with the following attributes:
You've added the user credentials of your SAP S∕4HANA system and SAP SuccessFactors instance in SAP Cloud
Integration.
Download the certicate from your SAP Cloud Integration account so that the SAP S∕4HANA administrator can
upload it to the SAP S∕4HANA system.
Context
How you download a certicate depends on the browser you're using. We explain it here using the Edge browser as
an example.
Procedure
1. In your browser window, choose the Settings and more symbol in the upper right corner.
Results
You’ve downloaded the certicate from SAP Cloud Integration and can now hand it over to the SAP S∕4HANA
administrator.
Upload the SAP S∕4HANA to your SAP Cloud Integration account to secure the data exchange between both
systems.
Prerequisites
The SAP S∕4HANA administrator has downloaded the certicate from your SAP S∕4HANA system.
Procedure
Results
You've enabled certicate-based communication from SAP Cloud Integration to your SAP S∕4HANA system.
Related Information
Ensure that your user is available in the members list in the SAP BTP cockpit so that you can determine the
technical name of your subaccount.
Context
The subaccount is required for conguring the Cloud Connector. The Cloud Connector acts as a reverse invoke
proxy between the SAP S∕4HANA system and SAP Cloud Integration.
Procedure
Results
Determine the technical name of your subaccount in the SAP BTP cockpit. The Cloud Connector administrator
enters this name when connecting the Cloud Connector to your SAP Cloud Integration account.
Prerequisites
Your user has been added to the members list in SAP BTP Cockpit
Results
You’ve determined the subaccount name and can provide it to the Cloud Connector administrator. They'll use the
name when setting up the connection to the subaccount.
Add a SAP Cloud Integration subaccount to the Cloud Connector so that you can connect it.
Prerequisites
The SAP BTP cockpit administrator has determined the subaccount name.
Procedure
Subaccount Enter the technical name of the SAP Cloud Integration sub-
account that has been provided by the SAP BTP cockpit
administrator.
Subaccount User Enter the name of the subaccount user, which you obtained
when you registered your account on SAP BTP. Alternatively,
you can add a new subaccount user in the SAP BTP cockpit.
Results
Add a system mapping for access control in the Cloud Connector to specify the backend systems that can be
accessed by your cloud applications.
Procedure
Results
Add a resource mapping for access control in the Cloud Connector to specify the resources that can be accessed
by your cloud applications.
Procedure
Results
Procedure
The Cloud Connector you created with the location ID you specied should be shown as Connected.
Copy the integration packages for data replication to SAP SuccessFactors Employee Central that you want to use
from the catalog to your customer workspace in SAP Cloud Integration.
Procedure
If you receive a warning that a package already exists in your workspace, choose either Overwrite or Create
copy, depending on what ts better in your situation.
Results
You've copied the required integration packages to your workspace and can now start conguring the integration
ows contained in the package.
Congure the integration ow for replication of employee and organizational data to SAP SuccessFactors Employee
Central in your customer workspace in SAP Cloud Integration.
Prerequisites
You've copied the SAP ERP or SAP S/4HANA Integration with SAP SuccessFactors Employee Central: Employee and
Organizational Data and SAP SuccessFactors Employee Central Integration with SAP ERP or SAP S/4HANA: Generic
Data integration package to your customer workspace.
Procedure
2. Choose Design Integration and Artifacts from the top-level menu on the left.
3. Select the SAP ERP or SAP S/4HANA Integration with SAP SuccessFactors Employee Central: Employee and
Organizational Data integration package from the list of packages in your customer workspace.
5. Choose Actions Congure for the Upsert Data from SAP ERP or SAP S4HANA to SAP SuccessFactors
Employee Central Using the OData API integration ow.
6. On the Sender tab, select SAP_ERP for Sender and ll in the following elds:
Authorization User Role or Client Certicate If you choose User Role, the SAP
S∕4HANA administrator must select
the User ID / Password authentica-
tion option when enabling the SAP
S∕4HANA outbound web services. If
you choose Client Certicate here, the
SAP S∕4HANA administrator must se-
lect the X.509 SSL Client Certicate
authentication option when you enable
the outbound web services.
User Role (only in case User Role is se- The pre-entered role, Create a custom role if you want to
lected for Authorization) ESBmessaging.send, or the name of a use a dedicated role to control author-
custom role that you created for this ization to process the integration ow.
purpose
For more information, refer to Connec-
tion Setup for Inbound Communication
- Integration Flow Endpoints.
Certicate (only in case Client Name of the certicate that you cong- For more information, refer to Client
Certicate is selected for Authorization) ured for this purpose Certicate Authentication (Inbound).
7. Go to the Receiver tab, select SFSF_EC for Receiver and ll in the following elds:
Credential Name Name of the credentials artifact of type If you've selected Basic for
User Credentials or type OAuth2 SAML Authentication: Enter the name of the
Bearer Assertion type that you created credentials artifact with the type User
before
Credentials.
Note
If you connect multiple Employee
Central instances to the same cli-
ent of your SAP S∕4HANA system,
remove the credential name and re-
place it with the following string: $
{property.CREDENTIALS_H
TTP}. Enter the credential name
that you removed from here in the
value mapping Mapping of
Employee Central Instance ID to
Enable Connection of Multiple
Employee Central Instances and
map it to an Employee Central in-
stance ID there. Then this integra-
tion ow derives the credentials for
this specic Employee Central in-
stance from the value mapping.
Timeout (in ms) 1 Use the default value. Only change this
value if you’re facing issues. In that
case, try a higher number.
8. Go to the More tab, select All Parameters for Type, and ll in the following elds:
Note
If you connect multiple Employee
Central instances to the same cli-
ent of your SAP S∕4HANA sys-
tem, remove the URL and re-
place it with the following string: $
{property.ADDRESS_HTTP}.
Enter the URL that you removed
from here in the value mapping
Mapping of Employee Central
Instance ID to Enable Connection
of Multiple Employee Central
Instances and map it to an Em-
ployee Central instance ID there.
Then this integration ow derives
the URL for this specic Employee
Central instance from the value
mapping.
Caution
For data protection reasons, enable
the extended log for troubleshoot-
ing purposes only. Make sure that
you disable the parameter again af-
terwards.
The Messages screen is shown, which informs you about errors and warnings issued for this integration ow.
10. To ignore the messages, choose Close.
Results
You’ve congured the integration ow for replication of employee and organizational data to SAP SuccessFactors
Employee Central in SAP Cloud Integration and generic data replication can now deploy it.
Enabling and Testing the SAP S∕4HANA Outbound Web Service [page 55]
Creating User Credentials in SAP Cloud Integration [page 21]
Conguring the Value Mapping for Connecting Multiple Employee Central Instances to SAP S∕4HANA [page 40]
Congure the integration ow for replication of data such as MDF objects or picklists from SAP SuccessFactors
Employee Central in your customer workspace in SAP Cloud Integration.
Prerequisites
You've copied the SAP SuccessFactors Employee Central Integration with SAP ERP or SAP S/4HANA: Generic Data
integration package to your customer workspace.
Context
You can use the Replicate Generic Data from SAP SuccessFactors Employee Central to SAP ERP or SAP S/4HANA
Using the OData API integration ow to replicate entities from Employee Central that are exposed to the OData API.
In the standard, the integration ow is currently available for importing picklists from Employee Central into the
SAP S∕4HANA system.
Procedure
2. Choose Design Integration and Artifacts from the top-level menu on the left.
3. Select the SAP SuccessFactors Employee Central Integration with SAP ERP or SAP S/4HANA: Generic Data
integration package from the list of packages in your customer workspace.
5. Choose Actions Congure for the Replicate Generic Data from SAP SuccessFactors Employee Central to
SAP ERP or SAP S/4HANA Using the OData API integration ow.
Authorization User Role or Client Certicate If you choose User Role, the SAP
S∕4HANA administrator must select
the User ID / Password authentica-
tion option when enabling the SAP
S∕4HANA outbound web services. If
you choose Client Certicate here, the
SAP S∕4HANA administrator must se-
lect the X.509 SSL Client Certicate
authentication option when you enable
the outbound web services.
User Role (only in case User Role is se- The pre-entered role, Create a custom role if you want to
lected for Authorization) ESBmessaging.send, or the name of a use a dedicated role to control author-
custom role that you created for this ization to process the integration ow.
purpose
For more information, refer to Connec-
tion Setup for Inbound Communication
- Integration Flow Endpoints.
Certicate (only in case Client Name of the certicate that you cong- For more information, refer to Client
Certicate is selected for Authorization) ured for this purpose Certicate Authentication (Inbound),
Neo Environment.
7. Go to the Receiver tab, select Employee_Central for Receiver and ll in the following elds:
Address Base URL of your SAP SuccessFactors Choose Select to add the base URL of
instance, using the https:// syntax your SAP SuccessFactors system, de-
pending on your data center.
Restriction
We don’t support IP addresses in
URLs as part of our reference ar-
chitecture. Use domain names in-
stead. If you think you have a spe-
cial case that requires IP addresses
instead of domain names, contact
Product Support.
Note
If you connect multiple Employee
Central instances to the same cli-
ent of your SAP S∕4HANA sys-
tem, remove the URL and re-
place it with the following string: $
{property.ADDRESS_SFSF}.
Enter the URL that you removed
from here in the value mapping
Mapping of Employee Central
Instance ID to Enable Connection
of Multiple Employee Central
Instances and map it to an Em-
ployee Central instance ID there.
Then this integration ow derives
the URL for this specic Employee
Central instance from the value
mapping.
Credential Name Name of the credentials artifact of type If you've selected Basic for
SuccessFactors or type OAuth2 SAML Authentication: Enter the name of
Bearer Assertion type that you created the credentials artifact with the
before
type SuccessFactors. For example:
ba_BPTestS40
Note
If you connect multiple Employee
Central instances to the same cli-
ent of your SAP S∕4HANA system,
remove the credential name and re-
place it with the following string: $
{property.CREDENTIALS_S
FSF}. Enter the credential name
that you removed from here in the
value mapping Mapping of
Employee Central Instance ID to
Enable Connection of Multiple
Employee Central Instances and
map it to an Employee Central in-
stance ID there. Then this integra-
tion ow derives the credentials for
this specic Employee Central in-
stance from the value mapping.
Note
If this integration ow keeps termi-
nating with a timeout error, you
can reduce the page size and in-
crease the timeout value so that
the middleware processes less data
in more time.
Timeout (in min) 1 Use the default value. Only change this
value if you’re facing issues. In that
case, try a higher number.
Address SAP S∕4HANA web service address Enter the endpoint URL that the SAP
S∕4HANA administrator determined
from the SOA Management transaction
in your SAP S∕4HANA system. For ex-
ample: http://
mys4system12345/sap/bc/srt
/scs/sap/
genericdatareplicationrequ
est
Proxy Type Internet or On-Premise If you don't use the Cloud Connector,
choose Internet.
Location ID (only in case On-Premise is Location ID that you dened for the You can also enter $
selected for Proxy Type) Cloud Connector instance associated {header.headername} to dynami-
with your account in the destination
cally read the value from a header.
conguration on the cloud side
The location ID identies the location
of this Cloud Connector for a specic
account. It is used as routing informa-
tion. Thus it’s possible to connect multi-
ple Cloud Connector instances to a sin-
gle account. The location ID must be
unique per account and must be some
identier that can be used in a URI.
Authentication Basic, Client Certicate, or Principal In case Internet is selected for Proxy
Propagation Type: Choose either Basic or Client
Certicate. Don't use the other options.
Credential Name (only in case Basic is Name of the credentials artifact of type For more information, refer to Basic Au-
selected for Authentication) User Credentials that you created be- thentication.
fore
Private Key Alias (only in case Name of the certicate that you cong- For more information, refer to Client
Client Certicate is selected for ured for this purpose Certicate Authentication (Outbound).
Authentication)
Timeout (in ms) 60000 Use the default value. Only change this
value if you’re facing issues. In that
case, try a higher number.
The Messages screen is shown, which informs you about errors and warnings issued for this integration ow.
10. To ignore the messages, choose Close.
Results
You’ve congured the integration ow for replication integration ow for replication of generic data from Employee
Central using the OData API in SAP Cloud Integration and can now deploy it.
Note
This integration ow isn’t scheduled in the middleware. Instead, the replication of picklists is
initiated by the SAP S∕4HANA system using the Report to Import Picklists Using the Generic OData
Service Call (ECPAO_IMPORT_PICKLIST) program. This program calls the outbound web service
getGenericDataReplicationQuery_Out. The web service queries the picklists from SAP SuccessFactors
Employee Central, using the Replicate Generic Data from SAP SuccessFactors Employee Central to SAP ERP
or SAP S/4HANA Using the OData API integration ow.
Enabling and Testing the SAP S∕4HANA Outbound Web Service [page 55]
Determining the Endpoint URLs Required for the SAP S∕4HANA Receivers of the Integration Flows [page 58]
Conguring the Value Mapping for Connecting Multiple Employee Central Instances to SAP S∕4HANA [page 40]
Congure the mapping of Employee Central instance IDs from SAP S∕4HANA to the address and credentials
dened in the corresponding integration ows if you want to connect multiple Employee Central instances to the
same client of your SAP S∕4HANA system.
Prerequisites
The constant ERP to EC/EC to ERP: Connect Multiple EC Instances must be enabled in SAP S∕4HANA.
You've copied the SAP SuccessFactors Employee Central Integration with SAP ERP or SAP S/4HANA: System
Mapping integration package to your customer workspace.
Context
You only need to congure this value mapping if you want to connect multiple Employee Central instances to the
same client of your SAP S∕4HANA system.
Procedure
2. Choose Design Integration and Artifacts from the top-level menu on the left.
3. Select the SAP SuccessFactors Employee Central Integration with SAP ERP or SAP S/4HANA: System Mapping
integration package from the list of packages in your customer workspace.
5. Choose Actions Congure for the Mapping of Employee Central Instance ID to Enable Connection of
Multiple Employee Central Instances value mapping.
6. Make the following entries in the mapping table.
ERP, ECCompany Enter the Employee Central instance ID Employee Central instance IDs are
as dened in the SAP S∕4HANA system. dened in Customizing of the
Business Integration Builder in
the SAP S∕4HANA system, under
Prerequisites Specify Employee
Central Instance ID .
EC, URL; SFSF Credentials; HTTP Enter the following values separated by Map the URL and the SFSF Credentials
Credentials semicolons: elds for the following integration ows
if you use them:
• URL: Enter the address as dened
in the Employee Central receiver • Replicate Employee Master Data
of the integration ow. If one and Org. Assignments from SAP
SuccessFactors Employee Central
Employee Central instance is con-
to SAP ERP or SAP S4HANA
nected to your SAP S∕4HANA sys-
• Send Conrmations from SAP
tem, the Address eld contains the
ERP or SAP S4HANA to SAP
base URL of your SAP SuccessFac- SuccessFactors Employee Central
tors instance. If you connect mul-
• Replicate Generic Data from SAP
tiple Employee Central instances, SuccessFactors Employee Central
remove the URL from the integra- to SAP ERP or SAP S/4HANA
tion ow and enter it here. In the Using the OData API
integration ow, you enter a string
Map the URL and the HTTP Credentials
instead so that the integration ow
elds for the Upsert Data from SAP ERP
reads this value mapping.
or SAP S4HANA to SAP SuccessFactors
Employee Central Using the OData API
Note integration ow. If you don't use this in-
For the Upsert Data from tegration ow, make only two entries in
SAP ERP or SAP S4HANA to this column and omit the third value.
SAP SuccessFactors Employee
Central Using the OData API in- For more information about the strings
tegration ow, the URL is not to be entered in these integration ows,
stored in the receiver. It is de- refer to the pages about conguring the
ned on the More tab, in the integration ows listed in Related Infor-
eld SFSF_EC_Base_URL.
mation.
The Messages screen is shown, which informs you about errors and warnings issued for this value mapping.
8. To ignore the messages, choose Close.
Results
You’ve congured the mapping of Employee Central instance IDs from SAP S∕4HANA to the integration ow
address and credentials and can now deploy it.
Related Information
Conguring the Integration Flow for Employee Master Data and Organizational Assignment Replication
Conguring the Integration Flow for Conrmation
Conguring the Integration Flow for Replication of Generic Data from Employee Central to SAP S∕4HANA Using the
OData API [page 34]
Conguring the Integration Flow for Data Replication to Employee Central [page 29]
Deploy the artifacts that you've congured before in your customer workspace in SAP Cloud Integration.
Procedure
2. Choose Design Integration and Artifacts from the top-level menu on the left.
3. Select the SAP ERP or SAP S/4HANA Integration with SAP SuccessFactors Employee Central: Employee and
Organizational Data integration package from the list of packages in your customer workspace.
5. Choose Actions Deploy for the integration ow Upsert Data from SAP ERP or SAP S4HANA to SAP
SuccessFactors Employee Central Using the OData API.
6. Proceed in the same way with the other integration packages and artifacts if you use them:
SAP SuccessFactors Employee Central Integration with SAP Replicate Generic Data from SAP SuccessFactors Employee
ERP or SAP S/4HANA: Generic Data Central to SAP ERP or SAP S/4HANA Using the OData API
SAP SuccessFactors Employee Central Integration with SAP Mapping of Employee Central Instance ID to Enable
ERP or SAP S/4HANA: System Mapping Connection of Multiple Employee Central Instances
Results
You have successfully deployed the integration ows and, if required, the value mapping so that your SAP Cloud
Integration account is ready for replication of data to Employee Central.
Determine the endpoint URLs of the integration ows in SAP Cloud Integration. The SAP S∕4HANA administrator
enters these URLs when activating the SAP S∕4HANA outbound web services, so that SAP S∕4HANA is able to
address the middleware.
Procedure
The SAP S∕4HANA uses this URL when setting up the outbound web service in SAP S∕4HANA.
Note
The URL looks like this: https://<runtime URL of your SAP Cloud Integration
environment>/cxf/<sender address>
The sender address part is the sufx you enter in the Address eld of the sender in SAP Cloud Integration
when setting up the integration ow. For example: ERP_to_EC_GenericODataUpsert
To get the complete endpoint URL, congure and deploy the integration ow rst, then copy the URL from
Manage Integration Content.
Results
You’ve successfully copied the endpoint URLs the SAP S∕4HANA administrator needs when activating the SAP
S∕4HANA outbound web services.
Related Information
Enabling and Testing the SAP S∕4HANA Outbound Web Service [page 55]
Report a case if you have issues that you can't solve using the monitoring in SAP Cloud Integration, providing
information about the process run.
Context
If you face an issue with your SAP Cloud Integration-based integration scenario and want to report a case, enable
the extended log to ensure that the data that's needed for analyzing the issue is written to the log.
Caution
For data protection reasons, enable the extended log for troubleshooting purposes only. Make sure that you
disable the parameter again afterwards.
If you enable the extended log, the complete message payload containing all data that is to be transferred is
stored in the log. Make sure that you congure permissions in a way that only authorized persons can view the
payload in the log. Also ensure that you're compliant with the data protection and privacy regulations so that
your data gets the highest level of protection.
Procedure
1. Enable the extended logging option for the integration that caused errors.
Replication of employee and organiza- Conguration of the Upsert Data from Set the
tional data to Employee Central SAP ERP or SAP S4HANA to SAP ENABLE_PAYLOAD_LOGGING pa-
SuccessFactors Employee Central Using rameter to TRUE
the OData API integration ow
Replication of generic data such as Selection screen of the Report Select the Enable Payload Logging
MDF objects or picklists from Employee to Import Picklists Using the checkbox
Central Generic OData Service Call
(ECPAO_IMPORT_PICKLIST) program
in the SAP S∕4HANA system
For the required information that you should add in your case, refer to the SAP Knowledge Base Article (KBA)
2763716 .
Complete the basic steps in SAP S∕4HANA to implement data migration and replication to Employee Central.
Installing the Required Software Component Versions and Support Packages in SAP S∕4HANA [page 48]
Ensure that the required software component versions and support packages are installed in your SAP
S∕4HANA system.
Enabling and Testing the SAP S∕4HANA Outbound Web Service [page 55]
Enable the SAP S∕4HANA outbound web service and perform a basic test to check whether it works.
Determining the Endpoint URLs Required for the SAP S∕4HANA Receivers of the Integration Flows [page 58]
Locate the endpoint URLs of the service denitions in your SAP S∕4HANA system. The SAP Cloud
Integration administrator enters these URLs for the SAP S∕4HANA receivers of the integration ows in
SAP Cloud Integration.
Ensure that the required software component versions and support packages are installed in your SAP S∕4HANA
system.
Procedure
1. Make sure that your SAP S∕4HANA system has at least release level SAP S/4HANA 2022 installed.
a. Sign in to your SAP S∕4HANA system.
b. Choose System Status... .
c. In the SAP System Data section, choose Details for Product Version.
d. Make sure component S4HCM with release 100 (or a higher release) is listed on the Installed Software
Component Versions tab.
If your system doesn't have the minimum release level yet, upgrade it using the Software Update Manager
(SUM). For more information, refer to Software Update Manager 2.0.
For more information about the HCM approach within SAP S∕4HANA, refer to the SAP Note 2273108 .
Note
If you want to connect multiple Employee Central instances to the same client of your SAP S∕4HANA
system, the following minimum stack level is required:
• SAP S/4HANA 2022: Support Package Stack 4 or higher
• SAP S/4HANA 2023: Feature Package Stack 2 or higher
2. Implement the SFSF EC S4 HCM INTEGRATION (ECS4HCM) add-on in your SAP S∕4HANA system.
a. Go to the Maintenance Planner and choose Explore Systems.
b. Select your SAP S∕4HANA system by clicking the system ID.
c. Choose Plan.
d. Select Install or Maintain an Add-On.
e. Select SFSF EC S4 HCM INTEGRATION.
f. Select at least one instance, for example, PA Inbound Service Enabling, and the highest support package
stack.
Note
Only the newest support package ensures that all features provided for this integration are available in
your system.
g. Follow the process to download the software packages and the target.xml le to your download
directory.
h. Go to the Add-On Installation Tool (SAINT) transaction in your SAP S∕4HANA system and install the
add-on.
The add-on comprises the ECS4HCM 100 software component version. For more information about the add-
on, such as maintenance period, language support, or available support package stacks, go to the Product
Results
You’ve ensured that the required software component versions and support package stacks are installed in SAP
S∕4HANA. You can now check for additional SAP Notes that may be required.
Related Information
Check for SAP Notes that provide bug xes, which are relevant for data replication from SAP SuccessFactors
Employee Central to SAP S∕4HANA.
Procedure
Only consider SAP Notes provided for the ECS4HCM 100 software component version. Most SAP Notes are
included in the latest support package provided for this software component version. If the latest support
package is installed in your system, you don't need to implement the SAP Notes contained in the support
package again.
Results
You’ve ensured that required SAP Notes are applied to your SAP S∕4HANA system.
If you face issues with the technical conguration of the web service runtime environment in your SAP S∕4HANA
system, refer to SAP Note 2347013 (Conguration of the ABAP Web Service Runtime with transaction
SRT_ADMIN).
Related Information
Find out why we recommend that you always install the latest support package of the integration add-on in the SAP
S∕4HANA system.
The main use case of the SFSF EC S4 HCM INTEGRATION add-on, which comprises the ECS4HCM 100 software
component version, is to synchronize data between the cloud solution SAP SuccessFactors Employee Central and
SAP S/4HANA (on-premise edition) or SAP S/4HANA Cloud Private Edition.
Cloud solutions are regularly upgraded by SAP. Upgrades of on-premise systems are customer-managed.
New features in Employee Central often require enhancements of the ECS4HCM software component. New
integration features are also made available in the latest version of the ECS4HCM software component only. You
can use these new features only if your SAP S∕4HANA system is up to date. Furthermore, the data synchronization
between Employee Central and the SAP S∕4HANA system can only run smoothly if regular upgrades are performed
on both sides. Therefore, the add-on must also be upgraded regularly.
Ideally, you install the latest support package of the SFSF EC S4 HCM INTEGRATION add-on together with each
new Employee Central release.
If this isn’t possible due to upgrade restrictions concerning your SAP S∕4HANA system, we recommend installing
the latest support package of the add-on at least once a year. Only then we can ensure that the integration runs
smoothly.
Grant the technical and the business permissions to the users who runs the replication of picklist data from
Employee Central.
Prerequisites
You're familiar with the role administration tools in the SAP S∕4HANAUser and Role Administration of Application
Server ABAP in the SAP NetWeaver system. For more information about role administration, see documentation.
Context
You can divide the triggering of the replication of picklist data from Employee Central and the actual replication and
processing of the picklist data in SAP S∕4HANA between dierent users:
• A processing user more as a business user, who initiates the report (ECPAO_IMPORT_PICKLIST) to query the
picklist data from Employee Central.
• A technical user for recieving the queried data and processing it in the SAP S∕4HANA system.
The following template role is available for the replication of picklist data from Employee Central:
Procedure
Download the certicate from your SAP S∕4HANA system so that the SAP Cloud Integration administrator can
upload it to your SAP Cloud Integration account.
Procedure
Results
You’ve downloaded the certicate from your SAP S∕4HANA system and can now hand it over to the SAP Cloud
Integration administrator.
Related Information
Upload the SAP Cloud Integration to your SAP S∕4HANA system to secure the data exchange between both
systems.
Prerequisites
The SAP Cloud Integration administrator has downloaded the certicate from your SAP Cloud Integration tenant.
Procedure
Results
You've enabled certicate-based communication from your SAP S∕4HANA system to SAP Cloud Integration.
Related Information
Enable the SAP S∕4HANA inbound web services used during the replication of picklists into SAP S∕4HANA.
Context
By activating the inbound web services, you enable the SAP S∕4HANA system to request data from Employee
Central, using the integration ows in the middleware. Picklist import from Employee Central uses the following
SAP S∕4HANA inbound web service:
Procedure
Enable the SAP S∕4HANA outbound web service and perform a basic test to check whether it works.
Context
By activating the outbound web service, you enable the SAP S∕4HANA system to request for generic data like
picklists from Employee Central using the integration ow in the middleware. Data replication is triggered by the
SAP S∕4HANA system, which uses the following SAP S∕4HANA outbound web service:
Procedure
Note
If you select the User ID / Password authentication option, the SAP Cloud Integration administrator must
choose User Role when conguring authorizations for the ERP sender in the corresponding integration
ow.
If you select the X.509 SSL Client Certicate authentication option, there are dierent options depending
on whether you use SAP Cloud Integration in the Cloud Foundry or the Neo environment:
• In the Cloud Foundry environment, the SAP Cloud Integration administrator must choose Client
Certicate when conguring authorizations for the ERP sender in the integration ow.
• In the Neo environment, the SAP Cloud Integration administrator can choose Client Certicate or User
Role when conguring authorizations for the ERP sender in the integration ow. If the administrator
selects the User Role authorization, a certicate-to-user mapping is required in addition. For more
information, refer to Setting Up Inbound HTTP Connections (with Certicate-to-User Mapping), Neo
Environment.
For more information, refer to Creating PSEs and Maintaining the PSE Infrastructure in the SAP NetWeaver
documentation.
8. Congure the transport settings.
Port Enter the port number of your SAP Cloud Integration envi-
ronment. If you haven't set up a specic port, enter 443 (the
default port for HTTPS).
Proxy settings
Name of proxy host If you use a proxy, enter proxy. If not, leave this eld empty.
Port number of proxy host If you use a proxy, enter the port number, such as 8080. If
not, leave this eld empty.
User name for proxy access If applicable, enter your proxy user
Password of proxy user If applicable, enter the password of your proxy user
10. Leave the other elds empty. You don't need to make any entries in the Identiable Business Context and
Operation Settings steps.
11. Choose Finish to save your new logical port.
12. Select the entry end choose Set Log. Port Default.
13. Choose Ping Web Service to test outbound connectivity from SAP S∕4HANA to SAP Cloud Integration.
You're shown the message Web service ping successful for LP '<name of logical port>', proxy '<web service
name>'
Results
You've set up and tested the outbound web service in your SAP S∕4HANA system.
Related Information
Determining the Endpoint URLs Required for Outbound Communication from SAP S∕4HANA [page 45]
Locate the endpoint URLs of the service denitions in your SAP S∕4HANA system. The SAP Cloud Integration
administrator enters these URLs for the SAP S∕4HANA receivers of the integration ows in SAP Cloud Integration.
Procedure
Results
You’ve successfully copied the URLs the SAP Cloud Integration administrator needs when setting up the
integration ows in SAP Cloud Integration.
Dene an ID that represents your SAP SuccessFactors Employee Central instance in the SAP S∕4HANA system.
Context
The Employee Central ID serves as a bracket for the metadata that you use in Employee Central and transfer to
the SAP S∕4HANA system. It bundles the settings that you make for data replication between Employee Central
and SAP S∕4HANA. The ID you dene doesn't necessarily have to match the name of your SAP SuccessFactors
instance. However, if the constant ERP to EC/EC to ERP: Connect Multiple EC Instances is enabled, the Employee
Central instance ID identies the corresponding physical SAP SuccessFactors instance that is connected to the
SAP S∕4HANA system. In this case, it can be helpful to use the name of the SAP SuccessFactors instance as the
Employee Central instance ID so that you can identify the corresponding Employee Central instance more easily.
If you replicate data in both directions (fromSAP S∕4HANA to Employee Central and from Employee Central to SAP
S∕4HANA), the ID is used for both replication directions.
1. Go to Customizing for the Business Integration Builder and choose Prerequisites Specify Employee Central
Instance ID .
2. Enter an ID and a description for your Employee Central instance.
Next Steps
Make additional settings for your Employee Central instance, such as mapping PersonIdExternal from Employee
Central or dening a default language. To do so, go to the following activities in Customizing for the Business
Integration Builder:
• Data Migration and Replication to Employee Central Employee Data Dene Employee Data Settings for
Employee Central Instance
• Data Migration and Replication to Employee Central Organizational Data Dene Organizational Data
Settings for Employee Central Instance
Related Information
Connecting Multiple Employee Central Instances to the Same SAP S∕4HANA Client [page 242]
Dening Employee Data-Related Settings for Your Employee Central Company [page 118]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Learn more about what needs to be in place if you want to replicate data from SAP S∕4HANA to Employee Central.
Before proceeding, we should determine the full transmission start date that should be used in your
implementation. The full transmission start date denes when you will start using Employee Central as the system
of record for the data contained in the replication scope. Before the full transmission start date, SAP S∕4HANA is
the system of record. For more details you can refer the eect of this date on the replication behaviour here How
the Earliest Transfer Date Inuences Eective-Dated and Non-Eective Dated Templates.
You can replicate the employee master data to SAP S∕4HANA by using Business Integration Builder framework
(BIB) framework.
Employee data with time constraint 3 can only be migrated to Employee Central entities that also support
overlapping data records.
Here are some things you should consider when setting up the data model for employee-related data in Employee
Central.
• The eld length of an Employee Central eld that is within the integration scope must be the same as the
length of the target eld in the SAP S∕4HANA system, which you want to map.
For example, if you want to map the Employee Central eld Country to the SAP S∕4HANA eld Country Key
(LAND1) and LAND1 has a length restriction of 3 characters, you must restrict the length of the Country eld in
the Employee Central data model to 3 characters.
• Picklists for Employee Central elds that you want to map to SAP S∕4HANA elds must be uploaded to
Employee Central before data replication starts so that picklist entries from Employee Central can be mapped
to value help entries from SAP S∕4HANA.
• If you use CSV le-based data replication, set the locale of the user who imports the CSV les containing
the data that was extracted from the SAP S∕4HANA system to English US (under Account Navigation
Options Change Language ). This is to ensure that the Employee Central data model uses the same date
and number format as the SAP S∕4HANA system does. You can change the locale when the initial upload to
Employee Central is nished.
• For some specic requirements Position Management must be enabled for your account using the Manage
Employee Central Settings admin tool in Employee Central.
• Some specic requirements apply to the default Employee Central entities provided for data replication. For
more information see the section that lists the entities you can use.
Note
Infoporter is not responsible for sending the welcome emails for new users and also does not control the
password generation logic in Employee Central.
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
The HR processes related to the replication of employee master data from SAP S∕4HANA to Employee Central
require some new event reasons for handling specic cases.
Context
Procedure
1. Create a PSEUDO_HIRE event reason for the Hire event using the Active employee status as shown here:
This event reason is used when the cuto date is after the hire date of an employee. Here the date of record
in Employee Central is not the actual hire date. The event reason of the starting record in Job Info will be
PSEUDO_HIRE even though the action type on cuto date is rehire.
2. Create a PSEUDO_REHIRE event reason for the hire event using the Active employee status as shown here:
This event reason is applicable when an employee is rehired after termination and when the earliest transfer
date is between the termination date and rehire date. Job information records will be extracted from the rehire
date with PSEUDO_REHIRE event reason.
Note
3. Create a PSEUDO_ADDGA event reason for the Add Global Assignment event using the Active employee status
as shown here:
This event reason is used when the earliest transfer date you've dened for data replication is later than the
start date of a global assignment. The PSEUDO_ADDGA event reason implies that the start date of the Job
Information record isn't the actual start date of the global assignment. Instead, the earliest transfer date
(which is after the start of the host assignment) is used.
4. Create a DATAVAL event reason for the Data Change event using the Active employee status as shown here:
This event reason is used when the employee master data being extracted is valid for the replication
to Employee Central, based on the implementation of the Validity Periods for Data Replication to EC
(EX_ECPAO_EMP_VALIDITY_TAB) BAdI.
5. Create a DATAINVAL event reason for the Data Change event using the Furlough employee status as shown
here:
This event reason is used when the employee master data being extracted is not valid for the replication
to Employee Central, based on the implementation of the Validity Periods for Data Replication to EC
(EX_ECPAO_EMP_VALIDITY_TAB) BAdI.
6. Create a DATACHG event reason for the Data Change event using the Active employee status as shown here:
This event reason is used when there is a change in the value of a EC eld but no change in actions between two
consecutive records in the Job Info template.
7. Create a REHINT event reason for the Rehire event using the Active employee status as shown here:
This event reason is used when there is a gap between the termination date in PERNR belonging to one country
and hire date of the PERNR in next country, during international transfer. (There is a date gap of the PERNR
belonging to the rst country when terminated and the PERNR of the second country when hired.)
8. Create an INT_TRANSFER event reason for the International Transfer event using the Active employee status as
shown here:
This event reason is used when there is no gap between the termination date in PERNR belonging to one
country and hire date of the PERNR in next country during international transfer.
Grant the business permissions to the users who run the migration of employee master data to Employee Central.
Prerequisites
You're familiar with the role administration tools in the SAP S∕4HANA system. For more information about
role administration, see User and Role Administration of Application Server ABAP in the SAP NetWeaver
documentation.
The following template roles are available for the migration of employee master data to Employee Central:
Procedure
For the migration of recurring and non-recurring payment, you need to enable few rules in Employee Central for
automatic calculation of the frequency eld.
Context
Due to the change in the auto calculation funtionality in Employee Central, you will now have to manually enable few
rules for the automatic calculation of frequency eld.
Procedure
This section describes in detail which steps need to be carried out when you want to replicate data from SAP
S∕4HANA to Employee Central to Employee Central to use Employee Central as your system of record.
Caution
Make sure that data that is mastered in SAP S∕4HANA and replicated to Employee Central can't be edited
in Employee Central. Use role-based permissions to disable the edit mode in Employee Central based, for
example, on country and not based on the legal entity of the employee. Filtering by Legal entity is not allowed.
Note
Employee data with time constraint 3 (which means that any number of valid infotype records can exist at any
one time) can only be replicated to Employee Central entities that also support overlapping data records.
By default, you can use the Employee Central entities that are listed below.
The number in the rst column shown below denes the sequence in which employee data should be imported
into Employee Central. If you import the data manually using CSV les, make sure that you follow this sequence.
For more information refer to section Working with Data Imports in the Implementing Employee Central Core
implementation guide. Find the most current version of this guide at http://help.sap.com/hr_ec.
200 Alternative cost dis- Alternative Cost Distribution EmpCostDistribution (WS_20) Employment object
tribution (CSV_20)
210 Alternative cost dis- Alternative Cost Distribution EmpCostDistributionItem Employment object
tribution items Items (CSV_21) (WS_21)
Note
• In all Employee Central entities listed above there are standard mappings which are predened by the
SAP S∕4HANA system. You can't congure them while dening primary mappings in the transformation
template group conguration.
• Employee Central entities WS_EE_REPL and WS_EE_WOR have been delivered for the employee replication
of data to ERP. These entities are not relevant when you replicate the data to Employee Central. For
migration scenarios, these entities should not be congured.
• For migrating the payment information details, you will have to now congure the payment information
template CSV_16/WS_16.
Template Used
Template Used for for Web Service-
CSV-Based Data Based Data Ex- Type of Entity
Employee Cen- Extraction in SAP traction in SAP in Employee Cen-
Sequence No. Country tral Entity ERP HCM ERP HCM tral
Note
Basic Import / User information is generated by the data extraction program. All elds of this entity use a standard
mapping, which you can't change.
If Global Assignment Management is enabled for your account and the corresponding role-based permissions are
enabled, standard events are validated for global assignments. Therefore you might get a validation error when
you transfer Job History data from SAP S∕4HANA to Employee Central. We recommend that you set up the
conguration of the missing events using a picklist entry and setting the active status for it.
If you don't use these feature, you can disable the Global Assignment Management option using the Manage
Employee Central Settings admin tool in Employee Central to avoid validation errors during data replication.
Addresses
In the SAP S∕4HANA system, the Addresses (0006) infotype has time constraint 2, which means that there can
be gaps between address records. The Employee Central addresses entities are able to handle these gaps, but
the user doesn't see them on the UI. If you maintain any subtype with time constraint 1, the gap would not be
supported in the SAP S∕4HANA system.
Each wage type is itself a subtype of the Recurring Payments/Deductions (0014) infotype or Additional Payments
(0015) infotype or One time Payment o-cycle (0267) infotype. The wage types include directly- and indirectly-
evaluated wage types. Use the cloning feature to dene a eld mapping for the Recurring Payments/Deductions
infotype.
Wage types with time constraint 3 (which means that any number of valid records can exist at any one time) are
not supported by Employee Central for Pay Component Recurring entity. Therefore, you can neither dene a eld
mapping for wage types with time constraint 3 in the SAP S∕4HANA system nor replicate them from SAP S∕4HANA
to Employee Central. In Employee Central, you can have multiple records in Non recurring payment Info for the
same pay component. So wage types with time constraint 3 are supported for Pay Component Non Recurring
template.
Note
When you maintain negative values for the Amount eld for a wage type instead of deduction wage types
(which is the recommended approach), the same negative value is transferred to Employee Central. If any
calculations/rules are applied on Employee Central side against this eld, then you need to check the
calculations and the Employee Central congurations applied on it for correctness.
Payment information
If you use CSV-based data replication, you only need the child entity Payment Information Details, since the parent
payment information entity associated with this child entity is created automatically during CSV imports.
Note
Data replication can't handle the parent and the child entity together in one upsert. The
validateMainPaymentMethod_PaymentInfo business rule in Employee Central, however, checks for the child
entity that also the parent entity is contained in the same upsert. Therefore, we recommend that you deactivate
this rule for the legal entity of the employees whose data you replicate from SAP S∕4HANA to Employee
Central.
Let's say the employees whose data is mastered in SAP S∕4HANA and replicated to Employee
Central are all assigned to the legal entity SBM. Then you would add this statement to the
validateMainPaymentMethod_PaymentInfo rule as shown below:
The new MDF-based Payment Information in Employee Central has to be enabled in Provisioning. For more
information refer to section Setting up MDF-based Payment Information in the Implementing Employee Central
Core implementation guide.
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
A precongured mapping entity is available for mapping the country-specic Employee Central card types to
country codes from the Countries (T005) table in the SAP S∕4HANA system.
Global information
Since global information data is country-specic, not all global information templates delivered as standard
templates are provided for the Web Service Transfer communication channel. For the le based transfer CSV_18
can be used. If you want to replicate global information data from SAP S∕4HANA to Employee Central using web
service transfer, create an Employee Central template in the customer namespace for each country version you
support and select the corresponding country in the Country column. The Employee Central template name you
enter must match the name of the country-specic global information OData entity as you can nd it in the OData
API Data Dictionary in Employee Central. Also the upsert sequence must be 35 and the dependent entity should be
personal information (WS_5).
Note
WS_18_IND has been delivered as a standard entity for web service transfer communication channel for
country India as mentioned in the above table.
Similar to global information of employee, global information for employee's dependents is country-specic.
Hence, not all global information templates delivered as standard templates are provided for the Web Service
Transfer communication channel. For the le based transfer CSV_18_DEP can be used. If you want to replicate
global information data for employee's dependents from SAP S∕4HANA to Employee Central using web service
transfer, then create an Employee Central template in the customer namespace for each country version you
support and select the corresponding country in the Country column. The Employee Central template name you
enter must match the name of the country-specic global information OData entity as you can nd it in the OData
API Data Dictionary in Employee Central. Also the dependent entity should be dependent's personal information
(WS_5_DEP).
Note
WS_18D_IND has been delivered as a standard entity for web service transfer communication channel for
country India as mentioned in the above table.
Payment Information details for country USA has been delivered. You can create custom template for any other
countries for which you want to replicate the data.
If you use CSV-based data replication, you only need the child entity Alternative Cost Distribution Items, since
the parent alternative cost distribution entity associated with this child entity is created automatically during CSV
imports.
If you use web service-based data replication, you need the parent entity EmpCostDistribution as well as the
associated child entity EmpCostDistributionItem. In the Dene Custom Employee Central Templates Customizing
activity, the ID of the parent Employee Central template is specied in the ID of Dependent EC Template eld of the
child template.
Some restrictions apply if you want to transfer alternative cost distribution data using repetitive structure mapping.
You can transfer data from SAP S∕4HANA to Employee Central using dierent communication channels.
• Using CSV-based template les and the manual import framework in Employee Central
To use the manual import framework, go to the Admin Center and choose the following tools:
For this type of entity in Employee Central ... You use this admin tool ...
• Using a synchronous Web service call and the middleware that is available for the data replication from SAP
S∕4HANA to Employee Central
Example
This is an example of communication channels which you can use for employee data replication:
To extract employee data from SAP S∕4HANA into CSV-based templates, make these settings for the Employee
Data Extraction (ECPAO_EMPL_EXTRACTION) program:
• Choose a template group that uses the CSV File-Based Transfer communication channel.
• Choose the communication channel File Transfer Use Server Path or File Transfer Use Local Drive
Path .
Note
When you schedule the program as a background job (using the job scheduler report
ECPAO_EMPL_DMT_JOB_SCHEDULER) to carry out a mass data extraction, always choose the File
Transfer Use Server Path option.
It is recommended to use server path for downloading the payload les and as a result the default option to
download the les are server path.
The download log le shows all the success, error, and warning messages. It will also include the number of les
that were downloaded and from where the le is downloaded from. An additional authorization is performed to
check if the user has the rights to download the CSV le.
To transfer employee data using a synchronous web service call, make these settings for the Employee Data
Extraction (ECPAO_EMPL_EXTRACTION) program:
• Choose a template group that uses the Web Service Transfer communication channel.
• Choose the communication channel Web Service Transfer.
It is recommended to use server path for downloading the payload les and as a result the default option to
download the les are server path.
If you dene an earliest transfer date for a transformation template group that you use for employee data
extraction, this date inuences eective-dated as well as non-eective dated templates.
• Eective-dated templates:
For eective-dated templates, if the earliest transfer date is after the hire or rehire date of an employee,
the employee's data is extracted starting with the earliest transfer date. (This is also true for Non-Recurring
Payments.) The following situations might occur:
• The employee is active on the earliest transfer date: In this case, the data is extracted starting with the
earliest transfer date for all eective-dated templates and Non-Recurring Payments.
• For eective-dated templates, if the earliest transfer date is after the hire or rehire date of an employee,
the employee's data is extracted starting with the earliest transfer date. (This is also true for Non-Recurring
Payments.) The following situations might occur:
• The employee active on the earliest transfer date: In this case, the data is extracted starting with the
earliest transfer date for all eective-dated templates and Non-Recurring Payments.
• The employee is terminated or retired on the earliest transfer date and hired or rehired later: In this
case, the data is extracted starting with the hire or rehire date for all eective-dated templates and
Non-Recurring Payments.
• The employee is terminated or retired on the earliest transfer date and isn't rehired: In this case, no data
will be extracted for all eective-dated templates and Non-Recurring Payments.
• For non-eective dated templates, if the earliest transfer date is after the date on which you run the data
extraction program, no data is extracted. If the earliest transfer date is before the date on which you run the
data extraction program or if no earliest transfer date is dened, the data record valid on the date on which you
run the data extraction program is extracted.
When an employee is terminated, his or her assigned position, job code, division, department, business
unit, and cost-center are persisted in Job Information in Employee Central. In the SAP S∕4HANA system,
however, a terminated employee is a default position assigned, and the job, organizational unit, and cost-
center assignments are removed from the Organizational Assignment (0001) infotype. If this information was
replicated to Employee Central, the assignments are also removed there from the employee's Job Information.
That's why the SAP S∕4HANA system replicates the corresponding assignments from the employee's last
active Organizational Assignment record instead of from the terminated one.
In the next sections we'll go step by step through all activities you need to carry out in the SAP S∕4HANA system to
make data replication work.
Note
All employee infotypes (both standard PA infotype and non-standard PA infotype) are allowed to be congured
in the Business Integration Builder framework. These infotypes are indicated by the PAPD eld value "X" in the
table T777D. In the employee migration/integration only the standard PA infotypes which has prex "PA" in the
database table names are supported. Any elds mapped to the non-standard PA infotypes will be not extracted
and hence will be ltered out in the migration/integration scenario.
To dene customer-specic settings, you use the Customizing activities and Business Add-Ins (BAdIs) in the
integration add-on for SAP S∕4HANA and SAP SuccessFactors Employee Central (EC H4HCM) .
In your SAP S∕4HANA system, go to the Customizing: Execute Project (SPRO) transaction and choose SAP
Reference IMG. In the SAP Customizing Implementation Guide structure, open Personnel Management
Integration with SuccessFactors Employee Central Business Integration Builder :
Overview of Customizing Structure
In the Customizing structure, you can nd detailed information for each Customizing activity and BAdI:
If you've used the so called Talent Hybrid integration before, you need to specify that you now use employee data
replication from SAP S∕4HANA to SAP SuccessFactors Employee Central instead.
Context
You make this setting in the Switch O Talent Hybrid Integration for Employee Data Customizing activity (view
V_ECPAO_T77S0_SFSFI_SBSER). You need to set the switch in this Customizing activity if you want to start using
the SFSF EC INTEGRATION (PA_SE_IN) add-on to replicate employee master data from SAP S∕4HANA to SAP
SuccessFactors Employee Central , where you have previously used the integration add-on for SAP S∕4HANA and
SAP SuccessFactors HCM Suite to replicate employee data from SAP S∕4HANA to the Employee Prole in the SAP
SuccessFactors Talent Suite (which is also known as Talent Hybrid integration).
Setting the switch tells your SAP S∕4HANA system that employee data is replicated to Employee Central using the
Employee Data Extraction (ECPAO_EMPL_EXTRACTION) program. This has the following eects on the integration
add-on for SAP S∕4HANA and SAP SuccessFactors HCM Suite:
Procedure
You import the metadata from SAP SuccessFactors Employee Central to make Employee Central elds available in
the SAP S∕4HANA system so that you can use them for eld mappings.
Note
You can only use this program to import metadata for web service entities. If you want to import metadata
for CSV le-based entities, use the Import of Metadata from Employee Central program instead.
Note
You can only use this program to import metadata for CSV le-based entities. If you want to import
metadata for web service entities, use the Import of Metadata from Employee Central Using XML File
program instead.
Use the Import of Metadata from Employee Central Using XML File (ECPAO_ECTMPL_METADATA_WRITER) program
to import metadata for web service-based data transfer.
Context
Using this program, you can import entries as well as delete entries you have imported for a specic Employee
Central instance and template.
Caution
You can't delete metadata in the SAP S∕4HANA system that you have already used for eld mappings.
Otherwise your mappings become invalid. You are shown an error message if you try to delete metadata that is
used for eld mappings.
1. Download the metadata that you want to import from Employee Central.
1. Go to the Admin Center and choose the OData API Metadata Refresh and Export tool.
Note
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact
your implementation partner or Account Executive. For any non-implementation tasks, contact Product
Support.
Note
When a new eld is added in Employee Central, you will have to re-import the metadata report and re-run
the report once again.
2. On the selection screen of the program, specify which metadata you want to import to SAP S∕4HANA and from
which le you want to upload it:
Note
If you don't specify a specic Employee Central entity, the metadata is imported for all Employee Central
entities that are available and use the Web Service Transfer communication channel.
3. Optional: Carry out a test run of the program to check the data that will be uploaded to SAP S∕4HANA.
4. Clear the Test Run checkbox and execute the program to upload the data from the Employee Central metadata
le into the EC Entity Field Mapping (ECPAO_FLD) table.
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for
a transport request, to which the imported metadata will be assigned. Using this request you can transport the
entries to the productive system or client.
Note
The standard elds are also uploaded into the EC Entity Field Mapping table. In this table, the Is Standard
Field (IS_FLD_STANDARD) ag is set for these elds. Since a standard mapping is dened for them, they
are not available in the Customizing of the transformation template groups.
5. Optional: To delete the entries you have imported for the Employee Central instance and template that you
have specied on the selection screen, select the Delete Metadata checkbox and execute the program. This will
make sure that the WS based and File based transfer will be consistent.
6. Check the metadata that you have imported in the Transport Imported Metadata and Check Metadata for
File-Based Data Transfer Customizing activity.
Tip
For details about which information about the Employee Central elds exactly is imported by the
program, see the program documentation in your SAP S∕4HANA system. You'll nd a link to the program
documentation in the documentation of the Import Metadata for Web Service-Based Data Transfer from
Employee Central Customizing step.
Note
Don't make any changes to the metadata in this Customizing view. Use the metadata import program to
update the entries in this view.
Caution
If the Employee Central eld has Picklist ag is set for an imported Employee Central eld, you might need
to assign a value mapping entity when you dene a eld mapping for this Employee Central eld. Otherwise
the data extraction program might fail.
7. You can also store entries from this view on a transport request, for example, to transport them from your SAP
S∕4HANA test system to your productive system. To do so, choose Table View Transport .
Context
Using this program, you can import entries as well as delete entries you have imported for a specic Employee
Central instance and template.
Caution
You can't delete metadata in the SAP S∕4HANA system that you have already used for eld mappings.
Otherwise your mappings become invalid. You are shown an error message if you try to delete metadata that is
used for eld mappings.
1. To download the metadata that you want to import from Employee Central, go to the Admin Center and choose
the following tools:
For this type of entity in Employee Central ... You use this admin tool ...
Person and employment objects Choose the Import Employee Data tool, then choose
Download a blank CSV template
Foundation objects Choose the Import Foundation Data tool, then choose
Download a blank CSV template
Generic objects Choose the Import and Export Data tool, then select the
Export Data action
Note
When a new eld is added in Employee Central, you will have to re-import the metadata report and re-run
the report once again.
2. On the selection screen of the program, specify which metadata you want to import to SAP S∕4HANA and from
which le you want to upload it:
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for
a transport request, to which the imported metadata will be assigned. Using this request you can transport the
entries to the productive system or client.
Tip
For details about which information about the Employee Central elds exactly is imported by the
program, see the program documentation in your SAP S∕4HANA system. You'll nd a link to the program
documentation in the documentation of the Import Metadata for Web Service-Based Data Transfer from
Employee Central Customizing step.
Transport Imported Metadata and Check Metadata for File-Based Data Transfer
Note
You might need to make some changes to the uploaded metadata in this view. For example:
• If a eld is a required eld in your Employee Central data model and you want the SAP S∕4HANA
system to validate the settings for this eld, select the Is Required checkbox.
• You might need to specify the data type for elds. For elds that contain a date, for example, choose
the datetime data type so that the content can be identied correctly.
Caution
If you upload the metadata again, the changes you've made manually will be overwritten.
Don't select the Standard Field and Deleted checkboxes. These ags are set by the metadata import
program:
• The Standard Field ag is set for all elds that are considered to be standard elds. This means that a
standard mapping is dened and that the elds are not available in Customizing for eld mapping.
If you select the EC Field Has Picklist checkbox for an imported Employee Central eld, you might need to
assign a value mapping entity when you dene a eld mapping for this Employee Central eld. Otherwise
the data extraction program might fail.
8. You can also store entries from this view on a transport request, for example, to transport them from your SAP
S∕4HANA test system to your productive system. To do so, choose Table View Transport .
Value mapping means that Employee Central eld values are mapped to values of SAP S∕4HANA elds.
Example
Employee Central uses the value F, SAP S∕4HANA uses the value 1 for the Female gender code. The values have
the same meaning, but they aren't identical. Therefore they need to be mapped so that Employee Central can
read the gender code that is transferred from SAP S∕4HANA.
The data extraction programs use the value mappings when extracting data. They replace the SAP S∕4HANA keys
by the corresponding Employee Central keys if a value mapping is dened for the corresponding eld mapping.
Value mappings are assigned to eld mappings in the Primary Mapping and Secondary Mapping views of the eld
mapping in the Dene Field Mapping for Employee Data Customizing step (view cluster VC_ECPAO_MAP).
There are standard value mappings provided by SAP. Standard value mappings are provided for values that can't be
congured in the SAP S∕4HANA system and in Employee Central and therefore always stay the same.
Example
Language codes can't be congured. The Employee Central language code English always corresponds to the
language code EN in the SAP S∕4HANA system. Therefore, a standard value mapping is provided for language
codes.
However, if you want to map values that can be congured in the SAP S∕4HANA system and in Employee Central,
you need to dene custom value mappings.
Example
Let's say you want to map event reasons from the Job History entity in Employee Central to action types from
the Actions (0000) infotype in SAP S∕4HANA. So you dene, for example, a custom value mapping that maps
the Hire and Termination event reasons from Employee Central to the SAP S∕4HANA action types Hiring and
Leaving.
Since no country-specic standard value mappings are available, you also need to dene custom value mappings if
you need to map country-specic values.
Pay scale areas are country specic. If you need a pay scale area mapping, you dene it using the suitable ISO
code. You could, for example, map the Employee Central pay scale area BR SP BR-Sao Paulo (BRSP) to the SC
pay scale area from the SAP S∕4HANA system using the BR ISO code.
Note
After copying the new value mapping entries, don’t save the entries immediately, but press the page down
button to see all the entries. You must click the page down button until you see the last set of entries. Once you
see the last set of entries, you can save all the newly created entries.
Learn how you can import picklist data using web service and le upload method.
Learn about how you can process and import picklists and picklist values from Employee Central to the SAP
S∕4HANA system by using OData query and analyze the application logs.
You can import picklists and picklist values from Employee Central to the SAP S∕4HANA system system by using
OData query
Context
To import picklist you can use the program Report to Import Picklist using the Generic OData Service Call
(ECPAO_IMPORT_PICKLIST) or ECPAO_IMPORT_PICKLST transaction. You can use the imported picklists and
picklist values when dening value mappings in Customizing to map Employee Central eld values to values of ERP
elds.
1. Access the Customizing activity Business Integration Builder Data Migration and Replication to Employee
Central Basic Seettings Dene Value Mapping Import Picklists and Picklist Values from Employee Central
Import Picklists from Employee Central Using Web Service
2. Select your Employee Central instance ID.
3. Specify the locale of the picklist labels that you want to import to the ERP system. The picklists are queried
only for this locale and imported. You can only choose one locale. As a practice, use the locale of the user who
logs on to SuccessFactors Employee Central and carries out data replication.
4. Choose the customizing task that should be used for locking the picklist entries.
5. Select the Reference Picklist Tables checkbox if you are importing the picklists from your productive Employee
Central instance to your ERP productive system or client. Don't select this checkbox if you import picklists
from your test Employee Central instance to your ERP test system or client.
6. Select the Enable Payload Logging checkbox, if you want to enable logging to the middleware.
7. Select the Update Picklist option to import picklists or the Delete Picklist option to delete imported picklists
from the ERP system.
Results
You can check the SLG1 to see the completion status of the report. Once the process is successful, you are ready to
use the picklists and picklist values in the next Customizing steps when you dene value mappings.
During the replication of picklist data process, application logs are written which can be accessed using the Analyze
Application Log (SLG1) transaction. The log object and sub object used are ECPAO and PICKLIST_IMPORT. With
each run of the program ECPAO_IMPORT_PICKLIST (Picklist Writer report based on Generic OData Service Call),
the system writes error and information messages to the application log. SLG1 logs are created once the update
process is completed (Success/Failures).
Understand the process for replication of picklist data from Employee Central.
The process for replication of picklist data from Employee Central has steps in three systems interacting with each
other: Your SAP S∕4HANA system, the cloud-based middleware, and SAP SuccessFactors Employee Central.
1. The query program ECPAO_IMPORT_PICKLIST (Picklist writer report based on Generic OData Service Call) in
the SAP S∕4HANA system calls the outbound web service getGenericDataReplicationQuery_Out. It also
updates the query information and administration of picklist query table with the relevant status information.
2. The outbound web service sends the query to the cloud integration middleware and the corresponding web
service consumer proxy for the OData API is called.
3. The middleware requests the corresponding data from Employee Central using OData APIs.
4. The middleware calls the inbound web service GenericDataReplicationRequest in the SAP S∕4HANA
system to send the data it has received from Employee Central in packages to SAP S∕4HANA.
Using the application log you can analyze the picklist writer report progress.
Context
During the replication of picklist data process, the application logs are written which can be accessed using the
Analyze Application Log (SLG1) transaction. The log object and sub object used are ECPAO and PICKLIST_IMPORT.
With each run of the program ECPAO_IMPORT_PICKLIST (Picklist Writer report based on Generic OData Service
Call), the system writes error and information messages to the application log.
On triggering the replication of picklist data from Employee Central using the report ECPAO_IMPORT_PICKLIST
(Picklist Writer report based on Generic OData Service Call) a log Query for instance nnnn and query type
PickListValueV2 with uuid (query ID) nnnn (the instance for which you are running the replication) is created
and sent.
Once the middleware sends the start notication to SAP S∕4HANA system, the following log ECPAO_PKL_QRY
updated with status In Process for query nnnn, resp. mess. nnnn is written.
Once all the response packages have reached the SAP S∕4HANA system from the middleware and the processing
of picklist update logic is completed, the following logs are displayed:
Procedure
You can import picklists and picklist values from Employee Central to the SAP S∕4HANA system to use them in
Customizing when mapping Employee Central eld values to values of SAP S∕4HANA elds.
Context
To import picklists, you use the Import of Picklists from Employee Central (ECPAO_PICKLIST_WRITER) program.
This program is available in the Import Picklists from Employee Central Customizing step. You can use a transport
request to import the picklists from Employee Central. If you run the picklist import programs in an SAP S∕4HANA
test system or client system, the programs now automatically ask for a transport request, to which the imported
picklist report will be assigned.
Procedure
1. Import the picklist le from Employee Central through one of the below approaches. Download the picklists and
store the picklist le in the comma-separated values (CSV) format on a server or on your local disk.
• If the Employee Central picklist data is maintained via Picklist Center then you need to download via
import/export data tool in Employee Central.
1. Go to the Admin Center and choose the Import and Export Data tool.
2. Select the action to perform as Export data.
3. Choose Picklist-Values as the generic object.
4. Choose No for Include dependencies option.
5. Choose External Code for key preference.
6. Click Export.
• If you are using the legacy picklist, then you will have to download from the Picklist Management.
Only the labels of the locale you enter here are imported. The labels listed for other locales are ignored. You can
only choose one locale.
Example
If you enter en_US, the labels Female and Male are imported for the gender picklist. All other labels of this
picklist, such as Femenino and Masculino for locale es_ES or Femme and Homme for locale fr_FR, are not
imported.
We recommend that you use the locale of the user who logs on to Employee Central and replicates the data
from SAP S∕4HANA.
4. Select the Update Picklist checkbox to import picklists and picklist values.
5. Optional: Carry out a test run of the program to check the data that will be uploaded to SAP S∕4HANA.
6. Clear the Test Run checkbox and execute the program to upload the data from the Employee Central picklist
le into the following tables:
• Picklists Imported from Employee Central (ECPAO_PIKLST_ENT)
• Picklist Values Imported from Employee Central (ECPAO_PIKLST_VAL)
The program generates an SAP S∕4HANA ID for each picklist. This ID is used as the unique key to identify each
picklist without ambiguity in the SAP S∕4HANA system.
Example
248 could be the SAP S∕4HANA picklist ID that is generated for the addressType picklist.
7. Optional: To delete picklists and picklist values that you have imported to the SAP S∕4HANA system, select the
Delete Picklist checkbox and execute the program.
You can't delete picklist values in the SAP S∕4HANA system that you have already used for value mappings
because your value mappings might become invalid. You are shown an error message if you try to delete
picklist values that are used for value mappings.
Results
You are now ready to use the picklists and picklist values in the next Customizing steps when you dene value
mappings.
Note
Infoporter tool will decide to send either the optional ID or the external code for a eld based on the object
types (MDF/Non-MDF) in Employee Central.
A value mapping entity combines a set of value mappings for a specic purpose (for example, gender code value
mappings).
Context
You dene value mapping entities in the Dene Value Mapping Entities Customizing step (view
V_ECPAO_VALUENTY). The easiest way to create value mapping entities is to copy the sample entities by choosing
the Copy Sample Value Mapping pushbutton. You can also create country specic value mapping entries and create
a new value mapping entity using the Create Value Mapping Entity and Dene Ctry. Spec. Value Mapping Entries
pushbuttons from the primary mapping details screen.
If you want to check rst which sample value mapping entities are available, choose the Show Sample Value
Mapping pushbutton.
You'll get a list of all standard entities provided for the integration, which you can adjust to your needs.
During the employee replication from Employee Central, the value mapping type Organizational Object Keys
from Mapping Table is considered for mapping of organizational objects like Position, Departments, Divisons
etc. When these types are maintained in the value mapping entity, the data replication uses the mapping from
SFIOM_KMAP_OSI key mapping table. This table maps the keys of organizational objects (such as divisions or job
classications) from Employee Central to organizational object IDs (such as organizational unit IDs or job IDs) from
Procedure
1. To create a value mapping entity from scratch, enter a name and description. If you want to use a standard
entity, you need to keep its name, but you can adjust the description.
2. Specify how the values are to be mapped. If you want to use a standard entity, we recommend that you use the
suggested mapping types.
• Picklist mapping using the Organization eld from the picklist
Use this type if the picklist value you want to map is an external code. This is the case, for example, for
Employee Central elds such as Department and Division.
• Picklist mapping using the External Code eld from the picklist
Use this type if the picklist value you want to map is an External Code. This is the case for most of the
picklists.
• Picklist mapping using the Option ID.
Use this type if the picklist value you want to map works only with Option ID.
Tip
Use this method only if you have been already using this is in the past. The infoporter report now
automatically derives the option id even if external code mapping is maintained and so you need not
congure the option id explicitly in the value mapping details.
Example
You want to map the Employee Central event reason DATAREORG to the personnel action 02
(Organizational Reassignment).
This enables you to choose the imported picklist values in the Employee Central Key eld when you actually
map the values. If you don't assign a picklist, you can still enter keys in the Employee Central Key eld, but you
can't choose from the imported picklist values.
4. To make available input help values from an infotype eld in the value mapping details, specify the SAP
S∕4HANA value help.
This is a combination of the technical name of the infotype table (such as PA0002) and the technical name of
the infotype eld (such as GESCH), connected with a hyphen (as in PA0002-GESCH). This means that you can
choose the input help values from the Gender Key (GESCH) eld of the Personal Data (0002) infotype in the
ERP Key eld when you actually map the values. It does not mean that you can only use the value mapping
entity for the GESCH eld. If you want to use a sample entity, we recommend that you use the suggested SAP
S∕4HANA value helps.
Results
You are now ready to map the actual Employee Central and SAP S∕4HANA values in the next Customizing steps,
where you dene the value mapping details.
You can store picklist entries in reference tables to reuse value mappings you've dened in your test SAP S∕4HANA
system in the productive system landscape.
Context
Some of the picklist elds in Employee Central accept only Option Id as input in the Odata API. Hence the
infoporter tool would send the option ids of the corresponding values of the picklist. Also you might have
congured and dened the option ids in the value mapping. When picklists used for web service transfer are
transported from the test to the productive SAP S∕4HANA system or client, the option IDs can change. This means
that the value mappings you've dened in the test SAP S∕4HANA system or client and transported from there don't
work for data transfer from the productive SAP S∕4HANA system to the productive Employee Central instance.
Example
Let's say, in your test system and instance the Marital Status picklist uses the option ID 16696 for Single
(which has the external code S), and 16697 for Married (which has the external code M). But in the productive
system and instance, Single (S) uses the option ID 5673 and Married (M) uses the option ID 5674. After you've
transported value mappings from your test to your productive system, data transfer to the Employee Central
productive instance shows an error because the option IDs 16696 and 16697 don't exist there. 16696 needs to
be converted to 5673 and 16697 needs to be converted to 5674 to make data transfer work.
To avoid this kind of error, you can store the picklist entries in the following reference tables:
Procedure
1. Import picklists from your test Employee Central instance to your SAP S∕4HANA test system or client. To do
this, run the Import of Picklists from Employee Central (ECPAO_PICKLIST_WRITER) program or the Report to
Import Picklist using the Generic OData Service Call (ECPAO_IMPORT_PICKLIST) with the Reference Picklist
Tables checkbox not selected.
2. Dene your value mappings in the test system or client.
3. Transport the value mappings from the test to the productive SAP S∕4HANA system or client.
If you now run the data extraction program, errors will be shown because now other option IDs are used.
4. Update the reference picklist tables in the productive SAP S∕4HANA system or client. To do this, run the Import
of Picklists from Employee Central or Report to Import Picklist using the Generic OData Service Call program
with the Reference Picklist Tables checkbox selected.
Now the data extraction program can compare the entries in the picklist tables with the entries in the reference
picklist tables (based on the picklist ID and the external code) and replace the option IDs accordingly.
Option ID usually varies from one Employee Central system to another system. Since the Option ID is dierent, you
need to dene the value mapping details again when you congure the data for a new system as per the Option ID’s
for the new system.
Context
Value mapping entities are dened based on the type of the communication channel that you use (Web service or
csv mode). If you use Web service-based replication, the suitable mapping type is usually the Option ID. Since the
Option ID varies from one EC instance to another EC instance, you can use the following approach:
• Value mapping entities of type External Code would be converted to Option ID for web service mode
of replication. So you can dene the value mapping entity of type Picklist-external code in the view
V_ECPAO_VALUENTY and then dene the external code in the EC keys for the corresponding SAP S∕4HANA
values in the view V_ECPAO_VALENTY which can be used across dierent Employee Central systems. If the
value mapping entity mapped EC entity is non MDF entity, then internally we are converting the EC key value
from external code to option ID. If the value mapping entity mapped EC entity is MDF entity. then we are not
converting the EC key value and sending the same external code. Converting the external code to option id is
based on the EC Entity. If value mapping entity mapped EC entity is Non MDF entity, then internally we are
converting EC key value from external code to option id. If value mapping entity mapped EC entity is MDF entity
then we are not converting the EC key value and sending the same external code.
• If the external code is same on SAP S∕4HANA and Employee Central systems then you can just dene the
value mapping entity of type Picklist external code in view V_ECPAO_VALUENTY leaving the value mapping
details view V_ECPAO_VALENTY empty. Internally Option ID would be fetched based on the external code of the
picklist and sent to Employee Central.
Procedure
1. Execute the picklist writer report ECPAO_PICKLIST_WRITER with the option “ Update picklist” on the test
system
2. Congure the value mapping entity table V_ECPAO_VALUENTY as per your requirement. You can congure
the entity with the mapping mode Picklist -external code where the original mapping mode expected is
Picklist-option ID. Enter the EC picklist ID using the search help.
The value mapping details actually map SAP S∕4HANA values to the corresponding Employee Central values.
Procedure
If the value mapping entity has a picklist ID and a SAP S∕4HANA value help assigned, you can select suitable
picklist values in the EC Key eld and corresponding input help values in the ERP Key eld.
You can also enter the wildcard * in the ERP Key eld. If only the wildcard is dened in the value mapping
details, any SAP S∕4HANA value will be mapped to the Employee Central key for the eld that uses this value
mapping entity. If the wildcard is dened in addition to specic SAP S∕4HANA keys, the system rst checks for
the specic keys. If an Employee Central key is mapped to a specic SAP S∕4HANA key, this mapping is used.
For all other SAP S∕4HANA values, the Employee Central key mapped to the wildcard is used.
Results
The data extraction programs can now use the value mappings. When extracting data, they will replace the SAP
S∕4HANA keys by the assigned Employee Central keys if a value mapping is dened for the corresponding eld
mapping. If no value mapping is available, they won't map any values for the specic eld and use the values from
SAP S∕4HANA as they are.
The value mapping details actually map SAP S∕4HANA values to the corresponding Employee Central values.
Procedure
If the value mapping entity has a picklist with external code (as an example) and a SAP S∕4HANA value help
assigned, you can select suitable picklist values in the EC Key eld and corresponding input help values in the
key elds dened in the SAP S∕4HANA system.
You can also enter the wildcard * in the ERP Key eld. If only the wildcard is dened in the value mapping
details, any SAP S∕4HANA value will be mapped to the Employee Central key for the eld that uses this value
mapping entity. If the wildcard is dened in addition to specic SAP S∕4HANA keys, the system rst checks for
the specic keys. If an Employee Central key is mapped to a specic SAP S∕4HANA key, this mapping is used.
For all other SAP S∕4HANA values, the Employee Central key mapped to the wildcard is used.
Results
The data extraction programs can now use the value mappings. When extracting data, they will replace the SAP
S∕4HANA keys by the assigned Employee Central keys if a value mapping is dened for the corresponding eld
mapping. If no value mapping is available, they won't map any values for the specic eld and use the values from
SAP S∕4HANA as they are.
We provide sample value mapping entities for employee data and also value mapping details for some of the
sample value mapping entities. Here's how to use them.
Value mapping entities are assigned to eld mappings in the Dene Field Mapping for Employee Data Customizing
step (view cluster VC_ECPAO_MAP). The sample content provided there contains some sample value mapping
entities. Some of these sample value mapping entities, such as GENDER_CODE_CSV, are provided together with
sample value mapping details. But most of the sample value mapping entities, such as ADDRESS_TYPE_CSV, don't
have any details assigned. In the second case, you need to dene the value mapping details. Otherwise the value
mapping entity isn't usable. Here are more details about how to handle these situations:
Use case 1: A sample value mapping entity is available together with value
mapping details
Let's say the value mapping entity GENDER_CODE_CSV is assigned to the eld mapping of the gender Employee
Central eld in the VC_ECPAO_MAP view cluster. A sample value mapping entity with this name is provided,
as you can see in the V_ECPAO_VALENT_S view. (To display this view, go to the Dene Value Mapping Entities
Customizing activity and choose Show Sample Value Mapping). Sample value mapping details are assigned to the
GENDER_CODE_CSV value mapping entity in the V_ECPAO_VALMAP_S view. For example, for the Female gender
code, the Employee Central key F and the SAP S∕4HANA key 1 are mapped here.
Since you want to use this sample value mapping entity and the assigned sample value mapping details, you
go to the Dene Value Mapping Entities Customizing activity and copy the sample value mapping. This copies
the entity to the V_ECPAO_VALUENTY view – but the details are not copied to the V_ECPAO_VALENTY view
(which is contained in the Dene Value Mapping Details Customizing activity). To check the details, you can go
to the V_ECPAO_VALMAP_S view using the Edit Table Views (SM30) transaction and display the details for the
GENDER_CODE_CSV value mapping entity from there. If you want to use them, make the same entries in the
V_ECPAO_VALENTY view.
When extracting data for the gender eld, the data extraction program rst checks if a suitable GENDER_CODE_CSV
custom value mapping entity exists in the V_ECPAO_VALENTY view. Since this is the case, it uses this entity and
the assigned value mapping details. If no custom value mapping entity exists, the program can still use the sample
value mapping entity from the V_ECPAO_VALMAP_S view together with the assigned sample value mapping details
as a fallback.
Use case 2: Sample value mapping entity is available without sample value
mapping entries
Let's say the value mapping entity ADDRESS_TYPE_CSV is assigned to the eld mapping of the address-type
Employee Central eld in the VC_ECPAO_MAP view cluster. A sample value mapping entity with this name is
provided, as you can see in the V_ECPAO_VALENT_S view. But no sample value mapping entries are assigned
to the ADDRESS_TYPE_CSV value mapping entity in the V_ECPAO_VALMAP_S view. Since you want to use this
value mapping entity, you go to the Dene Value Mapping Entities Customizing activity and copy the sample value
When extracting data for the address-type eld, the data extraction program rst checks if a suitable
ADDRESS_TYPE_CSV custom value mapping entity exists in the V_ECPAO_VALENTY view. Since this is the case,
it uses this entity and the assigned value mapping details. If no custom value mapping entity exists, the program
cannot use the sample value mapping entity from the V_ECPAO_VALMAP_S as a fallback, because this entity
doesn't have any value mapping details assigned.
Note
If you choose Copy Sample Value Mapping, all entities that are available in the V_ECPAO_VALENT_S (S table) view
are copied to the V_ECPAO_VALUENTY (C table) view. This includes the value mapping entities for organizational
data as well as employee data. If you only need some of the sample value mapping entities, choose Copy Sample
Value Mapping and then remove all entities that you don't need from the V_ECPAO_VALUENTY view.
Once you've made entries in the V_ECPAO_VALUENTY view (either by copying or by entering them manually), you
can no longer copy the sample value mapping entities. Either remove all entries from the V_ECPAO_VALUENTY view
and copy again, or show the sample value mapping entities and use them as an example for making the entries
manually.
You can use an SAP S∕4HANA eld that always holds the same value to transfer a constant value to a specic
Employee Central eld.
Context
Example
An infotype eld from SAP S∕4HANA always returns an empty value. You use this to always set the mapped
eld to true in Employee Central.
It doesn't matter which SAP S∕4HANA eld you use – the important point is to know that the eld will always hold
the same value.
Procedure
1. Dene a suitable eld mapping in the Primary Mapping view of the Dene Field Mapping for Employee Data
Customizing step.
You know that the Object Identication (OBJPS) eld of the Communication (0105) infotype (subtype
Private Phone (CELL)) will always be empty. You map this eld to the isPrimary Employee Central eld
because you want the isPrimary elds to always hold the value true.
Example
You dene an IS_PRMARY value mapping entity and map the SAP S∕4HANA key blank to the Employee
Central key true.
Results
Since the mapped SAP S∕4HANA eld has a constant value, data replication will always transfer the same value to
the Employee Central eld.
Example
The Object Identication (OBJPS) eld is always blank in SAP S∕4HANA, so the mapped isPrimary eld will
always be set to true in Employee Central.
Country-specic value mapping details actually map SAP S∕4HANA values to the corresponding Employee Central
values, depending on the country version.
Procedure
1. Go to the Dene Value Mapping Details Depending on Employee's Country Grouping Customizing activity (view
V_ECPAO_VALENTYC).
2. Map SAP S∕4HANA keys and the corresponding Employee Central keys as described in the previous section,
and additionally assign ISO codes.
Results
The data extraction programs can now use the value mappings. When extracting data, they will replace the SAP
S∕4HANA keys by the assigned Employee Central keys if a value mapping is dened for the corresponding eld
mapping. If a suitable country-specic value mapping is dened for the ISO code that corresponds the employee's
country grouping (MOLGA), they will use this mapping. If no country-specic value mapping is available, they'll
use the country-independent value mapping. If no value mapping is available, they won't map any values for the
specic eld and use the values from SAP S∕4HANA as they are.
You can now format the Employee Central elds by using value conversion when migrating or replicating the data to
Employee Central system.
Before you migrate the data to Employee Central, you might have to format the ERP eld for the transformation
template group to convert this value to a valid Employee Central value. Value conversion enables you to format the
value of the Employee Central elds by maintaining a sequence of supported operations. This value conversion is
performed for the Employee Central elds after the eld mapping and the value mapping is done for the Employee
Central elds based on the congurations. The conversion supports a set of arithmetic and string operations which
can be used in a sequence. You can dene the sequence at which the dierent value conversion operations that
needs to be executed. There are two customizing views available, one will be generic value conversion view and the
other view is based on country or linking eld. The customizing view can be maintained at each Employee Central
eld level for a particular transformation template.
Note
There are standard value conversion rules provided by SAP. Currently only country-specic value conversion
content is provided by SAP.
The value conversion for a eld is congured in the view cluster under Generic Value Conversion and Country
Specic Value Conversion. You can now see if a generic conversion rule or country specic conversion rule is
Field Description
HCM Localization Value of Employee Central linking eld (required only in case of
country-specic value conversion)
The Employee Central eld after the formatting based on the value conversion would be migrated to the
corresponding EC eld.
Note
If you want to enter a single-space character in the view cluster, you must use <nbsp>.
Pattern (any standard Regular Constant string Employee Central eld Id Replace the characters in
expression) Employee Central eld value
matching the pattern entered
in Parameter 1 with the con-
stant string or the value of an-
other Employee Central eld
Tip
For more information on Regular Expression, see ABAP - By Theme Process Internal Data Byte String
and Character String Regular Expressions in the ABAP keyword documentation. For testing the regular
expression, you can use the report program DEMO_REGEX_TOY.
String/Character to be used Constant String Employee Central eld Id Concatenate the Employee
as separator Central eld value with the
constant string/ EC eld in
parameter 2 by sufxing the
Employee Central eld sepa-
rated by the characters in Pa-
rameter 1
Example
Note
Assuming
that the
value for
the EC eld
is string1.
Length to be adjusted to Filler characters to be used in Nil Adjust the Employee Central
case the EC value length is eld value to a xed length,
less than the parameter1 which can be either shorter
or greater than the original
length and ll with characters
in-case the length of the value
is less that the xed length.
Example
Example
Example
Example
Example
String to be compared with String to be used for replace- ID of the Employee Central Replace the value of the
ment eld to be used for compari- Employee Central eld with
son the string in Parameter 2,
only if the value of EC elds
mentioned in Parameter for
EC eld (another eld from
the same Employee Central
entity) is same as string men-
tioned in Parameter 1.
Example
Note
Check and Remove and Check and Remove when doesn’t match rules are not supported in the ERP to EC
direction.
Example
Parameter for
Sequence Employee
EC feld value number Operation Parameter1 Parameter2 Central feld Result
What use of assignment ID (assignment_id_external) in SAP S∕4HANA means for integration with an Employee
Central system.
Using assignment ID is helpful if you have a heterogeneous system landscape with multiple cross-system business
processes. For example, if you integrate Employee Central with an ERP system for Payroll and also integrate SAP
Concur with Employee Central and an ERP system for Financials. All integrated systems run business processes
around employees and therefore generate system-specic employee IDs. But you want to use one unique identier
to be able to easily identify employee data that belongs to the same business context. Such as determine which
accruals in the ERP Payroll system belong to which Financials vendor and which employment in Employee Central.
If you plan to integrate Employee Central with SAP S/4HANA (on-premise edition or SAP S/4HANA Cloud Private
Edition) or SAP ERP, consider the following before you enable use of assignment ID in Employee Central.
Before you migrate employees from your SAP S/4HANA or SAP ERP system to Employee Central, make sure that
the following prerequisites are ullled:
• To include the assignment ID during the migration process, you need to enable the switch ERP to EC/EC to
ERP (BIB): Activate Assignment ID External in the view V_ECPAO_CONSTANT using the Maintain the Constant
Values Customizing activity.
• If the ERP to EC/EC to ERP (BIB): Activate Assignment ID External eld is switched on, the Assignment ID
External eld is included in the User, Employment, and Global Assignment entities during the migration of the
employee data.
• Assignment ID must be enabled in the following entities:
• User
• Employment Details
• Global Assignment Details
Use the Manage Business Conguration admin tool to do so.
Before you replicate employee data from Employee Central to your SAP S/4HANA or SAP ERP system, make sure
that the following prerequisites are ullled:
• You can only use assignment ID if you set up a new integration project for the Core Hybrid HCM deployment
option. You can’t switch a running integration to using assignment ID.
• You must set up a business rule to generate assignment IDs in Employee Central. Assignment IDs generated by
this business rule must comply with the format used for personnel numbers in the SAP S/4HANA or SAP ERP
system. The business rule must also be able to handle error situations.
• In the Employment Settings Conguration object you create in Employee Central, Activate "Generate
Assignment ID External" by Using a Business Rule must be set to Yes.
For more information, refer to Creating the Employment Settings Conguration Object.
• The Assignment ID eld must be set up in your Employee Central data model in a way that complies with
the format used for personnel numbers in the SAP S/4HANA or SAP ERP system. That is, it must be eight
characters long and can only contain numeric values, no letters.
• You must ensure that the behavior for creating new employments in Employee Central is the same as for
creating new personnel numbers in the SAP S/4HANA or SAP ERP system. For example, you must have a
new employment created when transferring an employee to a new country/region in Employee Central. If you
perform an international transfer using the same employment, the SAP S/4HANA or SAP ERP system raises
an error message and aborts replication of employee data from Employee Central.
Set up assignment ID for integration of Employee Central with an SAP S∕4HANA system. Once assignment ID is set
up, migrate your employees to Employee Central, using personnel numbers from SAP S∕4HANA as assignment IDs
in Employee Central.
Prerequisites
You enabled use of assignment ID in Employee Central. And you made sure that the requirements listed in the
important notes section for assignment ID in Employee Central integration with SAP S∕4HANA are met.
Setting Up and Migrating Assignment ID for Employee Central Integration With SAP S∕4HANA
Procedure
1. Analyze the number ranges you dened in the SAP S∕4HANA system from which you plan to migrate employee
master data to Employee Central.
When doing so, consider that the SAP S∕4HANA number range logic will be replaced by business rules in
Employee Central. Most probably you’re currently using an internal number range so that personnel numbers
are assigned by the SAP S∕4HANA system automatically. Once assignment ID is turned on, you can no longer
use this internal number range. You must use an external number range because only then personnel numbers
can be assigned by an external system (that is, by Employee Central).
To do so, go to Customizing of Business Integration Builder and choose Basic Settings Maintain the
Constant Values . Add the constant ERP to EC/EC to ERP (BIB): Activate Assignment ID External and set the
constant value to X.
5. Migrate employee data from your SAP S∕4HANA system to Employee Central.
The migrated employees are allocated the personnel number from the SAP S∕4HANA system as assignment
ID.
Results
You successfully set up assignment ID and migrated your personnel numbers from SAP S∕4HANA to Employee
Central, to use them as assignment IDs.
Next Steps
You can now run an initial load and then start the regular replication of assignment IDs either from SAP S∕4HANA to
Employee Central or from Employee Central to SAP S∕4HANA.
Make additional settings for the Employee Central company you've dened before in the Dene Employee Data
Settings for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_EE).
Procedure
Note
We always ensure that employee gets a new personnel number while undergoing any new international
transfer HR process. Incase if an employee was earlier migrated using Reuse Existing Employment for
International Transfer setting, then we ensure that it will continue to work as before (data of both personnel
numbers are transferred to one employment in Employee Central) during re-migration process.
An Employee Central entity represents an entity from Employee Central, such as a CSV data import template, an
OData entity, or a generic object (also known as MDF entity). You only need to dene custom Employee Central
entities if you want to transfer data from SAP S∕4HANA to an Employee Central entity for which SAP hasn't
provided a default template.
Context
In the Dene Employee Central Templates for Additional Employee Data Entities Customizing activity (view
V_ECPAO_ECTMPL) you can also see the default templates dened by SAP. If the default templates suit your
requirements, there's no need to dene any custom templates.
To dene custom Employee Central entities carry out the steps described below for each template that you add.
Procedure
To nd out about the name for OData entities and generic objects, go to the Admin Center and choose the
OData API Data Dictionary tool. For CSV data import templates, go to the Admin Center and choose the
Import Employee Data tool.
c. If you want to be able to assign your Employee Central entity to several transformation templates, select
the Multiple Use checkbox.
d. Specify if the Employee Central entity is eective dated.
Note
If you dene a earliest transfer date for a transformation template group in the Dene Field Mapping
for Employee Data Customizing step, this date inuences eective-dated and non-eective dated
templates in dierent ways.
e. If your template refers to a generic object in Employee Central, select the Is Generic Object in EC checkbox.
f. If your template should inherit the metadata that you upload for another Employee Central entity, specify
the template that is to be used as the metadata basis.
Note
If you make an entry in this eld for an Employee Central entity, you can't import metadata for this
template. You can only import metadata for the Employee Central entity that you've entered, meaning
the template from which the metadata is to be inherited.
Example
The Dependent Biographical Information template inherits metadata from the Biographical Information
template. This means it uses the same data model comprising elds such as date-of-birth, country-of-
birth, or place-of-birth. You need to import the metadata for the Biographical Information template only
and can then reuse it for the Dependent Biographical Information template. You can't import metadata
for the Dependent Biographical Information template.
g. If your template refers to a generic object in Employee Central, make an entry in the Object ID Field in EC
eld. Here you enter the name of the eld that contains the external code of the generic object in Employee
Central and to which the employee ID from SAP S∕4HANA is to be transferred.
The eld must have the User data type assigned in Employee Central so that the employee ID information
from SAP S∕4HANA can be transferred to this eld. Which ID is transferred depends on the mapping that
you have dened in the Dene Employee Central Instance Customizing step. In the standard mapping, the
personnel number (PERNR) is used as the employee ID.
h. For the SAP delivered templates start date eld is already maintained. For the templates that you want to
be dened, specify the Employee Central eld (such as eectiveStartDate) in which the start date is stored
for the corresponding entity and which is to be mapped to the Start Date (BEGDA eld in SAP S∕4HANA
system.
For standard eective dated templates if the start date is specied, then the start date would be
considered as a standard eld. For standard MDF templates and custom MDF templates, start date would
not be considered as a standard eld even if it is maintained for a template.
Standard EE Templates X X
Custom EE Templates X
Standard OM Templates X X
Custom OM Templates X
i. For the SAP delivered templates end date eld is already maintained. For the templates that you want to
be dened, specify the Employee Central eld (such as endDate) in which the end date is stored for the
corresponding entity and which is to be mapped to the END Date (ENDDA eld in SAP S∕4HANA system.
For standard eective dated templates if the end date is specied, then the end date would be considered
as a standard eld. For standard MDF templates and custom MDF templates, end date would not be
considered as a standard eld even if it is dened for a template.
Note
If the start and end date elds are congured in the eld mapping table then they will be considered
for the template conguration. If they are not dened in eld mapping, then it will be read from the
templates table.
2. Dene the settings for data replication from SAP S∕4HANA to Employee Central.
a. Enter a unique sequence number.
The sequence in which the Employee Central entities delivered by SAP are transferred from SAP S∕4HANA
to Employee Central is dened by SAP. You can't change this sequence. If you dene your own template, we
recommend to use a sequence number that is higher than the numbers assigned to the Employee Central
entities that are delivered by SAP.
b. If the entity has a parent entity in Employee Central, enter the ID of the parent EC entity in the ID of
Dependent EC Template column. PaymentInformationV3, for example, is entered in the ID of Dependent EC
Template column of PaymentInformationDetailV3
c. If your template refers to a country-specic entity in Employee Central, specify the country version. If you'd
create an Employee Central entity for the PerGlobalInfoUSA template entity, for example, you would specify
the 10 (USA) country version.
d. The settings in the Deletion Supported section are only available for Employee Central templates that are
dened by SAP in the SAP namespace. You can't make any entries in the following elds:
• The Deletion Permitted ag species that data deletion can be replicated for the Employee Central
template from SAP S∕4HANA to Employee Central.
• The HRIS Element ID is used by the Compound Delete or SFOData.HrisCompoundDeletion template
when replicating the deletion of data from SAP S∕4HANA to Employee Central. The HRIS element ID is
only needed for Employee Central templates that support the replication of data deletion to Employee
Central.
Example
The Personal Data (0002) infotype is required for the Personal Information entity in Employee Central.
You can't transfer any data from SAP S∕4HANA to this entity if you haven't dened a mapping for any of
the infotype elds.
b. Only for Employee Central entities dened by SAP: An infotype can be specied that requires a special
mapping (such as the Date Specications (0041) infotype).
c. If you need a special processing for the Employee Central entity, specify the processing mode you need.
The processing mode refers to the infotype you enter in the next step. The following processing modes are
available:
• Repetitive Structure Mapping
• Object Identication Mapping
• Only for Employee Central entities dened by SAP: Time Constraint 3 Mapping
d. Enter the SAP S∕4HANA infotype for which a special processing is needed.
e. If you've selected the Object Identication Mapping processing mode, specify the object identication
(OBJID) eld for which a unique key needs to be generated.
f. If you've selected the Repetitive Structure Mapping processing mode, specify a structure that contains the
elds for which you want to use the repetitive mapping.
For any specic country, you can create country specic templates (ex: USA) and for other countries, you can
dene the custom templates. When you want to replicate country specic payment information details for a
non-USA country, you will have to create a custom transformation template in the view V_ECPAO_ECTMPL. While
creating the new custom transformation template, you should enter WS_16 as the dependent entity and 161 in the
upsert sequence eld. After creating the new transformation template, you will have to do the eld mapping in the
conguration.
Example
If an employee has a bank account from 1-1-2012 to 31-12-2013 in USA and another bank account from
1-1-2014 to 31-12-2015 in Mexico, then USA specic payment information details will be replicated only for the
period (1-1-2012 - 31-12-2013). For this period 1-1-2014 to 31-12-2015, only the Mexico specic details would be
replicated.
While running the country specic payment information details, you will have to include the generic payment
information details mandatorly in the same session.
To enable the data extraction programs to extract the right SAP S∕4HANA information for the right Employee
Central elds, you need to map SAP S∕4HANA elds to Employee Central elds.
To map elds, you can go to the Dene Field Mapping for Employee Data Customizing step, which include the below
steps:
1. You create at least one transformation template group. A transformation template group bundles all eld
mappings that you want to use when running the data extraction program. This is the entity that you specify
on the program selection screen. From the transformation template group the data extraction program
determines all information it needs to extract data from SAP S∕4HANA elds and map it to Employee Central
eld IDs.
2. You create at least one transformation template for your transformation template group. The transformation
template groups information from the SAP S∕4HANA system that belongs together logically. It is the SAP
S∕4HANA counterpart of the Employee Central entity.
3. You dene a primary mapping for each of your transformation templates. This means you choose Employee
Central elds from the Employee Central template assigned to the transformation template, and you map
suitable SAP S∕4HANA elds to these Employee Central eld IDs.
4. If you need an additional eld mapping, for example for country-specic elds, you could also dene a
secondary eld mapping.
Note
We also provide sample content, which contains congurable standard eld mappings, in Primary Mapping of
the Dene Field Mapping for Employee Data Customizing step. When you dene a eld mapping there, you
can easily copy these standard eld mappings using a pushbutton and then adapt them if necessary. This is
a dierent kind of sample content than the transformation template groups, templates, and eld mappings
contained in the delivered sample Customizing.
A template group bundles all eld mappings that you want to use when transferring data from SAP S∕4HANA to
Employee Central.
Context
To dene template groups, you need to initially go to the Dene Transformation Template Group for Employee Data
Customizing step, which has the V_ECPAO_TTG_EE view assigned and then go to the Dene Field Mapping for
Employee Data Customizing step (view cluster VC_ECPAO_MAP) to congure the communication channel, sample
content, and the earliest transfer date.
1. Go to Dene Transformation Template Group for Employee Data Customizing step (V_ECPAO_TTG_EE view)
and enter the preliminary details for the transformation template group that you are creating:
Note
You will be able to modify or choose the EC instance only when you are creating a new transformation
template group.
4. Choose the replication direction ERP to EC/EC to ERP from the drop-down list box depending upto the
scenario you are running.
2. Go to Dene Field Mapping for Employee Data Customizing step (VC_ECPAO_MAP view) and enter the
communication channel, sample content, and the earliest transfer date.
1. In the transformation template group window, double click the transformation template group that you
have created.
2. Choose one of these communication channels for the transformation template group:
• CSV File-Based Transfer
Choose this communication channel if you want to use the transformation template group for the CSV
le-based data extraction.
• Web Service Transfer
Choose this communication channel if you want to use the transformation template group to transfer
data using a Web service call.
3. Select the sample content that you want to use for your transformation template group. We provide
sample content for dierent use cases.
4. Optional: Dene an Earliest Transfer date.
You can specify this date to start employee data replication at a specic point in time. This prevents the
complete history of data records being replicated from SAP S∕4HANA to Employee Central. If you dene
an earliest transfer date for a transformation template group, this date inuences eective-dated and
non-eective dated templates in dierent ways.
5. Dene if the transformation template group is available for delta replication.
Note
You can only use transformation template groups with the Web Service Transfer communication
channel for delta replication. To make sure that the delta replication works, use a transformation
template group with the Web Service Transfer communication channel and for which the Enable for
Delta Replication checkbox is selected. There can only be one transformation template group for which
the Enable for Delta Replication checkbox is selected.
Context
To dene a set of transformation templates for each transformation template group, you go to the Dene Field
Mapping for Employee Data Customizing step, which has the VC_ECPAO_MAP view cluster assigned.
Note
If you want to map managers from SAP S∕4HANA to the Job Relationship template in Employee
Central, you need a separate transformation template for each type of manager. You could, for example,
dene the transformation templates ERP_JOBREL_CUSTOM (Job Relationship - Custom Manager) and
ERP_JOBREL_MATRIX (Job Relationship - Matrix Manager).
Procedure
Note
Based on Hire Date option is disabled and made invisible for non-eective dated type of records. For non-
eective dated template, see How the Earliest Transfer Date Inuences Eective-Dated and Non-Eective
Dated Templates.
4. Select the Don't Merge Records checkbox to avoid the default behaviour and send the records as is from the
ERP system for the specic entity for which you have choosen this checkbox. By default when there are records
with same data but with dierent timesplits, infoporter merges these records into a single record.
If you have included global information template in your transformation template group, then you need to
ensure:
• The start date and the end date labels of the entity is maintained in the view V_ECPAO_ECTMPL.
• The country version is included in the view V_ECPAO_ECTMPL.
• The Don't Merge Records option is selected for personal information entity and all country specic global
information entities in the Transformation Template Details screen of the View Cluster.
• The entity order sequence of all the country specic global information templates dened in the view
V_ECPAO_ECTMPL should be the same value 35.
• The dependent entity for country specic global information should be maintained as personal information
entity.
Example
Let's say the following records of the Recurring Payments/Deductions (0014) infotype exist for an
employee:
5. Assign one of the default standard Employee Central entities or a custom Employee Central entity that you've
created before.
Results
You have now created a transformation template, which will be equivalent to the Employee Central entity. You can
now perform the eld mapping for the transformation template that you have created.
You can choose Employee Central elds from the Employee Central metadata that you've uploaded to the
SAP S∕4HANA system, and you map suitable SAP S∕4HANA elds to these Employee Central elds and dene
additional transformations if needed.
Context
To dene a eld mapping for each transformation template, you go to the Primary Mapping view of the
VC_ECPAO_MAP view cluster. An easy way to dene your eld mapping is to copy the sample content we provide
and adapt it to your requirements. You can use the sample content that you've selected for your transformation
template group.
Choose Show Sample Primary Mapping to check which sample content is available.
Note
In addition to the sample content shown here, there are also predened standard mappings, which are
automatically added to the templates you use and aren't available for conguration in this Customizing activity.
Choose Copy Sample Content to copy the sample eld mappings. This includes primary mappings as well as
secondary mappings (if available).
If you want to dene your own eld mapping, here's how to do this:
Procedure
1. Choose an Employee Central eld from the assigned If you don't have any specic requirements, such as
mapping country-specic elds, you are now ready to use your eld mapping when running the data extraction
report. Otherwise, dene a secondary eld mapping in addition.Employee Central entity.
Note
Make sure that you have imported the metadata for this. If you don't have any specic requirements,
such as mapping country-specic elds, Employee Central entity to the SAP S∕4HANA system using the
metadata import program. Otherwise no elds are available here.
2. Map each Employee Central eld to an SAP S∕4HANA eld using a suitable mapping mode:
• When you select the mapping mode Infotype Mapping, you assign an infotype or subtype eld in the
primary mapping. You can use elds from the Personnel Administration infotypes for eld mapping.
Some infotypes require a special processing such as:
• Repetitive mapping: If you enter an infotype such as Basic Pay (0008), to denote the repetitive
mapping setting in the V_ECPAO_ECTMPL view (entity creation). Eg 0008 in WS_12, you can't make
entries in the Infotype Field eld. Instead, the Repetitive Field eld is displayed. Here you can select the
infotype eld for which you want to use a repetitive mapping.
• Date type mapping: If you enter the Date Specications (0041) infotype, you can't make entries in the
Infotype Field eld either. Instead, the Date Type eld is displayed. Here you can select the date type
that you want to map.
• When you select the mapping mode Precongured Mapping, you can use mappings that were dened by
SAP in the Precongured Mapping tables (ECPAO_PREMAPPING, ECPAO_PREMAP_TT).
Note
User ID eld of the Employment Information (WS_3) and Person ID External of Biographical Information
(WS_2) are congurable for Business Integration Builder based SAP S∕4HANA replication from Employee
Central. This eld should not be mapped for replicating the date to Employee Central.
3. To map managers from SAP S∕4HANA to Employee Central, carry out the following steps for each
transformation template that denes a type of manager:
1. In the Infotype eld, select MNGR.
2. In the Subtype eld, select the suitable type of manager relationship that you have dened in the
V_ECPAO_MNGRTYPE Customizing view as described in section Dene Types of Manager Relationships.
3. Select one of the following elds from the Manager Assignments for Employee Replication
(ECPAO_EE_MGNR) table as the infotype eld to be mapped:
• RELATION_CODE
You can map the relation-type eld in the Job Relationships template to the RELATION_CODE eld.
You also need to dene a value mapping entity for the relation-type eld using the type of manager
relationship that you have dened in the V_ECPAO_MNGRTYPE Customizing view as the SAP S∕4HANA
key.
Example
You want to map the Employee Central eld Supervisor in the Job Information template with a suitable
manager from SAP S∕4HANA. Therefore, you select the MNGR infotype, the 0001 subtype (which is dened
in the V_ECPAO_MNGRTYPE Customizing view with an evaluation path that determines the supervisor of
an employee), and the MNGR_USER_ID infotype eld. The content from the MNGR_USER_ID eld is then
read from the ECPAO_EE_MGNR table during employee extraction and transferred to Job Information in
Employee Central.
4. To map additional Organizational Management elds (such as the functional area or job family) for employees
from SAP S∕4HANA to custom-string# elds in Employee Central, carry out the steps described in section Map
Organizational Management Fields from SAP ERP HCM to Employee Central.
5. Specify if the Employee Central eld is a required eld based on the Succession Data Model congured in your
Employee Central instance.
Note
The metadata report already updates the required elds as per the input metadata le. You can see the
eld is required or not with the Required Field in EC checkbox in primary mapping overview screen.
6. If the value from the SAP S∕4HANA eld needs to be converted into an Employee Central value, enter the value
mapping entity that you have dened in the Dene Value Mapping Entities Customizing step.
Example
You might want to map the SAP S∕4HANA address type Home Address to the Employee Central address
type Home.
Caution
If the EC Field Has Picklist ag is set for the Employee Central eld that you have imported to SAP S∕4HANA
in the Import Metadata from Employee Central Customizing step, you need to assign a value mapping
entity. Otherwise the data extraction program might fail.
Note
You can dene the value mappings for this entity directly from here by choosing Dene Value Mapping
Entries.
If you need an additional eld mapping, for example for country/region-specic elds, dene a secondary mapping.
Context
Caution
When a secondary mapping is dened for an SAP transformation template, you cannot clone this template.
To dene an additional eld mapping for an SAP transformation template, you go to the Secondary Mapping view
of the VC_ECPAO_MAP view cluster. An easy way to dene a custom secondary mapping is to copy the sample
secondary mappings that are provided by SAP and adapt them to your requirements. Sample secondary mappings
are available for the following country/regions:
• Argentina
• Australia
• Austria
• Brazil
• Canada
If you need to dene eld mappings for other countries, you can also copy and adapt the sample content provided
for one of these countries.
Choose Show Sample Secondary Mapping in the Primary Mapping view to check which sample content is available.
Choose Copy Sample Content to copy the sample eld mappings. This includes primary mappings as well as
secondary mappings.
If you want to dene your own eld mapping, here's how to do this. You have two options:
Procedure
This is one of the elds from the infotype or subtype that you have dened in the primary mapping. You can
choose the linking eld from the value help in the Secondary Mapping view. The linking eld is dynamically
populated based on the infotype or subtype you have specied in the Primary Mapping view.
We provide sample content for dierent use cases in the Dene Field Mapping for Employee Data Customizing step,
which you can copy and adapt to your needs.
Use Cases
Sample content is available for all employee-related templates apart from: Job Relationships, Payment Information
Details USA, Dependent Address, Dependent National ID, and Dependent Global Information.
Provides eld mappings for the employee mini master records to be replicated from the SAP S∕4HANA system to
SAP SuccessFactors. The mini master is a subset of infotypes containing data that is needed for the Employee
Prole in SAP SuccessFactors.
Use this sample content to set up a regular web service-based replication of employee mini master data for the
Employee Prole when using the side-by-side deployment option.
Note
This sample content includes eld mappings only for the entities and elds that are needed for the Employee
Prole.
Provides eld mappings for employee master data to be regularly replicated or to be migrated from the SAP
S∕4HANA system to Employee Central. You can use this sample content in two scenarios:
• Either to set up a regular web service-based replication of employee data from the SAP S∕4HANA system to
Employee Central when using the side-by-side deployment option.
• Or to set up a delta-enabled migration to initially move your employee data from the SAP S∕4HANA system to
Employee Central if you want to transition to the side-by-side or the core hybrid deployment option.
Note
This sample content includes eld mappings for all entities supported by the standard delivery.
Provides eld mappings for employee master data to be migrated from the SAP S∕4HANA system to Employee
Central. Use this sample content to set up a CSV le-based migration to initially move your employee data from the
SAP S∕4HANA system to Employee Central if you want to transition to the core hybrid deployment option.
Note
This sample content includes eld mappings for all entities supported by the standard delivery.
Note
The sample content for the Pay Component Recurring and Pay Component Non Recurring entities does not
contain any entries in the Subtype column since each subtype corresponds to a wage type. Wage types
are customer specic, therefore no sample mapping can be provided for them. The sample content for the
Dependent ... templates contains entries for the Family Member/Dependents (0021) infotype, but the Subtype
column is also empty here. If you want to use the sample content for these entities, copy it and ll in the
subtypes.
You can use the cloning feature to dene a eld mapping for these entities. But make sure that you don't add a
secondary mapping in this case, since templates for which a secondary mapping is dened cannot be cloned.
Here is how to use the sample content provided in the Dene Field Mapping for Employee Data Customizing activity:
1. Create a transformation template group and select the sample content that you want to use for it.
2. Create transformation templates for all entities you want to use and assign the corresponding Employee
Central entities. You can create the transformation templates using two methods:
• Using the Copy Sample Content button at the transformation template group level.
You can use the Copy Sample Content button to save all the congurations like: Primary Mapping,
Secondary Mapping, Generic Value Conversion, and Country Specic Value Conversion conguration
details for the relevant EC entities based on the chosen sample content version at each transformation
template group level. You need to click on the save button after you click the Copy Sample Content button
to save all the congurations
Note
In case when the primary mapping is not maintained in the S table (ECPAO_FLDMAP_S) for a template,
that template will not be available in the Transformation Template view of the View Cluster. You
should manually add the template in the View Cluster. For example for Employment Info and Payment
Information template, you need to manually add the template after copying the sample content.
• Using the Copy Sample Content button at the transformation template level.
Note
Use this function only if you have not copied the sample content at the transformation template group
level.
Which eld mappings are copied depends on the sample content you have selected for the transformation
template group. After you copy the sample content for each transformation template, all the details of the
primary mapping, secondary mapping, generic value conversion, and country specic value conversion will
Example
You use the sample content provided for the Address template. The ADDRESS_TYPE_CSV value
mapping entity is assigned to the mapping of the address-type eld. A sample value mapping entity
with this name is provided. But no value mapping details are assigned to the ADDRESS_TYPE_CSV
value mapping entity. Therefore you go to the Dene Value Mapping Entities Customizing activity and
create an ADDRESS_TYPE_CSV custom value mapping entity. Then you go to the Dene Value Mapping
Details Customizing activity and dene the values to be mapped for this value mapping entity.
2. The sample content provided for the Job History template contains a mapping for the Supervisor
(manager-id) eld from Employee Central that uses the LMNG relationship type.
• If you want to use this mapping, copy the sample content for the Job History template. Then go to the
Dene Relationship Types for Managers and Employee-Related Org. Mgmt Data Customizing activity,
create the LMNG relationship type, and make the appropriate settings for it. Run the Determination
of Managers and Organizational Management Data (ECPAO_MNGR_TYPES_EXTRACTION) program
to extract the manager information. Otherwise, the NO_MANAGER entry will be replicated to the
Supervisor eld in the employee's Job History.
• If you want to use this mapping, but don't want to use the LMNG relationship type, copy the sample
content for the Job History template and change the mapping mode for the manager-id Employee
Central eld to BAdI Mapping. Then implement the Mapping of EC and ERP Data for Data Replication to
EC (EX_ECPAO_EMP_DATA_EXTRACT_OUT) Business Add-In (BAdI).
• If you don't want to use this mapping, copy the sample content for the Job History template and
remove the entry for the manager-id Employee Central eld ID.
Note
Once you have made custom entries in the Primary Mapping view (either by copying and adapting the sample
content or by making your custom entries from scratch), you can no longer copy the sample content. If you
have dened custom mappings and decide that you want to use the mappings provided by the sample content
instead, delete the transformation template and create a new template.
If you have already dened eld mappings in the previous releases, you can continue to use them without
any changes. However, if you want to replace your custom mappings with mappings provided with the sample
content, create new transformation templates for all entities for which you want to use the sample mapping.
Then continue as described above. Remove your existing transformation templates for the same entities from
the transformation template group or clear the Is Active checkbox for them so that the new transformation
templates are used instead.
Cloning a transformation template means that you reuse the eld mapping you dene for an infotype and
subtype in the Primary Mapping view of the VC_ECPAO_MAP view cluster (Dene Field Mapping for Employee
Data customizing activity) for some or all subtypes of this infotype.
Prerequisites
Dene the eld mapping for the transformation template using VC_ECPAO_MAP view cluster.
Context
You can dene the infotypes to be cloned and their subtypes in the Clone SAP Transformation Templates
Customizing section.
Example
This is useful for the Recurring Payments/Deductions (0014) and Additional Payments (0015) infotypes since
each wage type is itself a subtype of these infotypes. Using the cloning feature, you can use the same eld
mapping for all or some of these wage types. The cloning feature is also useful for infotypes such as Addresses
(0006), which has, for example, subtypes for the home or mailing address, or Communication (0105), which
has, for example, subtypes for the business phone number or private phone number.
Procedure
1. Dene which infotypes are relevant for cloning transformation templates and for which subtypes of these
infotypes you want to clone the corresponding templates in the Dene Infotypes and Subtypes for Cloning
Transformation Templates Customizing activity (V_ECPAO_CLN_INTY view).
a. Select the transformation template group and transformation template.
b. Enter the infotype and subtype. Repeat this for all subtypes for which you want to clone the corresponding
transformation template.
2. Dene which infotypes (primary or secondary) are relevant for cloning transformation templates and for which
country-specic subtypes of these infotypes (primary or secondary) you want to clone the corresponding
transformation templates in the Dene Country-Specic Infotypes and Subtypes for Cloning Transformation
Templates Customizing activity (V_ECPAO_CLN_CINT view).
a. Select the transformation template group and transformation template.
b. Enter the country grouping, the infotype, and the subtype. Repeat this for all subtypes for which you want
to clone the corresponding transformation template.
Note
While performing cloning for the dependent template, make sure that the number of clone subtypes
dened for Person Relationship (WS_19) should be the same as the number of clone subtypes for
Example
In the view cluster you can now congure a transformation template using both primary infotype and
the corresponding secondary infotype. Consider the primary infotype 0021 and secondary infotype
0106 (secondary infotype of 0021 for US). You can now clone this in the V_ECPAO_CLN_CINT view for
the required subtypes using the primary infotype 0021, which would clone the transformation template
for all the elds (elds using both 0021 and 0106 would be cloned).
Results
Once a transformation template group has been congured for a subtype cloning using the views
ECPAO_CLON_INTY and ECPAO_CLON_CINTY, then the Clone Infty and Ctry Clone Infty will be enabled at the
transformation template level. This will help you to identify which type of clone infotype was congured for that
transformation template without going into the primary mapping details screen.
Next Steps
If you want to dene a dierent eld mapping for a specic subtype of an infotype, don't enter it in the Customizing
activities listed above. Instead, dene a separate transformation template for this combination of infotype and
subtype in the VC_ECPAO_MAP view cluster.
You can copy the congurations like transformation template group, metadata, picklists etc from one Employee
Central instance to another EC instance based on a template group.
Context
When you are setting up the basic conguration activities in your ERP system for the replication of employee
master data and organization data, you can run this report to speed-up the process. After choosing the source
EC instance and transformation template group and entering the target EC instance and transformation template
group, the target EC instance and transformation template group is rst created and then the congurations are
copied into them when you execute the report.
1. Run the Copy conguration from one EC instance to another EC instance (ECPAO_COPY_CONFIGURATION)
program. You can also use the ECPAO_COPY_CONFIG transaction to run the program.
The program copies the conguration (Transformation Template Group, Metadata, Picklists etc) from one EC
instance to another EC instance based on your selection criteria.
2. On the selection screen, choose the source EC instance and transformation template group.
3. Choose the target EC instance and transformation template group.
4. Choose Copy Replication Direction if you want to create a copy for the same replication direction as the source
(ERP to EC or EC to ERP). If this eld is unchecked, the new copied transformation template group is created
without setting the replication direction. You could go to V_ECPAO_TTG_EE or V_ECPAO_TT_OM views to set
the required replication direction again.
5. In the action type, choose Test Run to carry out a test run of the program to check the data that will be copied.
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for a
transport request.
You can now compare the transformation template group data and check if there is any dierence between the
congurations before even you run the data extraction tool.
Context
You can run the comparison tool to check the metadata elds, settings at the instance level between two Employee
Central instances. In addition, the primary eld mapping, secondary eld mapping, and the value mappings
between two transformation template groups can be compared. The report displays the information at both the
instance level and could also be used to check if there is any dierence between the two data.
In the result screen, a hierarchical tree structure is displayed, showing the data of the source and targets in the
left and right side panes respectively. The results are shown at the entity level, showing how the congurations are
congured in both the source and target elements. You can expand each node to see the details within it. Using the
above view, you can identify the dierence between the source and target transformation templates and make the
necessary corrections if needed using the corresponding IMG activity.
Procedure
1. Go to the comparing the conguration (ECPAO_COMPARE_CONFIG) transaction to run the Report for
Comparing the conguration (ECPAO_COMPARE_CONFIGURATION) program.
The program compares the conguration (Transformation Template Group, Field Mappings, Primary and
Secondary Mappings and Conversion rules, etc.) from one Employee Central instance to another Employee
Central instance based on your selection criteria.
• Metadata - Choose the source Employee Central instance, target instance, and the Employee Central
entity.
• Transformation Template Group - Choose if you are going to compare the transformation template groups
of employee data or organizational data type. After you choose the relevant option (employee data or
organizational data), choose the Employee Central instance, source and target transformation template
group, and the Employee Central entity.
• Employee Central Instance/Company - Choose the source Employee Central instance and target Employee
Central instance.
4. In Other Selection Criteria, choose Show Only Differences if you want to display only the dierence in the
result.
An employee can be ltered out based on the employment status and this can be done during the migration of the
employee master data.
When the ltering of the employee master data is done based on the employment status, then the complete
extraction of the data will be stopped irrespective of whether the template is eective-dated or non-eective dated
after the earliest transfer date. For more information on how the earliest transfer works in the BIB replication
mode, refer to the Replicating Employee Master Data and Organizational Assignments from Employee Central to
SAP S∕4HANA guide.
Active Yes
Inactive No
Retired No
Withdrawn No
Retired Employee was active during initial load Yes (Default position is not transferred,
but now changed to retired state after but the last valid position would be trans-
initial load. ferred to Employee Central.)
Withdrawn Employee was active during initial load Yes (Default position is not transferred,
and changed to withdrawn state after ini- but the last valid position would be trans-
tial load. ferred to Employee Central.)
The above logic for ltering the PERNR's based on the employment status and the earliest transfer date is also
applicable for an employee having multiple PERNR's as part of the International Transfer, Global Assignment, and
Concurrent employment. In this case, individual PERNR's will be ltered out completely if it satises the above
ltering criteria's. For example, in international transfer if the earliest transfer date is after the termination date of
the PERNR 1, then the PERNR 1 will be completely ltered out and PERNR 2 will be migrated to Employee Central
with single employment.
The user status in employee prole can be set to Active or Inactive based on the current employment status in ERP.
For terminated employee the user status was previously set to inactive in Employee Central by the HRIS
synchronization process, which was executed after the upsert of the job info entity. Now you can directly set
the user status to Active or Inactive based on the current employment status on the current date with upsert of
user entity (WS_1) or import of basic info template (CSV_1).
Standard elds aren't available for conguration in Customizing, independent of which communication channel you
use.
A default mapping is dened for these elds, which you can't change.
No
te
Appli-
cable
only
when
the
switch
ERP to
ER/EC
to ERP
(BIB):
Activat
e
Assign
mentI
D
Extern
al in
the
view
V_EC-
PAO_C
ONST-
ANT is
ena-
bled.
No
te
Appli-
cable
only
when
the
switch
ERP to
ER/EC
to
ERP:
Activat
e
Assign
mentI
D
Extern
al in
the
view
V_EC-
PAO_C
ONST-
ANT is
ena-
bled.
No
te
The
stand-
ard
eld
Se-
quenc
e
num-
ber is
popu-
lated
by de-
fault. If
multi-
ple re-
cords
of job
infor-
mat-
ion en-
tity for
an
user
on a
same
day
exist
then
se-
quenc
e
num-
ber
will be
incre-
mente
d for
each
re-
cord.
Phone person-
Info Info.per-
son-id-ex-
ternal
No
te
The
stand-
ard
eld
Se-
quenc
e
num-
ber is
popu-
lated
by de-
fault. If
multi-
ple re-
cords
of
com-
pensa-
tion in-
forma-
tion
entity
for an
user
on a
same
day
exist
then
se-
quenc
e
num-
ber
will be
incre-
mente
d for
each
re-
cord.
This
eld is
availa-
ble
only in
the
parent
entity.
This
eld is
not
sup-
ported
for the
corre-
spondi
ng
child
entites
(Pay
Com-
po-
nent
Recur-
ring).
Nationa- person-id-
lIdCardIm- external
portTem-
plate
Alterna- usersSysId
tive Cost
Distribu-
tion
Alterna- usersSysId
tive Cost
Distribu-
tion Items
Depend- person-id-
ent Na- external
tional id
Note
Applicable
only when
the switch
ERP to
ER/EC to
ERP (BIB):
Activate
AssignmentI
D External in
the view
V_EC-
PAO_CON-
STANT is
enabled.
Note
Applicable
only when
the switch
ERP to
ER/EC to
ERP:
Activate
AssignmentI
D External in
the view
V_EC-
PAO_CON-
STANT is
enabled.
Note
The stand-
ard eld Se-
quence
number is
populated
by default. If
multiple re-
cords of job
information
entity for an
user on a
same day
exist then
sequence
number will
be incre-
mented for
each record.
PerEmail personIdExter-
nal
PerPhone personIdExter-
nal
tion
Note
The stand-
ard eld Se-
quence
number is
populated
by default. If
multiple re-
cords of
compensa-
tion infor-
mation en-
tity for an
user on a
same day
exist then
sequence
number will
be incre-
mented for
each record.
EmpPayComp- userId
NonRecurring
PerNationalId personIdExter-
nal
EmpCostDistri- usersSysId
bution
EmpCostDistri- EmpCostDistri-
butionItem bution_usersSy-
sId
Note
If any new or existing elds in Employee Central are declared as standard elds in Business Integration Builder,
then you need to update the metadata by running the metadata reports.
Standard mappings aren't available for conguration in Customizing, independent of which communication
channel you use. They are automatically added to the mappings you dene.
The mappings listed above are used if you select Standard Mapping in the User ID Mapping, User Name Mapping,
and Person ID Mapping columns in the Dene Employee Data Settings for Employee Central Instance Customizing
activity.
status SAP S∕4HANA always sends the value as Active. Status is sent
as Active/Inactive based on the current employment status.
(Later on the HRIS synchronization process in Employee Cen-
tral sets the status from the event reason of the relevant Job
Info record.)
rstName First Name (VORNA) eld in the Personal Data (0002) infotype
lastName Last Name (NACHN) eld in the Personal Data (0002) infotype
middle-name Middle Name (MIDNM) eld in the Personal Data (0002) info-
type
manager-id Taken from the Supervisor eld in Job History, which is map-
ped using the Dene Relationship Types for Managers and
Employee-Related Org. Mgmt Data Customizing activity (view
V_ECPAO_MNGRTYPE)
Note
You can't congure the Basic Import / User entity in the SAP S∕4HANA system. All elds of this entity use a
standard mapping, which you can't change.
start-date Start Date (BEGDA) eld of the Personal Data (0002) infotype
Note
• Start date eld is a standard eld and is a congura-
ble eld for WS_3 and CSV_3 entity. But from the SAP
S∕4HANA to Employee Central direction, start date
eld does not consider eld mapping. By default, data
extraction process logic is triggered.
• The start date eld is automatically derived from the
rst record of the job information entity and the eld
does not carry the value sent from ERP. Therefore,
whatever value the Infoporter tool sends will be over-
written in Employee Central.
Note
In SAP S∕4HANA, you can dene how the hire date is
determined using the Rule for Determining Entry Date (EN-
TRY) feature. The employee's hire date provided by this
feature is replicated to Employee Central.
Note
Assignment ID external eld will be extracted based on
the constant ERP to EC/EC to ERP: Activate AssigmentID
External. You can enable or disable the switch using
the Maintain Constant Values for Data Migration and
Replication to EC customizing activity. If the switch is ac-
tivated then the assignment ID external eld will be ex-
tracted as PERNR.
isRehire Set to True for the consecutive employments (except the rst
employment) in an international transfer scenario when the
Centralized Services switch is activated in SAP SuccessFactors
Employee Central.
Note
Original start date is now available for mapping in the view cluster (VC_ECPAO_MAP). If these elds are
mapped at the view cluster level, then the mapping would be considered from the view cluster level. If you
seq-number Filled with numbers 1..n for subsequent records with same
start date (multiple changes per day). For single records on
a day the sequence number remains as 1.
seq-number Filled with numbers 1..n for subsequent records with same
start date (multiple changes per day). For single records on
a day the sequence number remains as 1.
Note
This eld is available only in the parent entity. This eld
is not supported for the corresponding child entities (Pay
Component Recurring, Pay Component Non Recurring,
Pay Component Non Recurring O Cycle).
Mappings Dened for Pay Component Recurring and Pay Component Non
Recurring Entities
Payment Information.worker See Mappings Dened for Employee Central Instance above
(Payment Information.worker corresponds to user-id)
If the payment currency and standard currency are dierent in terms of decimal values, then the amount is
converted as per the decimal places of the payment currency. If the payment currency is not maintained, then
the amount is converted as per the decimal place value of the standard currency. For example: When EUR4 is
the payment currency having 4 decimals and EUR is the standard currency having 2 decimals, then during the
migration the amount value is converted to have 4 decimals and transferred to Employee Central.
You can now replicate the temporary national ID via value mapping entities. You can create new country specic
value mapping entities for the temporary national ID with value mapping type as Standard Mapping.
Event Date Start Date (BEGDA) eld of the Personal Data (0002) infotype
End Date End Date (ENDDA) eld of the Personal Data (0002) infotype
start date Start Date (BEGDA) eld of the Personal Data (0002) infotype
end date End Date (ENDDA) eld of the Personal Data (0002) infotype
The following mappings of SAP S∕4HANA entities and Employee Central entities are precongured. This
means that the mapping is dened by SAP in the Precongured Mapping tables (ECPAO_PREMAPPING,
ECPAO_PREMAP_TT).
Precongured Mapping
Cost Center in Job Information Concatenation of Controlling Area (KOKRS) and Cost Center
(KOSTL) elds from Organizational Assignment (0001) infotype
Source of Record* in Employment Information Logical System (LOGSYS) eld in Clients (T000) table
Country Code**, for example, in National ID entity Country codes from Countries (T005) table
* You use the Source of Record eld to dene which is the leading system for the employee's data. If an employee's
data is mastered in SAP S∕4HANA, the Source of Record eld should indicate the corresponding SAP S∕4HANA
system. Also make sure that you have created the picklist for the Source of Record eld in the Employee Central
system.
Source of Record eld is now used for license auditing. For more information see User Types in Employee Central/
Classifying Users in Employee Central for License Compliance topics in the Related Information section. With this
eld, you will be able to classify your users which are still mastered in an ERP HCM system, as functional vs. full
user.
Example
Let's say, the data of all your employees in France is mastered in SAP S∕4HANA and replicated to Employee
Central. So the Source of Record eld of all employments assigned to France contains the logical system
ID of the corresponding SAP S∕4HANA system, indicating that this data is mastered in SAP S∕4HANA. Now
you switch the system of record for employees in France so that their data is mastered in Employee Central.
Therefore, the entry in the Source of Record eld of all employments assigned to France needs to be changed so
that it now indicates Employee Central as the master system. For employees who have employments in several
countries, only the employment assigned to France needs to be changed. The other employments should stay
as they are. After having changed the Source of Record eld, you stop replicating the data of your employees in
France from SAP S∕4HANA to Employee Central.
To do so, download the Employment Information data for all aected employments from SAP S∕4HANA as a CSV
le and upload it to Employee Central. Make sure that you have lled the Source of Record eld with the entry EC
from the external code of the SourceOfRecord picklist and the user_id eld with the correct user IDs of the aected
employees. If you want to leave the other elds empty, use the NO_OVERWRITE notation. For more information, see
the FAQs: Importing Data section in the Implementing Employee Central Core implementation guide. Find the most
current version of this guide in SAP Help Portal at http://help.sap.com/hr_ec.
** This is used, for example, for mapping the mandatory Card Type eld from the National ID entity in Employee
Central to the Personnel ID Number (PERID) eld from the Personal Data (0002) infotype in SAP S∕4HANA. Since
there is no card type information provided by the SAP S∕4HANA system, the TM_USMIGRATION value mapping
entity is used for the PERID eld, which maps the country-specic Employee Central card types to country codes
from the Countries (T005) table in the SAP S∕4HANA system.
You can also use this precongured mapping for other entities where it suits your requirements.
Repetitive structure mapping is used for the Cost Distribution (0027) infotype, which has a repetitive structure.
In principle, repetitive structure mapping for this infotype works the same way as for the Basic Pay (0008) infotype,
but it uses some other objects:
• The Employee Central template provided for cost distribution is the Alternative Cost Distribution Items
template.
• The repetitive structure ECPAO_REPETITIVE_ST_IT0027 is entered in the Repetitive Structure eld of this
template is. This structure contains the following elds:
• Company Code (KBU01)
• Business Area (KGB01)
• Cost Center (KST01)
• Cost center percentage (KPR01)
Example
Note
You can only transfer cost distribution to cost centers. Other cost distribution items are currently not
supported. Employee Central doesn't accept more than 12 cost distribution items per employee. If an
employee's Cost Distribution infotype contains more than 12 entries, the data extraction program shows an
error message. No data is extracted for this employee.
Repetitive structure mapping is used for infotypes such as Basic Pay (0008) or Cost Distribution (0027) that use a
repetitive structure.
In this kind of infotype, data is entered in table form. The user can enter the data such as wage types or cost
distribution items several times. The input line for the data is available several times on the input screen. The
structure of the input line is stored in the infotype structure, and the individual elds are numbered.
Without repetitive structure mapping you would have to create a separate SAP transformation template for each
repetitive eld (for example, for each wage type or cost distribution item that can be entered) to map the elds
separately to the corresponding Employee Central eld ID's.
If you use repetitive structure mapping, you only need a single SAP transformation template, which maps the
repetitive elds once. There's no need to create several SAP transformation templates. The data extraction
program extracts the wage types or cost distibution items that are stored in an employee's infotype using the
eld mapping you have dened once.
Related Information
Repetitive structure mapping is used for the Basic Pay (0008) infotype, which has a repetitive structure.
In this infotype, you can enter up to forty dierent wage types and their amounts. The structure of the wage type
line is stored in the infotype structure (P0008), and the individual elds are numbered from one to forty.
Without repetitive structure mapping you would have to create a transformation template for each wage type to
map the infotype elds such as LGA01 separately to the corresponding Employee Central elds.
Example
You'd create an ERP_RECURRING_1 template to map the LGA01 and BET01 elds. You'd create an
ERP_RECURRING2 template to map the LGA02 and BET02 elds. And so on – up to forty templates.
If you use repetitive structure mapping, you only need a single transformation template, which maps the
repetitive elds once. A repetitive structure is needed for this, which comprises the infotype elds to be
mapped. This structure needs to be entered in the Repetitive Structure eld in the Dene Employee Central
Templates for Additional Employee Data Entities Customizing step. We provide the default repetitive structure
ECPAO_REPETITIVE_ST_IT0008. This structure contains the following elds:
The ECPAO_REPETITIVE_ST_IT0008 structure is assigned to the Pay Component Recurring Employee Central
entity in the Dene Additional Employee Central Entities for Employee Data Customizing step.
In the Dene Field Mapping for Employee Data Customizing step, you can now create a transformation template for
the mapping of recurring pay components. If you assign the Pay Component Recurring Employee Central entity to
There's no need to create multiple transformation templates. The data extraction program extracts all wage types
that are stored in an employee's Basic Pay infotype using the eld mapping you have dened once.
Repetitive structure mapping is used for the Cost Distribution (0027) infotype, which has a repetitive structure.
In principle, repetitive structure mapping for this infotype works the same way as for the Basic Pay (0008) infotype,
but it uses some other objects:
• The Employee Central template provided for cost distribution is the Alternative Cost Distribution Items
template.
• The repetitive structure ECPAO_REPETITIVE_ST_IT0027 is entered in the Repetitive Structure eld of this
template is. This structure contains the following elds:
• Company Code (KBU01)
• Business Area (KGB01)
In the Dene Field Mapping for Employee Data Customizing step, in your transformation template for the mapping
of cost distribution items, you can map these elds as shown in this example:
Example
Note
You can only transfer cost distribution to cost centers. Other cost distribution items are currently not
supported. Employee Central doesn't accept more than 12 cost distribution items per employee. If an
employee's Cost Distribution infotype contains more than 12 entries, the data extraction program shows an
error message. No data is extracted for this employee.
Object identication mapping is used for infotypes such as Family Member/Dependents (0021) that use the Object
Identication (OBJPS) eld to make a distinction between data records with the same infotype, subtype, lock
indicator, start date, and end date.
With object identication mapping, you have two options to dene a eld mapping for this kind of infotype:
• Option 1: You map the necessary elds once for each type of relationship. The mapping includes country-
independent as well as country-specic elds The relationships are represented by subtypes such as Spouse
(subtype 1), Child (subtype 2), or Mother (subtype 12). You can create one transformation template per type of
relationship, such as ERP_PERSONAL_SPOUSE, ERP_PERSONAL_CHILD, ERP_PERSONAL_MOTHER. You specify
the subtype in the Primary Mapping view of the Dene Field Mapping for Employee Data Customizing step.
You only need one ERP_PERSONAL_CHILD transformation template group for the Child subtype, even if an
employee has several children.
The SAP S∕4HANA system creates the additional transformation templates that are needed for the data
records that are identied by the OBJPS eld.
Example
Let's say an employee has three children. This means that three records of the Family Member/Dependents
infotype with the Child subtype exist for this employee, each with a dierent OBJPS entry (01, 02, and 03).
You have created a transformation template to map the elds of the Child subtype. This transformation
template is used for the data record with the OBJPS entry 01. The SAP S∕4HANA system creates two
additional transformation templates for the data record with the OBJPS entries 02 and 03.
• Option 2: If no country-specic eld mapping is needed, you can also create one single transformation
template, such as ERP_PERSONAL_DEPEND, for all dependents (meaning for all subtypes). In this case you
don't enter the subtypes in the Primary Mapping view.
Instead you use the Clone Transformation Templates Customizing steps to reuse the eld mapping you dene
for the Family Member/Dependents infotype for the subtypes of this infotype. So you enter, for example, the
Family Member/Dependents infotype and the subtypes 01 and 02 in the Dene Country-Specic Infotypes and
Subtypes for Cloning Transformation Templates Customizing step.
Note
You can't use the cloning feature for transformation templates that use the secondary eld mapping. The
Addresses, National ID, and Global Information templates for an employee's dependents, for example,
comprise country-specic elds and therefore need a secondary mapping. Use option 1 for these
templates. This means you create, for example, an ERP_ADDR_CHILD transformation template. For this
template, you can use primary as well as secondary eld mapping.
For both options an additional logic is needed to generate a unique key for the entities dened by the OBJPS entry.
This logic is applied to the Employee Central eld that is entered in the Object Identication Field eld in the Dene
Employee Central Templates for Additional Employee Data Entities Customizing step.
Note
The number of clone subtypes dened for Person Relationship should be the same as the number of clone
subtypes for Biographical Info for dependents.
Object identication mapping is used for the Biographical Information Employee Central template. Therefore,
person-id-external is specied in the Object Identication Field for this template. This means, a unique key is
generated that can be transferred to the person-id-external eld in Employee Central to identify the employee's
dependents.
We provide a standard logic that concatenates the employee's personnel number (PERNR) with the subtype of the
Family Member/Dependents infotype, and, where applicable, with the OBJPS entry.
Example
Let's say the employee with the personnel number 00000250 has a spouse and two children. Then the
following keys are generated for the employee's dependents: 250_1 (Spouse), 250_2_01 (Child 1), 250_2_02
(Child 2).
To store the key mapping information for OBJPS-relevant infotype replication we use the ECPAO_OBJPS_KMAP
table. This table is relevant for all templates having GENERATOR_MODE as O in the ECPAO_ECTMPL table. The
external and the internal value of the generator eld are part of the table. In case of infotype 21 replication, the
internal generator eld signies the person ID of the dependents (this is an Employee Central-internal value) and
the external generator le value will store the person ID external of the dependent. This key mapping table is
populated only for those subtypes that are OBJPS-relevant subtypes.
ECPAO_OBJPS_KMAP table
Fields Description
INFTY Infotype
SUBTY Subtype
During replication of data to Employee Central, personnel number, infotype, subtype, and object identication
elds would be populated.
Related Information
Time constraint 3 mapping is used for the infotypes Bank Details (0009), Additional Payments (0015), Additional
O-Cycle Payments (0267), and Additional Actions (0302), which can have overlapping records.
Time constraint 3 means that any number of valid records of an infotype can exist at any one time. If several
infotype records with the same start date and end date exist, they are assigned dierent sequence numbers in the
Number of Infotype Record With Same Key (SEQNR) eld.
Fields from infotypes that have time constraint 3 can be mapped to elds from Employee Central entities that also
support overlapping data records. The infotypes listed above, for example, can be mapped to these entities:
The Time Constraint 3 Mapping processing mode and the corresponding infotype are assigned to the Employee
Central templates that can have overlapping data. This enables the employee data extraction program to extract
the overlapping data records.
Example
Let's say, these records of the Bank Details (0009) infotype exist for an employee:
Type of Bank
Payment Standard Details Re-
Start Date End Date Seq.No. Method Amount Currency Percentage cord
January 1, December 31, 0 Bank Transfer 1.500,00 USD 0,00 Other Bank
2016 9999
January 1, December 31, 0 Bank Transfer 1.500,00 USD 0,00 Other Bank
2015 2015
And here's another example showing the records of the Additional Payments (0015) infotype:
Related Information
The Date Specications (0041) infotype can't use a straightforward eld mapping, but has special requirements.
This infotype allows you to enter a user-dened combination of data. It uses a combination of Date Type elds
(DAR01, DAR02, and so on) and Date for Date Type elds (DAT01, DAT02, and so on). You can select any date type,
such as First Working Day, in any DARnn eld and store the corresponding date in the corresponding DATnn eld.
For another employee, you can use the same combination of DARnn and DATnn elds to store a dierent type of
date. Or you can store the same type of date in a dierent combination of DARnn and DATnn elds.
This means that you can't map the actual Date Type infotype eld, such as DAR01, to an Employee Central eld,
such as initial-entry-date, because the infotype eld can have dierent meanings. Instead, you need to be able to
map the actual date types, such as First Working Day, to the Employee Central eld. To support this, a special
mapping makes available an additional Date Type eld in the Primary Mapping view of the Dene Field Mapping for
Employee Data Customizing step.
This eld provides the input help entries dened for the Date Type infotype eld so that you can use them for eld
mapping. The input help is populated from the Date Types (T548Y) table that contains standard date types as well
as date types dened in Customizing (for example, in Customizing for Personnel Management under Personnel
Administration Evaluation Basis Date Specications Dene Date Type ).
Date type mapping can also be used for country-specic elds. Meaning, for SAP S∕4HANA templates that use the
secondary eld mapping.
Example
Let's say you want to map the professionalServiceDate eld from Employee Central to dierent country-specic
date types, such as:
The mapping of date types is currently used for the Employment Details and Job History Employee Central entities.
You can specify a mapping between the employment details date elds and Job information date elds in Employee
Central to infotype date specication (IT0041) date types. If dates are relevant for payroll, we recommend that you
use corresponding job information date elds in Employee Central. In particular, we recommend using event-based
job information date elds. For example, if event-based date job information elds are used, these are lled
automatically by the Employee Central events. In Employee Central, this also saves a history of the data and hence
ensures data consistency with historical IT0041 data in SAP S∕4HANA system.
Related Information
Context
In Employee Central any change of data of an employee happens based on an event. The event can be a salary
hike, promotion or a change in the department information etc. The information about each event is stored in the
Event reason eld of Job information entity. In ERP, event reason can be mapped to either Action Type (MASSN) or
Reason of Action (MASSG) in infotype 0000.
In the Dene Field Mapping for Employee Data Customizing step, when dening the primary mapping for the
SAP transformation template that has the Job History Employee Central entity assigned, map the eventReason
Employee Central eld to the Action Type (MASSN) eld of the Actions (0000) infotype.
Event reason data can be migrated based on the Action Type or Reason of Actions.
• Method 1: Event reason data is migrated based on the Action Type (MASSN)
Example
IT0000 is maintained - Actions based on the Action Type (MASSN) and Reason of Action is not mandatory
(MASSG).
Field mapping for Event Reason eld: Based on the primary mapping congurations, event reason eld
extracted data with respective action type.
In this case, Value Mapping entries are updated with the respective action types MASSN (for ex: ERP
Key 01 (Hiring) – EC Key HIRENEW). If you have enabled additional actions (IT0302), then change only
the infotype eld mapping as “0302” instead of “0000”.
• Method 2: Event reason data is migrated based on the Reason of Actions (MASSG) with reference of linked eld
MASSN.
Example
IT0000 is maintained - Actions based on the Action Type (MASSN) and Reason of Action (MASSG) as
mandatory elds.
Based on the linked eld MASSN congurations, secondary mapping eld will be dynamically listing the
values (for ex: Linked eld is used as MASSN and secondary mapping screen rst column will display the
Action type). With this system conguration, event reason eld extracts the data based on the Reason of
Action condition instead of Action Type.
Note
In this case, value mapping entries are updated with the respective reason of actions MASSG (for ex:
ERP Key 01 (Expansion) – EC Key : HIRENEW). If you have enabled additional actions (IT0302), then
change only the infotype eld mapping as “0302” instead of “0000”.
Related Information
The Additional Actions (0302) infotype allows you to execute several personnel action types for an employee on
one day.
Prerequisites
To enable the use of the Additional Actions (0302) infotype, run the Activation of Additional Actions (RPUEVSUP)
program in your SAP S∕4HANA system for the required employees. This program carries out the following steps:
• It activates the Additional Actions infotype by setting the value of the ADMIN EVSUP switch in the T77S0 table
to 1.
Context
The Additional Actions (0302) infotype enables automatic logging of all personnel action types performed for an
employee for a specied key date. You can display and edit the records stored in the Additional Actions infotype
(0302) on the Actions (0000) infotype list screen.
Note
Here's how you dene the mappings the mappings needed to enable replication of additional actions to Employee
Central:
Procedure
1. Since the Additional Actions (0302) infotype can have overlapping records, the Time Constraint 3 Mapping
processing mode needs to be assigned to the Employee Central template. This step was already carried out for
the Job History (Job Info) default template:
Results
If you now run the employee data extraction program, the content of the Action Type eld from the Additional
Actions (0302) infotype is extracted for the eventReason Employee Central eld. If for an employee there is no
Additional Actions entry, the corresponding entry from the Actions (0000) infotype is extracted as a fallback.
Related Information
Handle Managers in the SAP S∕4HANA System Whose Data Is Mastered in Employee Central [page 197]
Managers whose data is mastered in Employee Central don't have a personnel number in the SAP
S∕4HANA system, that's why they need special handling.
Use Position Relationships from SAP S∕4HANA to Create Supervisor Relationships in Employee Central [page
199]
You can create supervisor relationships for the Job History entity in Employee Central by replicating
position relationships from SAP S∕4HANA, without replicating the manager from SAP S∕4HANA explicitly to
the Supervisor eld of the employee's Job History.
You dene dierent types of employee-manager relationships (such as a line manager or a matrix manager
relationship) and the corresponding evaluation paths in the Dene Relationship Types for Managers and Employee-
Related Org. Mgmt Data Customizing activity (view V_ECPAO_MNGRTYPE).
Context
In the VC_ECPAO_MAP view cluster, you can use the types of manager relationships you dene here to map
managers from SAP S∕4HANA to Employee Central, for example, to use them in the Job Relationship template.
Procedure
You can enter any description. The ID you enter here is used in the VC_ECPAO_MAP view cluster, in the Primary
Mapping view. In this view cluster, you enter the ID in the Subtype eld.
2. Select the evaluation path that is to be used to determine the managers for this type of relationship.
The evaluation path describes a chain of relationships between objects in a hierarchical structure, such as
organizational unit position person . The SAP S∕4HANA system evaluates the structure along this
evaluation path and takes into account the objects that it nds using this path. You can use evaluation paths
that start with the object types * (any), O (organizational unit), S (position), or P (person).
3. Enter the structure depth.
This is a number of one to six digits. The number corresponds with the dierent levels of an organizational
structure, with 1 being the highest level in a structure, and all subsequent numbers representing lower levels.
The level number determines how much of a structure is processed. For example, if the structure depth is 3,
the SAP S∕4HANA system processes down three levels of the structure, beginning from the object that you
select as the root object. If you don't want to limit processing, leave the structure depth blank.
4. To dene whether the type of manager relationship is currently active and used by the manager extraction
report or not, select or clear the Is Active checkbox.
Results
Related Information
Context
You can determine dierent types of managers for a given selection of employees, based on the types of
manager relationships you have dened in the Relationship Types for Managers and Organizational Mgmt Data
(V_ECPAO_MNGRTYPE) view (see section Dene Types of Manager Relationships [page 191]). The managers are
stored in the Managers and Org. Mgmt Fields for Employee Replication (ECPAO_EE_MGNR) table so that manager
relationships can be transferred to Employee Central. Employee Central uses the manager relationships, for
example, in the Job Relationships and the Job Information templates to identify dierent types of managers, such
as matrix managers, second managers, custom managers, or HR managers.
Procedure
Next Steps
The Employee Data Extraction program reads the information about the managers from the ECPAO_EE_MGNR table.
If it nds the manager for an employee, it transfers this information to Employee Central. Otherwise, the entry
NO_MANAGER is transferred.
Related Information
The User ID eld assigned to a manager's personnel number in the Managers and Org. Mgmt Fields for Employee
Replication table is updated from the corresponding User ID eld in the employee key mapping table. Here's how
this update happens.
An MMNG (Matrix Manager) relationship type is dened in the Dene Relationship Types for Managers and Employee-
Related Org. Mgmt Data Customizing activity.
The following mapping is dened in primary mapping of the Dene Field Mapping for Employee Data Customizing
activity for the manager-id eld:
And this mapping is dened in primary mapping for the user-id eld:
Related Information
See where SAP S∕4HANA and Employee Central dier regarding manager assignments.
In the SAP S∕4HANA system, an employee can be assigned to dierent types of managers as well as to multiple
managers of the same type in overlapping periods. In Employee Central, an employee can only be assigned to
one manager of the same type (for example, to one matrix manager) at a specic point in time. If the employee
is assigned to multiple types of managers, the assignment periods must match. The extraction logic adapts the
manager assignments in the two cases described below.
In this case, the extraction logic modies the time slices so that the assignment periods of the same employee to
dierent types of managers match.
Note
To make this work, you need to map the end date eld of the Job Relationships Employee Central entity to the
SAP S∕4HANA eld ENDDA.
Example
The second manager assignment starts after the rst assignment has ended.
Related Information
Managers whose data is mastered in Employee Central don't have a personnel number in the SAP S∕4HANA
system, that's why they need special handling.
Context
To be able to transfer the manager relationships of employees who are assigned to these managers from SAP
S∕4HANA to Employee Central, you must create users for these managers in SAP S∕4HANA. The Determination of
Managers and Organizational Management Data (ECPAO_MNGR_TYPES_EXTRACTION) program then stores these
managers' users instead of the personnel numbers in the Managers and Org. Mgmt Fields for Employee Replication
(ECPAO_EE_MGNR) table.
Restriction
The managers' users have to be absolutely identical in SAP S∕4HANA and in Employee Central. In the
SAP S∕4HANA system, user names can only have 40 characters and have to be in uppercase. Therefore,
this approach only works for new Employee Central customers who make sure that their user names in
Employee Central comply with the SAP S∕4HANA user denition.
4. Go to the Organization and Stafng (PPOME) transaction and assign the user to the corresponding
organizational structure.
5. Go to the Dene Relationship Types for Managers and Employee-Related Org. Mgmt Data Customizing activity
and select an appropriate evaluation path for the User (US) object type.
Related Information
You can create supervisor relationships for the Job History entity in Employee Central by replicating position
relationships from SAP S∕4HANA, without replicating the manager from SAP S∕4HANA explicitly to the Supervisor
eld of the employee's Job History.
Prerequisites
Position Management must be enabled for your account using the Manage Employee Central Settings admin tool in
Employee Central.
The Parent Position eld must not be a required eld in the Employee Central data model during data replication.
Make sure that the Multiple Use checkbox is selected for the Employee Central entities that you use for
organizational data so that you can assign one Employee Central entity to multiple transformation templates.
Within the transformation template group that you use for organizational data extraction, create two
transformation templates for positions, one that maps the Parent eld and one that doesn't. Assign the same
Employee Central template to both transformation templates.
Example
Let's say, you create the transformation templates POSITION_WO_PARENT and POSITION_W_PARENT for
mapping SAP S∕4HANA elds to Employee Central elds. You assign the Employee Central entity Position
to both of the transformation templates and map the elds as shown below.
POSITION_WO_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
POSITION_W_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
Procedure
1. Replicate the child position P1 and its parent position P2 - but without the relationships between them - from
SAP S∕4HANA to Employee Central. To do so:
a. In the transformation template group that you use for organizational data extraction, select the Is Active
checkbox for the transformation template that you use for mapping position elds and that does not map
the Parent eld. Deselect this checkbox for the other transformation template that you use for mapping
positions (the one that contains the Parent eld).
Example
In the example above, the POSITION_WO_PARENT template would be active, the POSITION_W_PARENT
template would be inactive.
Example
In the example above, the POSITION_W_PARENT template would be active, the POSITION_WO_PARENT
template would be inactive.
Related Information
Extracting Employee Data with Additional Events Before Earliest Transfer Date [page 224]
Learn how to extract the employee data with additional events before the earliest transfer date.
How the Extraction Report behave for dierent Employment Statuses [page 236]
When the additional events are not congured, the employments that are inactive as of earliest transfer
date and changes beyond the earliest transfer date is ignored from transferring to Employee Central.
Parallelization of Employee Data Extraction with the Job Scheduler Report [page 238]
For migrating a large number of employee data to Employee Central you can use the Job Scheduler report.
This report will automatically divide the load into smaller batches and schedule multiple background jobs,
which can be executed in parallel.
Here is how to extract employee data from the SAP S∕4HANA system to transfer it to Employee Central.
Procedure
1. Go to the Employee Data Extraction (ECPAO_EE_EXTR) transaction to run the Employee Data Extraction
(ECPAO_EMPL_EXTRACTION) program (Infoporter tool).
The program extracts employee data from the SAP S∕4HANA system based on your selection criteria.
If the constant ERP to EC/EC to ERP: Connect Multiple EC Instances is enabled, the SAP S∕4HANA system
checks whether the specied transformation template group is correct. For more information, refer to Setting
Up the Connection of Multiple Employee Central Instances to the Same SAP S∕4HANA System Client [page
244].
3. Select the variant ID that you have created before in the Dene the Variant IDs for Data Migration customizing
activity (view V_ECPAO_VARIANT).
Once you have created the variant ID, you should have also assigned the required transformation templates
to the variant ID using the Dene the Transformation Templates for a Variant ID customizing activity (view
V_ECPAO_TEMP_VAR).
Note
This is not a mandatory eld. You can choose the Variant ID if you want to perform the extraction in multiple
steps. For more information, see: Extracting Employees in Multiple Steps .
Note
You can congure the Employee Central templates that should be ltered out for a given country using
the customizing activity Filter EC Entities for Migrating Employee Data to EC based on Country (view
V_ECPAO_ECTM_FIL).
Authorizations
Authorization Object Authorization Field Authorization Value
ECPAO_EMPL_EXTRACTION
S_TABU_NAM ACTVT 02
Further, it is your responsibility for the retention and deletion of these les from the application server or
local machine.
If you select the File Transfer and Use Local Drive Path options, you must specify where the CSV le is to be
stored.
Note
When you schedule the program as a background job to carry out a mass data extraction, always
choose the File Transfer Use Server Path option.
For both options you can specify an addition to the le name to prevent existing les from being
overwritten by new les. If you don't enter a le identier, the same le name is used for each download so
that existing les are overwritten.
If you want to combine several CSV les into a .zip le, select the Combine into ZIP le checkbox. Please
note that CSV les that you create for generic objects can't be zipped. They are stored separately, even if
you select the Combine into ZIP le option.
Caution
While using local drive to save the CSV le, make sure that you are storing the les in a secure folder,
which will have access only the users having HR administrator role.
5. Select the Detailed Message Log checkbox if you want to get a detailed log containing all warning and error
messages for each employee.
6. Select the Failed Employee Replication checkbox if you want to re-run the replication for only those employees
for which the replication status is failed.
Note
7. You can carry out a test run of the program rst to check if the data can be extracted from SAP S∕4HANA
without errors.
8. If you carry out a productive run, the program extracts the data.
9. The program updates the following tables:
• Inventory of Data Replicated for Employees and Org. Objects (ECPAO_EE_INVT)
Employee's Per-
Employee Cen- SAP S∕4HANA sonnel Number Employee Cen- Sequence Num-
tral Instance Object Type in SAP S∕4HANA tral Template ber Message Text
Tip
Use the Analyze Inventory of Replicated Employee Data (ECPAO_EMPL_INVENTORY_ALV) program to check
these tables.
10. When delta enabled transformation template group is selected in the selection screen, for the successfully
migrated personnel numbers, the extraction process updates the corresponding ECPAO message type change
pointers (if available), and marks them as processed.
This applies when you do not choose any variant selection on the selection screen.
The application log would contain the warning, error, or success messages. Here you can see for how many
employees the data has been successfully extracted or replicated and for how many employees the extraction
or the replication process has failed. In addition it will also show which EC Instance has been used for the
migration, and if any employments are ltered out while sending data to certain EC Instance. Even when the
Employee Central entity is successfully replicated from ERP, there could be some warning messages from
Employee Central. You can see these messages here. If you have chosen to get a detailed log, the personnel
numbers and transformation templates in question are listed with the relevant error or warning messages from
Employee Central. All messages are also stored in the application log.
12. To check the messages, go to the Analyze Application Log (SLG1) transaction.
Tip
You can also run SLGD transaction to display data in text format and export the data into an excel le or
in other formats. After executing the transaction go to List Save/Send Local File... and choose the
required format in which you want to export the log le.
13. Enter the ECPAO object and subobject. To check for a specic employee, enter the employee's personnel
number in the External ID eld. Optionally specify additional selection criteria, then choose Execute.
Note
You can use the V_ECPAO_PACKSIZE view to set the packet size for an Employee Central instance
template. This view can be maintained directly in the production system and thus a transport is not
required for this conguration in the production system. Packet size denes the maximum number of
records for an Employee Central entity that gets replicated in a single session. The congured data is
stored in the table ECPAO_PACKSIZE. The Employee Extraction Report (ECPAO_EMPL_EXTRACTION) use
this table data while creating the packets on the extracted data from the SAP S∕4HANA system. By
setting the packet size, you can now avoid the time out errors while using complex APIs such as payment
information, Position, EmpCostDistribution etc. If you are not setting the packet size, then the default
packet size of 100 is considered during the replication process. The packet size should be in-between 20
and 100. You can set the packet size only when you are using web service mode while replicating the
employee data or organizational objects to Employee Central.
Suppress Identical Records option that was previously present in the selection screen is not available from
SP 03 as Employee Central by default does suppression for the identical records always.
Next Steps
Make sure that the data of employees who are mastered in SAP S∕4HANA can't be edited in Employee Central. Use
role-based permissions to disable the edit mode in Employee Central based, for example, on the country of the
employee.
After the initial run of the program, changed data is replicated using delta replication. For more information, refer to
section Extracting Changed Employee Data Using Delta Replication. You can still run the Employee Data Extraction
program to extract data for selected employees.
Related Information
Here is how to extract the employee data from the SAP S∕4HANA system to transfer it to Employee Central in
multiple steps without having to change and transport the template group conguration..
Prerequisites
In order to do a step wise employee data migration using a single transformation template group, you should have
already created a transformation template group using the view cluster VC_ECPAO_MAP. For more information see:
Creating a Transformation Template Group for Employee Data.
When you are using the regular extraction process, you need to transport from conguration system to production
system, which is time consuming. By using this multiple step migration, you avoid the transport from the
conguration system to the production system.
When you are migrating data in steps, you don't need to perform the time-consuming process of changing the
template group conguration for each step in the test system and then transporting the same to the production
system. And for delta replication via change pointers, all the templates in the same template group can be used.
This can be done using the same template group by grouping the relevant templates of a step in a variant ID. The
relevant variant ID for a step must be selected in the selection screen of the Extraction report or the Job Scheduler
report.
When you are migrating the employee data, you can rst migrate only the minimum set of templates like
Biographical Info, Personal Info, Employment Info, and Job Info etc. This will make sure that you are not migrating
other templates, which are dependent on a template, where if the migration of that template fails, the subsequent
templates need not be migrated.
For ex: If Job Info template migration fails, then you really don't need to migrate Compensation, Recurring, Spot
bonus, Payment Information etc.
Once the initial migration process is successful, you can then migrate the remaining templates (ex Compensation,
Recurring, Spot bonus, Payment Information). Lastly you can execute the migration process only for the changed
data. For more information on migrating only the changed data, see: Extracting Changed Employee Data Using
Delta Replication.
Here you can use a single transformation template group (by creating dierent variant ID's for a single
transformation template group) to cater dierent scenarios without changing any congurations in the
transformation template group.
Tip
You can create a single transformation template group with all the required transformation templates and
enable it for delta replication.
Procedure
1. Create the variant ID using the customizing activity: Dene the Variant IDs for Data Migration (view
V_ECPAO_VARIANT).
2. Once you create the variant ID, you will have to add the transformation template to the variant ID using the
customizing activity: Dene the Transformation Templates for a Variant ID (view V_ECPAO_TEMP_VAR).
3. Choose the variant ID when you run the employee extraction report. For more information see:Extracting
Employee Data.
Note
You can also choose the variant ID when you run the job scheduler report. For more information on job
scheduler report, see: Parallelization of Employee Data Extraction with the Job Scheduler Report.
Also make sure that all entities having dependencies should be included in the same variant. For ex:
Compensation with Recurring and Payment Information with Payment Information details and country
specic Payment Information details.
Related Information
Learn how to migrate the Manager ID eld value in the employee job information entity.
ManagerID eld is part of the job information entity, and it is the key eld based on the Employee Central system
conguration. In Employee Central system, ManagerID eld is congured as associate object of employee user ID.
There are dierent ways by which you can migrate the Manager ID eld and this should be done in two steps.
Where, in the rst step you will have to rst migrate the Manager ID without manager assignments so that all
employments are migrated successfully. In the second step, you will have to migrate the manager assignments.
Below are the options to enable the migration of manager information. If the eld is mandatory in Employee
Central, then NO_MANAGER constant should be sent in the initial run and the the original manager could be
transferred in the subsequent run.
Option 1: Migrating the employee data with manager by choosing the dierent transformation template
groups in each step. You can migrate the employee data by running the employee extraction report by
choosing a transformation template group where all the employee data is extracted without manager
(NO_MANAGER) and then choose a second transformation template group where all the employee data is
extracted with manager.
1. Create a transformation template group having job information entity with ManagerID eld mapping as BAdI
Mapping for Integration/Migration to EC. Make sure that job info supervisor eld mapping dened as BAdI
Mapping for Integration/Migration to EC and data extracted as NO_MANAGER.
In this case, by default all the employees manager will extract as NO_MANAGER as a initial run.
2. Create the second transformation template group having job information entity with ManagerID eld mapping
as Infotype Mapping. Make sure that job info supervisor eld mapping dened as Infotype Mapping with MNGR
infotype. You might have to run the extraction report for this transformation template group once again.
1. Create the transformation template group by supporting all the transformation templates and enable the delta
process.
2. Create transformation template job information for the transformation template group that you have created
now without manager and maintain the supervisor eld as BAdI mapping and as transformation template
status as inactive.
3. Create another transformation template for job information for the same transformation template group with
manager and eld mapping for supervisor eld is MNGR.
Related Information
If you've stored the data extracted to CSV les on the application server, here's how to transfer the data from the
application server location to a local drive.
Prerequisites
• Dene the logical le path ECPAO_TMPL_DIR in the Logical File Path Denition (FILE) transaction.
• Dene Assignment of physical paths to logical path for the logical le path ECPAO_TMPL_DIR.
Note
Context
Procedure
Note
• Make sure that both the path’s extension matches to avoid any error.
• Only one le can be downloaded at one time.
• This report is not added as a part of the standard sample roles delivered with the add-on.
Related Information
After the initial run of the employee data extraction program, changed data is replicated using delta replication.
Here's how you need to set this up.
Prerequisites
You can only use template groups with the Web Service Transfer communication channel for delta replication.
Context
When HR administrator change employee data in the SAP S∕4HANA system, change pointers are created. You can
use the Job Scheduler report (ECPAO_EMPL_DMT_JOB_SCHEDULER) to extract the data for the changed employees.
In addition you can now replicate the employees who will be hired in future using the change pointers. By using the
job scheduler report, you can run the extraction process for a larger load and also schedule the extraction process
in batches. SAP recommends to use the Job Scheduler report as it is more efcient. For more information see:
Parallelization of Employee Data Extraction Via Job Scheduler Report topic.
Data extraction program choose the transformation template group from the VC_ECPAO_MAP view cluster. You
need to choose Enable for Delta Replication option to enable the delta replication. For more information see:
Creating a Transformation Template Group for Employee Data topic. Additionally, you can choose a subset of
transformation templates from the group for delta replication by enabling the Enable for Delta Replication option in
the V_ECPAO_VARIANT view.
The Creating IDoc Type from Change Pointers (RBDMIDOC) program (or BD21 transaction) reads the change
pointers with the ECPAO and ECPAO_OM message type, collects the object list to be processed, and determines
the delta enabled transformation template group and submits these details to the employee extraction report at
once. If you enable the ERP to EC/EC to ERP: Connect Multiple EC Instances switch in the constants table, then
the objects that are to be processed are split based on the Employee Central instance that is associated with their
company code and grouped them together with the associated delta enabled transformation template group. The
related objects belonging to the same Employee Central instance are processed together using the corresponding
delta enabled transformation template group.
Note
The data replication does not use Application Link Enabling (ALE) or IDocs. The RBDMIDOC program uses
the ECPAO message type to trigger the replication of changed employee data to Employee Central using a
synchronous Web service call.
In SAP S∕4HANA, all infotype data is eective dated. In Employee Central, some data, such as email or phone
information, isn't eective dated. If you change data in SAP S∕4HANA for the future that isn't eective dated in
Employee Central, the corresponding change pointers will only be executed at this future date.
To ensure that the change pointers are not captured in PA_SE_IN integration when the message type ECPAO
and ECPAO_OM are not active in BD50 transaction, you must install the SAP Note: 2552346 .
For larger loads of data, we recommend you to run the delta replication using the job scheduler report instead
of RBDMIDOC program or BD21 transaction.
To run the RBDMIDOC program, follow the below mentioned steps. To run the Job Scheduler report see:
Parallelization of Employee Data Extraction Via Job Scheduler Report topic.
Procedure
Related Information
Here's an overview of the steps involved when you want to transfer data from SAP S∕4HANA to a custom entity in
Employee Central.
Prerequisites
You have created a custom generic object in Employee Central. You can do this in the Admin Center by choosing the
Congure Object Denitions tool. When you create your entity, make sure to set the API Visibility option to Editable.
Procedure
1. Import the data model for your custom entity from Employee Central into the SAP S∕4HANA system.
Related Information
For some Employee Central templates, a deletion of data can be transferred from SAP S∕4HANA to Employee
Central.
This means if you delete infotype data (such as an employee's phone number) in the SAP S∕4HANA system, this
data deletion can be transferred to Employee Central. To transfer the deletion, the compound delete Employee
Central entities are used. For CSV le-based data transfer, this is the Compound Delete CSV data import entity. For
Web service-based data transfer, this is the SFOData.HrisCompoundDeletion OData entity.
Note
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
The appropriate entity is lled with the employee's user ID and the HRIS element ID from the Employee Central
data model that corresponds to the Employee Central entity (such as phoneInfo). When the compound delete
entity is transferred to Employee Central, the corresponding data is deleted there for the specic employee.
To determine if data deletion is to be triggered, the employee data extraction program checks if the key eld of
the corresponding Employee Central template is empty. If this is the case, it issues a warning message. If you then
transfer the deletion to Employee Central, the data is actually deleted there.
CSV Data Import Entity Web Service Entity HRIS Element ID Key Field
Note
Data deletion is currently supported only by Employee Central entities dened by SAP. You can't use it for
custom Employee Central entities.
Example
Let's say you use the PhoneInfoImportTemplate Employee Central entity for CSV le-based data replication.
The employee data extraction program extracts phone info data using the eld mapping that is dened for the
transformation template to which the PhoneInfoImportTemplate Employee Central entity is assigned. Since the
corresponding infotype record was deleted, the data extracted for employee 12345 doesn't contain an entry in
the phone-number eld. Therefore, the extraction program issues the message that deletion of the phone info
data is triggered for this employee. It lls the employee ID 12345 and the HRIS element ID phoneInfo into the
Compound Delete template. Once you upload this information to Employee Central, the phone information for
employee 12345 is deleted there.
Related Information
Learn how to extract the employee data with additional events before the earliest transfer date.
Context
The employee extraction report extracts the employee data from or after the earliest transfer date that you have
dened at the transformation template group. Hence the records are extracted with the earliest transfer date or
after the earliest transfer date with pseudo hire date as the rst event reason. During this process:
• Employee records before the earliest transfer date are not extracted which might lead to dierent hire date
in Employee Central (Employment information). Hire date in Employee Central is derived from the rst job
information record. Hence the start date of the pseudo hire event reason might be considered as the actual hire
date in the Employee Central (Employment Information) system.
• Terminated employees and the employees on long-term absences are not migrated.
To overcome these problems, as a best practice, it is recommended to use the additional events feature. By
conguring the additional events, employee extraction report migrate the records (Job Information and Personnel
Information) before the earliest transfer date with an additional data along with the records after the earliest
transfer date. For such additional records of job information created before the cut-o date you have an option to
migrate a constant or an actual database value based on the validity period.
Note
Migration of additional events is not supported for the global information template.
If the additional events are not congured, the employee data migrates the data as shown here:
During the employee extraction report, the employee records are extracted based upon the earliest transfer date
that you have dened in the transformation template group. Hence the records are extracted with the earliest
transfer date or after the earliest transfer date with pseudo hire date as the rst event reason.
01 PSEUDO_HIRE
02 DATAREORG
10 TEROTH
12 REHREH
16 DATACHG
01 01 PSEUDO_HIRE
01 02 DATAREORG
01 10 01 TEROTH
01 10 02 TEROTH X
01 10 03 TEROTH 01.01.2014
01 12 REHREH
01 16 DATACHG
01 82 ADDGA
01 - ENDGA
Note
Action Type
depends on
Event Reason.
a. Go to the Dene Additional Event Types Conguration Customizing activity (view V_ECPAO_PLHD_ACT)
and maintain the action type with event reasons to create the additional event types before the earliest
transfer date and if there is a record with the start date as same as the earliest transfer date.
b. Choose the Transformation Template Group, for which you want to maintain the additional event types.
c. Choose the country for which you want to maintain the action types and the reason for action.
• In this view, you can maintain the set of action types with or without the country grouping. If you do not
provide any country grouping, then the action types would be applicable for all the available countries
for which the conguration is not maintained in this view
01 PSEUDO_HIRE
10 TEROTH
12 REHREH
01 01 PSEUDO_HIRE
01 10 TEROTH
01 12 REHREH
If the above mentioned conguration is available, then for Personnel number 1 & 3 system
will consider the below conguration for the processing. Because there is no country specic
congurations available for these country groupings.
01 PSEUDO_HIRE
10 TEROTH
12 REHREH
For Personnel number 2 system will consider the below conguration for processing. Because
there is Germany specic congurations available for this country grouping.
01 01 PSEUDO_HIRE
01 10 TEROTH
01 12 REHREH
• Combination of dierent country grouping action types for a single PERNR is not allowed.
As per the conguration mentioned in the above table, for the country Germany a set of action
types are created with their country grouping as same as the action types with blank country
grouping. So in this case, German employee will only consider the set of action types, which is
congured for their corresponding country grouping. It won't consider the set of action types
with blank country grouping. Same rule is applicable for the other countries where as per
the conguration mentioned in the above table, blank country groupings action types will be
considered ignoring the set of action types with Germany country grouping.
In general maintain the action type like Hire, Termination, and Re-Hire in the view for that particular
template group. If the termination action type is not maintained, then a warning message would be
displayed for the terminated employees. In this case, this employee would be ignored during the employee
migration. If no action type is maintained in this view, then an error would be displayed during the
employee extraction process.
Note
All the status-changing actions have to be dened to ensure correct status changes are extracted.
If the reason for action is left blank, then all the combination of that particular action type would be
considered for additional event migration.
Example
01 PSEUDO_HIRE
10 TEROTH
12 REHREH
In this case the above mentioned action types will consider all the combination of reason for action for
migration.
01 01 PSEUDO_HIRE
10 01 TEROTH
12 S1 REHREH
You need to maintain the corresponding Employee Central event reason based upon the combination of
Action Type and Reason for Action.
g. Disable Cut O Split option is applicable for the Action Type whose employment status is not active. If the
option is not enabled, an additional record is created as o the earliest transfer date. If the option Disable
Cut O Split is enabled, an additional record as o earliest transfer date won't be created. Instead earlier
record will be extended to the actual end date.
h. Maintain the Termination Start Date if the terminated employees are to be considered from the termination
start date. This is valid only if the Termination Action is the last action performed for an employee.
Note
Termination start date should be always less than the earliest transfer date. Be default Create New
Employment for International Transfer is created when an employee in transferred internationally. Only
for those employess that were previously migrated using REUSE Employment we will continue to
support this on re-migration.
a. Go to the Dene Additional Event Data Conguration Customizing activity (view V_ECPAO_PLHD_ CON)
and maintain the additional event infotype data. Here you can set the constant value or database value for
an Employee Central eld available in the Job information or the Personal information.
b. Choose the Transformation Template Group, for which you want to maintain the additional event infotype
data.
c. Choose the country for which you want to maintain the additional event infotype data.
• As default Employee Central eld data conguration with blank country grouping would be considered
if country- specic Employee Central eld conguration is not maintained for additional events.
Example
If the above mentioned conguration is available, then for Personnel number 1 & 3 system
will consider the below conguration for the processing. Because there is no country specic
congurations available for these country groupings.
For Personnel number 2 system will consider the below conguration for processing. Because
there is Germany specic congurations available for this country grouping.
• Combination of dierent country grouping Employee Central eld conguration for a single employee
is not allowed.
d. Choose the Transformation Template (Job information & Personal information). Here you need to select
the transformation template for which the data should be set as Constant Value or ERP Database Value.
e. Choose the Employee Central eld ID from the above mentioned transformation template. Once the
Employee Central eld ID is selected, corresponding description is populated in the Employee Central eld
description eld.
f. Choose the Value Type from the drop down box. From the value type, you can maintain whether the
selected Employee Central eld should hold a constant value or a database value.
Constant Constant value type can be used for precongured mapping and infotype mapping
Value Employee Central elds available in the Job information and Personnel information
template. For constant value type, Constant column should be maintained. Even a blank
value can be considered as a Constant value.
ERP Database Database value type can be used only for infotype mapping Employee Central elds,
Value which is part of a valid Personal Administration infotype. Constant column should not be
maintained for this infotype This database value cannot be used for the infotype mapping
elds whose value depend on the another eld.
Note
BAdi mapping elds are not supported for both value types.
Congured Employee Central eld values which are migrated through the above mentioned value types
should be available in Employee Central. If the values are not maintained in Employee Central, then
during the migration process, an error message would be generated during the data transfer process
(CSV upload or middleware).
g. Enter a value if the value type is set as Constant Value. Even a blank value can be considered as a Constant
value.
Note
This eld is not supported for the value type ERP Database Value.
If there is no conguration data maintained in this view, then the additional event records will have
the same data as the rst record after the earliest transfer date. To migrate an empty data for a
particular Employee Central eld, congure the Employee Central eld as constant value type with a
blank constant value.
Note
• When an employee is having multiple assignments like Global Transfer, Global Assignments,
Concurrent Employment and based on the additional event termination start date condition
(V_ECPAO_PLHD_ACT), employment 1 is ltered. All the employee data is not extracted but only
User, Biographical and Personnel info entity data based on the employment 1 are extracted.
• Termination start date limit is not applicable for the users whose home assignment is not
considered. If this is considered, then the replication process will fail. This is because we would
not be able to migrate the data to Employee Central without home assignment employment
information details. This is applicable only for Global Assignment scenario.
• Additional event records via conversion rules are not supported.
Example
Example
Note
If you are performing the migration from SAP S∕4HANA to Employee Central and replication from Employee
Central to SAP S∕4HANA in a full cycle, then SAP would recommend you to use the Option 2. If only migration
of data from SAP S∕4HANA to Employee Central is performed, then you can use Option 1 or 2.
If you are performing the migration from SAP S∕4HANA to Employee Central and replication from Employee
Central to SAP S∕4HANA in a full cycle, then SAP would recommend you to use the Option 2. If only migration
of data from SAP S∕4HANA to Employee Central is performed, then you can use Option 1 or 2.
Additional Event on International Transfer - When the same employment was re-used in EC
Related Information
Here you can read about the recommended congurations that you can use to use the additional events feature.
• If you are performing the migration from SAP S∕4HANA to Employee Central and replication from Employee
Central to SAP S∕4HANA in a full cycle, then we would recommend you to disable (Option 2) the Disable Cut O
Split option in the view V_ECPAO_PLHD_ACT. If only migration of data from SAP S∕4HANA to Employee Central
is performed, then you can either enable (Option 1) or disable (Option 2) the Disable Cut O Split option in the
view V_ECPAO_PLHD_ACT.
• Action types mentioned in the view V_ECPAO_PHLD_ACT will be considered only for the records, which are
migrated before the earliest transfer date and if there is a record in SAP S∕4HANA with the start date as same
When the additional events are not congured, the employments that are inactive as of earliest transfer date and
changes beyond the earliest transfer date is ignored from transferring to Employee Central.
If an employee has an employment status as inactive, then the complete extraction of the data will be stopped
irrespective of whether the template is eective-dated or non-eective dated after the earliest transfer date. The
user status that is part of User Entity (WS_1 or CSV_1) is set to Active or Inactive based on the current employment
status on the current date.
Active Yes
Inactive No
Retired No
Withdrawn No
Retired Employee was active during initial load Yes (Default position is not transferred,
but now changed to retired state after but the last valid position would be trans-
initial load. ferred to Employee Central.)
Withdrawn Employee was active during initial load Yes (Default position is not transferred,
and changed to withdrawn state after ini- but the last valid position would be trans-
tial load. ferred to Employee Central.)
The above logic for ltering the PERNR's based on the employment status and the earliest transfer date is also
applicable for an employee having multiple PERNR's as part of the International Transfer, Global Assignment, and
Concurrent employment. In this case, individual PERNR's will be ltered out completely if it satises the above
ltering criteria's. For example, in international transfer if the earliest transfer date is after the termination date of
the PERNR 1, then the PERNR 1 will be completely ltered out and PERNR 2 will be migrated to Employee Central
with single employment.
Related Information
For migrating a large number of employee data to Employee Central you can use the Job Scheduler report. This
report will automatically divide the load into smaller batches and schedule multiple background jobs, which can be
executed in parallel.
Prerequisites
You should have already congured the settings for running the employee extraction report.
Context
When you execute the report, it will automatically divide the load into smaller batches and schedule multiple
background jobs for each batch. The program extracts all employee data for the selected employees that you
have dened using the transformation template group specied on the selection screen of the program. At any
point of time there will be a set of parallel jobs running. Once a particular job is completed, the next job would
start immediately. This will ensure that the total processing time to complete the employee migration for all the
employees is shorter.
Procedure
1. Go to the Job Scheduler for Employee Data Migration (ECPAO_JOB_SCHED_EE) transaction to run the Job
Scheduler for Employee Data Migration (ECPAO_EMPL_DMT_JOB_SCHEDULER) program.
The program extracts employee data from the SAP S∕4HANA system based on your selection criteria.
2. Specify for which employees the data is to be extracted. To do so, either specify the personnel numbers of the
employees or use organizational assignment criteria to select a group of employees.
For the list of PERNR's that you have chosen, the delta enabled transformation template group is determined
for the chosen Employee Central instance and it's submitted via the background jobs for processing. The
remaining PERNR's would be ltered out for processing as they don't belong to the chosen Employee Central
instance.
3. Select the Modied Employees Only checkbox if you want to extract the data only for the modied employees
and then schedule the extraction process in the background. When you choose this option, you can only use
the Job Selection Criteria elds to execute the report. This option should be chosen when you want to perform
delta replication via change pointers. For more information see: Extracting Changed Employee Data Using
Delta Replication topic. If the ERP to EC/EC to ERP: Connect Multiple EC Instances switch is enabled in the
constants table, then you need to choose the Employee Central instance. Only those objects that are related to
the chosen Employee Central instance are considered for processing by the job scheduler for employee data
migration program.
Note
The maximum number of Employees Per Job is 100 and the Max No. of Jobs is 50. The default Max No. of
Jobs is 10. If the number of employees per job and the maximum number of jobs exceeds the limit, you
would receive a warning message.
5. Select the transformation template group to be used for the data extraction. Transformation template groups
are dened in the VC_ECPAO_MAP view cluster.
6. Select the variant ID that you have created before in the Dene the Variant IDs for Data Migration customizing
activity (view V_ECPAO_VARIANT). Once you have created the variant ID, you should have assigned the
required transformation templates to the variant ID using the Dene the Transformation Templates for a Variant
ID customizing activity (view V_ECPAO_TEMP_VAR).
Note
This is not a mandatory eld. You can choose the Variant ID if you want to perform the extraction in multiple
steps. For more information, see: Extracting Employee Data in Multiple Steps.
For example, a transformation template group consists of the 5 transformation templates (ERP1, ERP2, ERP3,
ERP4, and ERP5). In these templates if you want to choose only ERP1, ERP3, and ERP5, you can create a
variant ID for these transformation templates. And when you choose this variant ID for migration process, only
these transformation templates (ERP1, ERP3, and ERP5) would be considered.
Note
You can congure the EC templates, which should be ltered out for a given country using the customizing
activity Filter EC Entities for Migrating Employee Data to EC based on Country (view V_ECPAO_ECTM_FIL).
Note
When you schedule the program as a background job to carry out a mass data extraction where the
data would be imported to Employee Central, choose the File Transfer Use Server Path option.
If you want to combine several CSV les into a .zip le, select the Combine into ZIP le checkbox. Please
note that CSV les that you create for generic objects can't be zipped. They are stored separately, even if
you select the Combine into ZIP le option.
8. Select the Detailed Message Log checkbox if you want to get a detailed log containing all messages.
The download log le shows all the success, error, and warning messages. It will also include the number of les
that were downloaded and from where the le is downloaded from.
Please note that the les might contain personal and sensitive data. Additional authorization is performed to
check if the user has the right to download the CSV le. Only specic authorized users should be allowed
The below authorizations are required to be able to download the CSV les:
Authorizations
Authorization Object Authorization Field Authorization Value
ECPAO_EMPL_EXTRACTION
S_TABU_NAM ACTVT 02
9. You can also choose other selection criteria based on for which employees the data is to be extracted:
• Select the Failed Employees Only checkbox if you want to re-run the replication for only those employees
for which the replication status is failed. The number of jobs created will be based on the number of failed
employees.
Note
Failed Employees Only is supported only for Web Service Transfer mode.
Supress Identical Records option that was previously present in the selection screen is not available from SP 03
as Employee Central by default does suppression for the identical records always.
Results
After all the jobs are completed in the background, all the Employee data will be migrated to Employee Central via
web service transfer or downloaded via csv les in the application server.
Note
If multiple PERNRs are linked to one Central Person (CP), then the PERNR's belonging to the same Central
Person will be processed in the same job. If the employees per job is 100, then there might be a chances of
having more than 100 PERNR's being executed in a single job due to the PERNR' been linked to the same CP.
The extraction process updates the change pointers (if available) of the successfully migrated PERNR's, and marks
the change pointers as processed. In case the ERP to EC/EC to ERP: Connect Multiple EC Instances switch is
enabled in the constants table then the change pointers are used to determine the list of PERNRs that are relevant
to the chosen Employee Central instance and only these PERNRs are processed by the program.
You can monitor the Employee migration status using the Job Scheduler Report.
You can check the intermediate status of the current set of completed and running jobs using the SM37
transaction. You can check the output using the SM37 transaction by entering “*” in the job name and user name
eld. You can enter the user name who will be executing the operation.
Since employee migration has been executed in multiple batches, the ongoing migration status analysis is possible
based on the already completed jobs. Once a single job is completed, the migration status information for those
PERNR's and the relevant templates will be stored in the inventory tables (ECPAO_INVT & ECPAO_INVT_MSG).
And you can execute the ALV report (ECPAO_EMPL_INVENTORY_ALV) to get the status of all the employees for
which extraction has already happened. Here you can see status messages, which shows the success, success with
detailed warning messages from Employee Central or the failed process with a detailed error message.
When you now run the employee inventory report, you can now choose the "Filtered Employee List" option to list
only the ltered employees during the replication process. The SLG log le will display the information of personnel
number, reason message and the last execution date
Note
When you choose Filtered Employee List option, other selection criteria’s would be disabled.
Note
After executing the report when you view the jobs using the SM37 transaction, do not cancel the jobs, which are
in process. This denotes the migration of the employees belonging to that job is still in process.
Take a look at special use cases that can occur during data replication to Employee Central.
Connect multiple Employee Central instances to the same client of your SAP S∕4HANA system. For example, if your
company has dierent legal entities that require separate management of employee data and therefore separate
instances of SAP SuccessFactors Employee Central, but you want to ensure that common processes, such as
payroll that you run in SAP S∕4HANA, run consistently for all your employees.
The following graphic shows an example of how multiple Employee Central instances could be connected to one
client of the SAP S∕4HANA system, as well as some of the conguration settings that you make for the connection.
This feature can be useful for you if you are in the following situation:
• You are a service provider that provides specic processes such as payroll in an SAP S∕4HANA system and
operates other HR functions in SAP SuccessFactors Employee Central. You need separate Employee Central
instances for dierent legal entities, but you want to use a common payroll system to run payroll consistently
across all Employee Central instances.
• Your company is a conglomerate with dierent legal entities. For certain business processes, you need separate
Employee Central instances to be able to separate the management of employee and organizational data for
the legal entities. However, general processes such as benets, taxes, and payroll should be run consistently in
one SAP S∕4HANA system.
• Your company goes through a company event, such as a merger or split, during which you must use separate
Employee Central instances for a transition period. You want to run processes such as payroll consistently in an
SAP S∕4HANA system and gradually adapt your company to the changed situation until all internal processes
are unied.
Restriction
Migration follows the paradigm One CP. That is, all related employments can be sent to one Employee Central
instance only. For example, if an employee has one employment associated with company code DE01 and
another employment associated with company code DE02, this employee cannot be migrated if these two
employments are associated with dierent Employee Central instance IDs.
You need to decide prior to the migration process whether you have the need for multiple Employee Central, single
ERP landscape and then set the ERP to EC/EC to ERP: Connect Multiple EC Instances constant accordingly in the
constants table. This feature should not be enabled in the middle of the migration process.
If you use the external assignment ID, you must congure your business rules in Employee Central in a way that the
external assignment ID is unique across Employee Central instances.
Your SAP S∕4HANA system must have the following minimum stack level:
Perform the required steps in the correct order if you had previously connected your SAP S∕4HANA system to one
Employee Central instance and now want to connect multiple Employee Central instances to the same client.
Procedure
Step
Number Step Description Step Details More Info
1 Migrate the employee key mapping You may already have run the
from the non-BIB version to the BIB- Convert Employee Key Mapping from
based version. Non-BIB to BIB-Based Version
(ECPAO_CONV_EEKEYMAP_TO_EE_K
MAP) program. If not, it's important
to do this before you enable the con-
stant ERP to EC/EC to ERP: Connect
Multiple EC Instances.
2 Enable the constant ERP to EC/EC to Go to Customizing for the Busi- Enabling Connection of Multiple Em-
ERP: Connect Multiple EC Instances. ness Integration Builder and choose ployee Central Instances to SAP
Data Replication from Employee S∕4HANA [page 248]
5a Congure SAP Cloud Integration Perform either this step or the next Copying the Integration Packages in
for the connection of multiple Em-
step. SAP Cloud Integration [page 28]
ployee Central instances if you use
the same SAP Cloud Integration in- If you use one SAP Cloud Integration Conguring the Value Mapping for
stance for all Employee Central in- instance, you can use the default log- Connecting Multiple Employee Cen-
stances that you connect.
ical port that you've created in the tral Instances to SAP S∕4HANA
SOA Management (SOAMANAGER) [page 40]
transaction for all Employee Central
Conguring the Integration Flow for
instances that you connect.
Data Replication to Employee Cen-
1. Go to your SAP Cloud tral [page 29]
Integration instance and
copy the SAP SuccessFactors Conguring the Integration Flow for
Employee Central Integration Replication of Generic Data from
with SAP ERP or SAP S/4HANA: Employee Central to SAP S∕4HANA
System Mapping integration Using the OData API [page 34]
package.
2. Congure and deploy the Conguring the Integration Flow for
SAP SuccessFactors Employee Replication of Generic Data from
Central Integration with SAP Employee Central to SAP S∕4HANA
ERP or SAP S/4HANA: System Using the OData API [page 34]
Mapping value mapping.
3. Replace the conguration of the
Employee Central address and
credentials for the following in-
tegration ows with a string that
reads the value mapping if you
use them:
• Replicate Generic Data
from SAP SuccessFactors
Employee Central to SAP
ERP or SAP S/4HANA
Using the OData API
• Upsert Data from SAP ERP
or SAP S4HANA to SAP
SuccessFactors Employee
Central Using the OData
API
5b Congure SAP Cloud Integration for Perform either this step or the previ- Conguring Consumer Proxies and
the connection of multiple Employee
ous step. Logical Ports for Connecting Multiple
Central instances if you use separate
Employee Central Instances [page
SAP Cloud Integration instances for If you use several SAP Cloud
the Employee Central instances that 250]
Integration instances, you need spe-
you connect.
cic logical ports for the Employee Copying the Integration Packages in
Central instances that you connect. SAP Cloud Integration [page 28]
Set a constant to enable the connection of multiple Employee Central instances to the same client of your SAP
S∕4HANA system.
Prerequisites
If you use the external assignment ID, you must congure your business rules in Employee Central in a way that the
external assignment ID is unique across Employee Central instances.
Context
Enabling the constant is only one step in a setup process. Refer to Related Information and ensure that you perform
all required steps in the correct order.
Procedure
1. Go to Customizing for the Business Integration Builder and choose Data Replication from Employee Central
Basic Settings Maintain Constant Values for Data Replication from EC .
2. Choose New Entries and select the ERP to EC/EC to ERP: Connect Multiple EC Instances constant.
3. Enter X in the Constant Value eld.
Results
Enabling the constant results in the following changes in your SAP S∕4HANA system:
• The SAP S∕4HANA systems adds the Employee Central instance during migration in the employee key
mapping table. We provide the Prepare Multiple EC Instances (ECPAO_PREPARE_MULT) transaction for you
to add your Employee Central instance to the records in these tables that already existed before you enabled
the constant.
• The conguration Assign Employee Central Instance to Company Code is checked during employee migration
to ensure that the employment (PERNR) is migrated to the intended Employee Central instance.
• Application logs are enhanced to display the Employee Central instance that was used for extraction.
Connect additional Employee Central instances to the same client of your SAP S∕4HANA system.
Prerequisites
You need to decide whether you have the need for multiple Employee Central, single ERP landscape and then set
the ERP to EC/EC to ERP: Connect Multiple EC Instances constant accordingly in the constants table. This feature
should not be enabled in the middle of the migration process.
Run the Prepare Multiple EC Instances (ECPAO_PREPARE_MULT) transaction to add the ID of your existing
Employee Central instance in the employee key mapping table.
Procedure
1. Create a new Employee Central instance ID in Customizing for the Business Integration Builder under
Prerequisites Specify Employee Central Instance ID .
2. Set up the migration for this Employee Central instance.
To do so, perform at least the following steps:
a. Import the metadata from Employee Central.
b. Create a new transformation template group and transformation templates.
c. Dene the eld mapping.
d. Dene a new logical port if you don't want to use the default logical port to address the outbound web
services for your new Employee Central instance.
e. Ensure that the customizing activity Assign Employee Central Instance to Company Code is complete by
assigning the Employee Central instance with the company code.
3. Trigger the extraction process for the employee by ensuring that the right transformation template group ID
(based on the associated Employee Central instance) is used.
Results
Extraction process updates the employee key mapping table with the Employee Central instance details. The
extraction process uses the Assign Employee Central instance to company code congurations to ensure that
the employment (PERNR) is migrated to the intended Employee Central instance. Based on this conguration, a
validation is introduced to identify if the transformation template group used for this extraction is relevant for the
PERNR which is extracted or not.
For the additional employments of existing employees, the Employee Central instance is determined also from
this conguration and migration is allowed only when the Employee Central instance matches with the Employee
Central instance used for the previous contracts.
Repeat the same steps for all Employee Central instances that you want to add.
Assign specic logical ports and consumer proxies to your Employee Central instance IDs if you want the SAP
S∕4HANA outbound web services to address dierent SAP Cloud Integration tenants for dierent Employee Central
instance IDs.
Context
The logical port enables multiple web services to be addressed logically. It is a conguration for a consumer proxy.
The consumer proxy acts as a local representation of a web service. The web service, in turn, provides an access
URL that is stored in the SAP S∕4HANA receiver of the corresponding integration ow in SAP Cloud Integration.
If you dene a logical port as default in the SOA Management (SOAMANAGER) transaction, it always addresses all
web services. This means that regardless of the Employee Central instance that you connect to SAP S∕4HANA, the
same integration ow with the same settings is always called in the middleware.
If you want to use separate SAP Cloud Integration instances with a specic conguration of the integration ows
for dierent Employee Central instances that you connect to the SAP S∕4HANA system, you can't use the default
logical port. Instead, you need to create specic logical ports for the dierent Employee Central instances and
assign the respective logical port to the corresponding Employee Central instance ID. You have the following
options:
• You use the default logical port for all connected Employee Central instances.
If all Employee Central instances and your SAP Cloud Integration tenant are running on the same data center,
we recommend that you use a default logical port. In this case, you don't need to make the settings described
here.
• You use the default logical port for one or more connected Employee Central instances and additionally create
one or more specic logical ports for other connected Employee Central instances.
• You don't use a default logical port and create one or more specic logical ports for all connected Employee
Central instances instead.
Procedure
1. Go to the Assign Logical Port to EC Instance (ECPAO_INSTANCE_LP) transaction in your SAP S∕4HANA system.
2. Choose New Entries.
3. Select your Employee Central instance.
4. Select the consumer proxy of the outbound web service that you want to use for this Employee Central
instance.
Results
The SAP S∕4HANA system uses the default logical port for all combinations of Employee Central instance and
consumer proxy that you have not entered in the Assign Logical Port to EC Instance transaction. For all Employee
Central instances that you've entered in the transaction, it uses the logical port you specied to address the web
service dened by the consumer proxy.
Example
The following graphic shows an example where you use two SAP Cloud Integration tenants in two dierent data
centers. You set up a default logical port to connect to the rst SAP Cloud Integration tenant and a specic logical
port to connect to the second SAP Cloud Integration tenant.
The entries you make in the Assign Logical Port to EC Instance transaction are client-specic. You can't transport
these entries. Make the entries separately in all test and production clients in which you need them.
Understand how multiple Employee Central instances behave during a single or multiple employment of an
employee.
DE01 ECInstance1
DE02 ECInstance2
US01 ECInstance3
* ECInstance4
Assuming that the above conguration is maintained in the Dene Employee Data Settings for Employee Central
Company Customizing activity (view V_ECPAO_CMPNY_EE), then following scenarios works as described:
When you trigger the extraction process for an employee having a single employment associated with company
code DE01, infoporter tool validates whether the transformation template group ID being used is associated with
the Employee Central instance that is same as the one based on the company code assignment. The employee
migration is allowed in case the transformation template group associated with ECInstance1 is used. In case a
dierent transformation template group associated with a dierent Employee Central instance is used for E.g.
ECInstance2, then the validation prevents this employee from getting migrated.
Scenario 2: Single employment with Organizational reassignment: PERNR 1 (DE02 -> DE03)
When an employee is having a single employment associated with multiple company code DE02 and DE03, then
the infoporter tool checks the latest company code assignment to determine the associated Employee Central
instance ID. Then the logic traverses back to the previous time periods in infotype 0001, and derives the company
code assignment and checks whether the company code is also associated with the same Employee Central
instance ID. If both are not matching as in this instance, then the employee data is extracted from starting from
the latest active time split from infotype 0001. Additionally assignment-specic full transmission start date is also
updated with this new cut over date. However, if dierent company code assignments are associated with the same
Employee Central instance ID then we do not shift the cut over date.
When an employee has multiple employments associated with dierent company codes and each associated
with dierent Employee Central instance ID, then in such case employee migration is not supported. Employee
migration is supported only if all the company code assignments across multiple employments are associated with
the same Employee Central instance ID. It follows the paradigm one CP (all employments) can be sent to only one
Employee Central instance.
When an employee has multiple employments associated with the same company codes and in turn the same
Employee Central instance ID, then in such cases employee migration is supported.
Scenario 5: Handling of Single PERNR with multiple company code and future dated changes
When an employee has a company code assignment related changes for future time periods, in such cases if the
associated Employee Central instance ID for the future dated record is dierent than that of the valid as of today,
then the employee cannot be migrated.
Learn how to congure the migration of the long term absence leave record.
Prerequisites
You will have to create two new event reasons of event type DATACHG and status paid or un-paid leave in Employee
Central.
Example
• PSEUDO_DATACHG_LOA_START
• PSEUDO_DATACHG_LOA_END
Context
Irrespective of the switch (When Time O or Time O for Leave of Absence Only) status the job info records with
event reason corresponding to leave of absence (LOA) cannot be imported to Employee Central. You need to
use the MDF object EmployeeTime and create the leave of absence dates and time period for a particular user
through the Import and Export data tool. This will inturn create the LOA events (LOA start and LOA end) in the
job information as per congurations. These events will be appearing in the job info as part of sync jobs from
EmployeeTime Object (parent object).
Procedure
1. In your SAP S∕4HANA system, go to the (SPRO) transaction and choose SAP Reference IMG. In
the SAP Customizing Implementation Guide structure, open Personnel Management Integration with
Note
• If you run the migration again after importing the absent data, there is a problem. Infoporter always
runs in the full purge, hence it would be overwritten and the generated LOA events will be erased.
Hence you should always complete the migration runs and import the absences post migration only.
• In case you are running a replication from EC to ERP again, you need to follow the below steps when
doing the replication to ERP:
1. The value mapping details for MASSN congured for EC to ERP replication has to be changed. For
this direction of replication, the actual event reason LOA_START has to be mapped to the action
with semantic Start of LOA and the event reason LOA_END has to be mapped to the action with the
semantic End of LOA. With this there should be no change in IT 0000.
2. The two pseudo event reason that was created PSEUDO_LOA_DATACHG_START and
PSEUDO_LOA_DATACHG_END should not be mapped (delete them from value mapping details).
This will skip these records in replication. This will ensure that both IT 0000/IT 0302 are not
changed when replicating the data back to ERP. If you donot skip and still do a mapping for this as
well, then an additional record would be created in IT0302.
Prerequisites
• You will have to create a new event reason PSEUDO_HIRE_AFTER_PREHIRE of event type HIRE with the status
Active.
• Prehire action type in ERP should have employment status as 1.
In ERP, you can use a prehire record before the actual hiring happens. This is to ensure that the newly hired
employees are only considered in the payroll run if they complete the hiring or joining process. In Employee
Central, hiring is always considered as the rst event. The extraction report has a specic logic to identify and
lter the prehire record of the employee and migrate rest of the employee information using special event reasons.
Additionally, the extraction report also updates the personal full transmission start date (FTSD) for the PERNR with
the actual hire date for end-to-end process to work without any issues.
Procedure
1. In your SAP S∕4HANA system, go to the (SPRO) transaction and choose SAP Reference IMG. In
the SAP Customizing Implementation Guide structure, open Personnel Management Integration with
SuccessFactors Employee Central Business Integration Builder Data Migration and Replication to Employee
Central Employee Data Dene Field Mapping for Employee Data .
2. Choose the transformation template group that you are using.
3. Choose transformation template corresponding to Job Info (WS_4).
4. In the Primary mapping screen, double click the Event reason eld.
5. In the value mapping section, click the Dene value mapping entries button.
6. In the Value Mapping Details view, for the ERP value corresponding to the action type denoting the HIRE after
the prehire action type, maintain any new custom event reasons of type HIRE.
Note
This event reason should be dierent from the regular HIRE event reason to distinguish between the two
types of hire event reasons when replicating the data back to ERP.
Example
If UR is your action for the hire and you have a event reason for this case
as HIRE_AFTER_PREHIRE, then maintain the value mapping details as below example:
Behaviour of Infoporter for an employee who has prehire and the hire action types before earlier transfer date,
during the migration without using the concept of additional events:
Behaviour of Infoporter for an employee who has prehire and the hire action types after earlier transfer date,
during the migration without using the concept of additional events:
• The event reason for the hire records are fetched as per the conguration maintained in step 6.
• The personal FTSD date is updated with the original hire date.
Behaviour of Infoporter for an employee who has prehire and the hire action types before the earlier transfer
date, during the migration using the concept of additional events:
• The event reason for the hire records are fetched as per the conguration maintained in additional events
conguration table V_ECPAO_PLHD_ACT.
• The personal FTSD date is updated with the original hire date.
As seen in the above cases, the extraction report updates the table PAOCFEC_PN_FTSD with the actual hire
date as the personal FTSD date. This is done so that while replicating back to ERP, the replication process
should not fail because of the existing prehire records in Action Infotype(PA0000). Updating the personal
FTSD ensures that the replication back to ERP happens only beyond this date.
Note
• During replication the constant switch EC to ERP (BIB): Ignore Action If T529A Feature Raises Error
should be enabled to avoid replication error thrown by PA framework based on the settings of T529A.
• For replication the event PSEUDO_HIRE_AFTER_PREHIRE should be mapped to the action type
corresponding to the hire action that is allowed to take place after the prehire action type. As per
our example in point 6, the PSEUDO_HIRE_AFTER_PREHIRE should also be mapped to action type UR.
Read about the congurations that are done to migrate the work permit entity.
Work permit entity is not a standard entity that is supported with Infoporter tool. However you could congure this
and use the work permit entity. With service layer, work permit has Country, Document Type, Document Number,
User ID, and Issue date eld as business key.
Following ERP congurations are valid when the below settings are enabled in Employee Central.
Conguration changes:
Learn how third gender is supported when migrating the data to EC using infoporter tool .
Context
Employee Central now supports a new country-specic gender eld for employees and dependents based on legal
requirement of specic countries. Hence you will have to congure the metadata, picklists, and the BIB mapping to
send the gender eld IT0002-GESCH to the gender eld of global information entity.
If the gender value in Infotype 0002 is Male or Female, then this value should be populated to both the gender eld
in Personal Info and country specic gender eld in the Global Info entity for the corresponding country.
For example: If the gender value in Info type 2 is a country-specic gender value like Transgender for India, then this
value should be sent to the new gender eld in the Global Info and in Personal Info it will be shown as Others.
You can check on view V_T77PAD_GENDER for the support of third gender in ERP for the countries in scope of
migration. Based on this information, you could congure to use this setup.
1 Argentina
2 Austria
3 Brazil
4 Canada
5 Chile
6 France
7 Germany
8 India
9 Italy
10 New Zealand
11 USA
12 Venezuela
Procedure
1. Import the metadata of the global info entity of the required country.
Note
WS_18_IND is provided as a standard entity for country India. You can create custom EC entities for the
required countries.
Primary mapping details - WS5. In the below example for country India, for the Personal Info Entity, the
mapping of the gender shall be either Male or Female and for all other values it could be marked as Others.
In this section, you will nd the steps to be followed if you would want to update the time prole elds of job
information when you migrate the employee data.
Some prerequisites need to be ullled if you want to use replication of absence data from Employee Central to SAP
S∕4HANA together with Employee Central Time O. For more information refer the Replicating Employee Time Data
from Employee Central to SAP S∕4HANA integration guide.
Conguring the Transformation Template Group for Adding Time Prole Fields [page 269]
Learn how to congure the transformation template group to add the time prole elds sent from ERP.
Related Information
Context
You create a business rule in Employee Central to ll the following elds of the Job Information entity with default
values when the rule is successfully executed for an employee:
• Holiday Calendar
• Work Schedule
• Time Prole
• Time Recording Variant
• Time Recording Prole
• Time Recording Admissibility
• Default Overtime Compensation Variant
Procedure
1. Go to the Admin Center and choose the Congure Business Rules tool.
2. Create a business rule based on your requirements.
Task overview: How to update the Time Prole elds in Job information [page 263]
Related Information
The Business Conguration UI (BCUI) allows you to assign rules to HRIS elements and elds to trigger events.
Context
In order to trigger the rule, you will have to assign the previously created business rule.
2. Go to Employee Central HRIS Elements and choose the HRIS element jobInfo for Job Information to
assign the rule as a OnSave rule.
Task overview: How to update the Time Prole elds in Job information [page 263]
Related Information
Cross check if the rule is congured with the company code that you are dealing in migration.
Procedure
1. In your SAP S∕4HANA system, go to the Maintain HR Master Data (PA30) transaction.
2. Search for the employee whose data you want to replicate to Employee Central.
For more information about value mapping, see the Replicating Employee Data from SAP ERP HCM to
Employee Central integration guide. Find the most current version of this guide at http://help.sap.com/
hr_ecintegration.
In Employee Central, the company is represented by an instance of the Legal Entity foundation object. Make
sure that both the legal entity code in Employee Central and the Employee Central key that you specify in
the value mapping Customizing are in upper case.
Task overview: How to update the Time Prole elds in Job information [page 263]
Related Information
Learn how to congure the transformation template group to add the time prole elds sent from ERP.
Context
Procedure
For more information about the Customizing settings, refer the Replicating Employee Data from SAP ERP HCM
to Employee Central integration guide.
2. Go to the Primary Mapping view of your transformation template corresponding to WS_4 (Job information) and
add the time prole elds sent from ERP.
Note
• You don't have to ll other elds with content from SAP S∕4HANA since the business rule you have
created in Employee Central provides the values for these elds.
• You can map the Work Schedule to IT0007 - SCHKZ to map from ERP or else you can consider this
eld as well in your business rule and assign as like other elds.
• We recommend you not to activate the business rules during the initial load. Delta migration shall be
carried out to enable the business rules to be run.
Related Information
This section describes in detail which steps need to be carried out when you want to replicate data from SAP
S∕4HANA to Employee Central to use Employee Central as your system of record.
Caution
Make sure that data that is mastered in SAP S∕4HANA and replicated to Employee Central can't be edited
in Employee Central. Use role-based permissions to disable the edit mode in Employee Central based, for
example, on the legal entity of the employee.
Note
Organizational data with time constraint 3 (which means that any number of valid infotype records can
exist at any one time) is not supported by the Employee Central data model. Therefore, you can't replicate
organizational data with time constraint 3 from SAP S∕4HANA to Employee Central.
For Which Organizational Data-Related Employee Central Entities Can I Use Data Replication? [page 271]
By default, you can use the Employee Central entities that are listed below.
By default, you can use the Employee Central entities that are listed below.
Note
In all Employee Central entities listed above there are standard mappings which are predened by the SAP
S∕4HANA system. You can't congure them while dening primary mappings in the transformation template
group conguration.
Since business units, divisions, and departments all map to organizational units in the SAP S∕4HANA system,
you need to make additional settings if you want to use all three templates referring to these object types in one
transformation template group.
Parent topic: Replicating Organizational Data from SAP S∕4HANA to Employee Central [page 270]
You can transfer data from SAP S∕4HANA to Employee Central using dierent communication channels.
• Using CSV-based template les and the manual import framework in Employee Central
To use the manual import framework, go to the Admin Center and choose the Import and Export Data tool.
• Using a synchronous Web service call and the middleware that is available for data transfer from SAP S∕4HANA
to Employee Central
To extract organizational data from SAP S∕4HANA into CSV-based templates, make these settings for the
Organizational Data Extraction (ECPAO_OM_OBJECT_EXTRACTION) program:
• Choose a transformation template group that uses the CSV File-Based Transfer communication channel.
• Choose the communication channel File Transfer Use Server Path or File Transfer Use Local Drive
Path .
Note
When you schedule the program as a background job to carry out a mass data extraction, always choose
the File Transfer Use Server Path option.
The download log le shows all the success, error, and warning messages. It will also include the number of les
that were downloaded and from where the le is downloaded from. An additional authorization is performed to
check if the user has the rights to download the CSV le.
To transfer organizational data using a synchronous web service call, make these settings for the Organizational
Data Extraction (ECPAO_OM_OBJECT_EXTRACTION) program:
• Choose a transformation template group that uses the Web Service Transfer communication channel.
• Choose the communication channel Web Service Transfer.
Parent topic: Replicating Organizational Data from SAP S∕4HANA to Employee Central [page 270]
Related Information
For Which Organizational Data-Related Employee Central Entities Can I Use Data Replication? [page 271]
Steps in the SAP S∕4HANA System [page 275]
Extensibility of the Integration [page 341]
Data Replication and Mapping Information [page 346]
In the next sections we'll go step by step through all activities you need to carry out in the SAP S∕4HANA system to
make data replication work.
Note
All employee infotypes (both standard PA infotype and non-standard PA infotype) are allowed to be congured
in the Business Integration Builder framework. These infotypes are indicated by the PAPD eld value "X" in the
table T777D. In the employee migration/integration only the standard PA infotypes which has prex "PA" in the
database table names are supported. Any elds mapped to the non-standard PA infotypes will be not extracted
and hence will be ltered out in the migration/integration scenario.
Parent topic: Replicating Organizational Data from SAP S∕4HANA to Employee Central [page 270]
Related Information
For Which Organizational Data-Related Employee Central Entities Can I Use Data Replication? [page 271]
Communication Channels for Organizational Data Replication [page 272]
Extensibility of the Integration [page 341]
Data Replication and Mapping Information [page 346]
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
To dene customer-specic settings, you use the Customizing activities and Business Add-Ins (BAdIs) in
the integration of SAP S∕4HANA and SAP SuccessFactors Employee Central (ECS4HCM) add-on.
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page
285]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Make additional settings for the Employee Central instance you've dened before in the
Dene Organizational Data Settings for Employee Central Company Customizing activity (view
V_ECPAO_CMPNY_OM).
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
An Employee Central entity represents an entity from Employee Central, such as a CSV data import
template or a generic object (also known as MDF entity). You only need to dene custom Employee Central
entities if you want to transfer data from SAP S∕4HANA to an Employee Central entity for which SAP hasn't
provided a default template.
Related Information
To dene customer-specic settings, you use the Customizing activities and Business Add-Ins (BAdIs) in the
integration of SAP S∕4HANA and SAP SuccessFactors Employee Central (ECS4HCM) add-on.
In your SAP S∕4HANA system, go to the Customizing: Execute Project (SPRO) transaction and choose SAP
Reference IMG. In the SAP Customizing Implementation Guide structure, open Personnel Management
Integration with SuccessFactors Employee Central Business Integration Builder :
In the Customizing structure, you can nd detailed information for each Customizing activity and BAdI:
The next sections describe the steps you need to carry out in the SAP S∕4HANA system.
You import the metadata from SAP SuccessFactors Employee Central to make Employee Central elds available in
the SAP S∕4HANA system so that you can use them for eld mappings.
Note
You can only use this program to import metadata for web service entities. If you want to import metadata
for CSV le-based entities, use the Import of Metadata from Employee Central program instead.
Note
You can only use this program to import metadata for CSV le-based entities. If you want to import
metadata for web service entities, use the Import of Metadata from Employee Central Using XML File
program instead.
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page 285]
Transferring Language-Dependent Fields [page 288]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
Use the Import of Metadata from Employee Central Using XML File (ECPAO_ECTMPL_METADATA_WRITER) program
to import metadata for web service-based data transfer.
Context
Using this program, you can import entries as well as delete entries you have imported for a specic Employee
Central instance and template.
Caution
You can't delete metadata in the SAP S∕4HANA system that you have already used for eld mappings.
Otherwise your mappings become invalid. You are shown an error message if you try to delete metadata that is
used for eld mappings.
Procedure
1. Download the metadata that you want to import from Employee Central.
1. Go to the Admin Center and choose the OData API Metadata Refresh and Export tool.
Note
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact
your implementation partner or Account Executive. For any non-implementation tasks, contact Product
Support.
Note
When a new eld is added in Employee Central, you will have to re-import the metadata report and re-run
the report once again.
2. On the selection screen of the program, specify which metadata you want to import to SAP S∕4HANA and from
which le you want to upload it:
Note
If you don't specify a specic Employee Central entity, the metadata is imported for all Employee Central
entities that are available and use the Web Service Transfer communication channel.
3. Optional: Carry out a test run of the program to check the data that will be uploaded to SAP S∕4HANA.
4. Clear the Test Run checkbox and execute the program to upload the data from the Employee Central metadata
le into the EC Entity Field Mapping (ECPAO_FLD) table.
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for
a transport request, to which the imported metadata will be assigned. Using this request you can transport the
entries to the productive system or client.
Note
The standard elds are also uploaded into the EC Entity Field Mapping table. In this table, the Is Standard
Field (IS_FLD_STANDARD) ag is set for these elds. Since a standard mapping is dened for them, they
are not available in the Customizing of the transformation template groups.
Tip
For details about which information about the Employee Central elds exactly is imported by the
program, see the program documentation in your SAP S∕4HANA system. You'll nd a link to the program
documentation in the documentation of the Import Metadata for Web Service-Based Data Transfer from
Employee Central Customizing step.
Transport Imported Metadata and Check Metadata for File-Based Data Transfer
Note
Don't make any changes to the metadata in this Customizing view. Use the metadata import program to
update the entries in this view.
Caution
If the Employee Central eld has Picklist ag is set for an imported Employee Central eld, you might need
to assign a value mapping entity when you dene a eld mapping for this Employee Central eld. Otherwise
the data extraction program might fail.
7. You can also store entries from this view on a transport request, for example, to transport them from your SAP
S∕4HANA test system to your productive system. To do so, choose Table View Transport .
Use the Import of Metadata from Employee Central (ECPAO_ECFLD_METADATA_WRITER) program, to import
metadata for CSV le-based data transfer.
Context
Using this program, you can import entries as well as delete entries you have imported for a specic Employee
Central instance and template.
Caution
You can't delete metadata in the SAP S∕4HANA system that you have already used for eld mappings.
Otherwise your mappings become invalid. You are shown an error message if you try to delete metadata that is
used for eld mappings.
Procedure
1. To download the metadata that you want to import from Employee Central, go to the Admin Center and choose
the following tools:
For this type of entity in Employee Central ... You use this admin tool ...
Person and employment objects Choose the Import Employee Data tool, then choose
Download a blank CSV template
Foundation objects Choose the Import Foundation Data tool, then choose
Download a blank CSV template
Generic objects Choose the Import and Export Data tool, then select the
Export Data action
Note
When a new eld is added in Employee Central, you will have to re-import the metadata report and re-run
the report once again.
2. On the selection screen of the program, specify which metadata you want to import to SAP S∕4HANA and from
which le you want to upload it:
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for
a transport request, to which the imported metadata will be assigned. Using this request you can transport the
entries to the productive system or client.
6. Optional: To delete the entries you have imported for the Employee Central instance and template that you
have specied on the selection screen, select the Delete Metadata checkbox and execute the program.
7. Check the metadata that you have imported or deleted in the Transport Imported Metadata and Check
Metadata for File-Based Data Transfer Customizing activity.
Tip
For details about which information about the Employee Central elds exactly is imported by the
program, see the program documentation in your SAP S∕4HANA system. You'll nd a link to the program
documentation in the documentation of the Import Metadata for Web Service-Based Data Transfer from
Employee Central Customizing step.
Note
You might need to make some changes to the uploaded metadata in this view. For example:
• If a eld is a required eld in your Employee Central data model and you want the SAP S∕4HANA
system to validate the settings for this eld, select the Is Required checkbox.
• You might need to specify the data type for elds. For elds that contain a date, for example, choose
the datetime data type so that the content can be identied correctly.
Caution
If you upload the metadata again, the changes you've made manually will be overwritten.
Don't select the Standard Field and Deleted checkboxes. These ags are set by the metadata import
program:
• The Standard Field ag is set for all elds that are considered to be standard elds. This means that a
standard mapping is dened and that the elds are not available in Customizing for eld mapping.
• Deleted eld means that the eld has become invalid since the last run of the program. This happens,
for example, if you've imported an Employee Central eld and dened a mapping for it. Now you delete
this eld in Employee Central and run the metadata import program again. The program recognizes
that the eld is missing in the new metadata import run and therefore sets this ag for it. Since the eld
no longer exists, your mapping becomes invalid.
If you select the EC Field Has Picklist checkbox for an imported Employee Central eld, you might need to
assign a value mapping entity when you dene a eld mapping for this Employee Central eld. Otherwise
the data extraction program might fail.
8. You can also store entries from this view on a transport request, for example, to transport them from your SAP
S∕4HANA test system to your productive system. To do so, choose Table View Transport .
Congure the replication of texts (such as names or descriptions of organizational objects) between SAP S∕4HANA
and Employee Central.
Prerequisites
The language pack for an Employee Central locale must be enabled in Provisioning so that you can transfer texts in
the corresponding language.
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
Employee Central supports translations for position names, but not for position descriptions. Add a custom
description eld to the Position object denition in Employee Central if you want to replicate position descriptions
for multiple languages.
Context
To enable replication of texts, you rst map language-independent text elds. This mapping is used as a
placeholder. Additionally, you map the locales you use in Employee Central to the corresponding SAP S∕4HANA
languages. Based on this language mapping, the language-dependent eld mappings are then automatically
created and replace the placeholders when the data is extracted.
If you don't dene at least a language mapping for the default locale, no language-dependent data can be
transferred.
Example
Let's say you try to replicate a new department from Employee Central to SAP S∕4HANA. This means that a
new record of the Object (1000) infotype needs to be created in the SAP S∕4HANA system. The Object infotype
needs a language. To determine the language to be used, the SAP S∕4HANA system reads the entries stored in
the V_ECPAO_LOCALE. If there aren't any entries here, the system doesn't know which language to use for the
infotype record. Therefore, the department can't be replicated. The corresponding replication request has the
status Pending.
1. Go to Customizing for the Business Integration Builder and choose Data Migration and Replication to
Employee Central Organizational Data Map Languages from Employee Central and ERP or Data
Replication from Employee Central Organizational Objects Map Languages from Employee Central and
ERP .
2. Create a mapping for the default locale that you use in Employee Central.
Let's say that your default locale is en_US. Therefore, you create the following mapping.
en_US EN
3. Create mappings for all additional locales that your Employee Central instance supports for translation of texts.
Let's say your Employee Central instance also supports German (for Germany), Spanish (for Spain), French,
Italian, and Dutch. Therefore, you create the following entries.
de_DE DE
es_ES ES
fr_FR FR
it_IT IT
nl_NL NL
Note
If you use two locales for the same language in Employee Central (such as en_US and en_GB), you need
to decide which of these locales you want to map to SAP S∕4HANA. In SAP S∕4HANA, there's only one
language key you can map (in our example: EN).
4. Go to the Dene Organizational Data Settings for Employee Central Instance activity in the same customizing
structure.
5. Specify the default locale that you use in Employee Central.
The SAP S∕4HANA system uses the default locale, for example, when writing language-independent content,
such as IDs, to a language-dependent infotype, such as the Object (1000) infotype.
Note
You can also carry out Dene Organizational Data Settings for Employee Central Instance as the rst step.
In this case, the eld help doesn't show any languages yet. You’re redirected to the Map Languages from
Employee Central and ERP customizing activity.
6. Go to the Dene Field Mapping for Organizational Data activity in the same customizing structure.
7. Create language-independent eld mappings for text elds.
The Use Language Mapping checkbox is automatically selected for these eld mappings. This means that the
SAP S∕4HANA system uses them as placeholders.
Let's say you dene the following placeholder mapping for department names.
Employee Central Field Mapping Mode SAP S∕4HANA Infotype SAP S∕4HANA Field
Note
Most organizational objects use name_defaultValue, but not positions. That's why the mapping looks
dierent for position names:
Employee Central Field Mapping Mode SAP S∕4HANA Infotype SAP S∕4HANA Field
Results
Data transfer between Employee Central and SAP S∕4HANA automatically uses language-dependent eld
mappings instead of the placeholder mapping. There's no need to dene a mapping for the language-dependent
elds explicitly. In our example, the integration uses the following mappings.
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Importing Metadata from Employee Central [page 278]
Transferring Language-Dependent Fields [page 288]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
Dening Field Mapping for Organizational Data [page 297]
Make the settings required to enable transfer of texts (such as names or descriptions of business units) between
SAP S∕4HANA and Employee Central.
Prerequisites
You can only transfer texts for an Employee Central locale if the corresponding language pack was enabled in
Provisioning for Employee Central.
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
Context
To enable replication of texts in at least one language, you rst map language-independent text elds. This mapping
is used as a placeholder. Additionally, you map the locales you use in Employee Central to the corresponding
SAP S∕4HANA languages. Based on this language mapping, the language-dependent eld mappings are then
automatically created and replace the placeholders when the data is extracted.
Procedure
1. In Customizing for Personnel Management, choose Integration with SuccessFactors Employee Central
Business Integration Builder Data Migration and Replication to Employee Central Organizational Data Map
Languages from Employee Central and ERP to map Employee Central locales to SAP S∕4HANA languages.
Here's what you need to do there:
a. Dene a mapping for the default locale you use in Employee Central.
Example
en_US EN
Note
• The locale identier from Employee Central must consist of a language identier in lowercase and
a location or country/region identier in uppercase, linked by an underscore. For example: en_US
(English, USA), en_GB (English, UK), fr_FR (French, France), fr_CA (French, Canada).
• The language identier from SAP S∕4HANA must be a two-character country/region ISO code. For
example: EN, FR.
If you don't dene at least a language mapping for the default locale, no language-dependent data can
be transferred.
Example
Let's say you try to replicate a new department from Employee Central to SAP S∕4HANA. This means
that a new record of the Object (1000) infotype needs to be created in the SAP S∕4HANA system. The
b. Dene mappings for all additional locales your Employee Central instance supports for translation of texts.
Example
If your Employee Central instance also supports German (for Germany), Spanish (for Spain), French,
Italian, and Dutch, add these entries:
de_DE DE
es_ES ES
fr_FR FR
it_IT IT
nl_NL NL
Caution
If you use two locales for the same language in Employee Central (such as en_US and en_GB), you
need to decide which of these locales you want to map to SAP S∕4HANA. In SAP S∕4HANA, there's only
one language key you can map (in our example: EN).
Example
The eld help in the Employee Central instance view shows the locales you've mapped in the rst step:
• en_US
• de_DE
• es_ES
• fr_FR
• it_IT
• nl_NL
Example: Dening the Default Locale for Your Employee Central Instance
Example
The SAP S∕4HANA system uses the default locale, for example, when writing language-independent
content, such as IDs, to a language-dependent infotype, such as the Object (1000) infotype.
Note
If Dene Organizational Data Settings for Employee Central Instance is your rst step, the eld help doesn't
show any languages yet. In this case, you’re redirected from here to the language mapping Customizing
view and can make the settings described in step 1.
3. Go to Dene Field Mapping for Organizational Data in the same Customizing structure and dene language-
independent eld mappings for text elds, which are used as placeholders.
Employee Central Field Mapping Mode SAP S∕4HANA Infotype SAP S∕4HANA Field
Note
Most organizational objects use name_defaultValue, but not positions. That's why the mapping looks
dierent for position names:
Employee Central Field Mapping Mode SAP S∕4HANA Infotype SAP S∕4HANA Field
The Use Language Mapping checkbox is automatically selected for this eld mapping.
Data transfer between Employee Central and SAP S∕4HANA automatically uses language-dependent eld
mappings instead of the placeholder mapping. There's no need to dene these four mappings explicitly.
Example
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Importing Metadata from Employee Central [page 278]
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page 285]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
Dening Field Mapping for Organizational Data [page 297]
Make additional settings for the Employee Central instance you've dened before in the Dene Organizational Data
Settings for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_OM).
Procedure
To enable transfer of text elds (such as names or descriptions) between SAP S∕4HANA and Employee Central,
you need to map this default locale to an SAP S∕4HANA language such as EN.
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Importing Metadata from Employee Central [page 278]
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page 285]
Transferring Language-Dependent Fields [page 288]
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
Dening Field Mapping for Organizational Data [page 297]
An Employee Central entity represents an entity from Employee Central, such as a CSV data import template or a
generic object (also known as MDF entity). You only need to dene custom Employee Central entities if you want to
transfer data from SAP S∕4HANA to an Employee Central entity for which SAP hasn't provided a default template.
Context
In the Dene Employee Central Entities for Additional Organizational Data Entities Customizing activity (view
V_ECPAO_ECTMPL_O) you can also see the default templates dened by SAP. If the default templates suit your
requirements, there's no need to dene any custom templates.
To dene custom Employee Central entities carry out the steps described below for each entity that you add.
Procedure
To nd out about the name for generic objects, go to the Admin Center and choose the OData API Data
Dictionary tool. For CSV data import templates, go to the Admin Center and choose the Import and Export
Data tool.
c. Specify the organizational object type from Employee Central, such as Business Unit or Job Classication.
d. Depending on the type of Employee Central entity for which you use the template, select the
communication channel (CSV File-Based Transfer or Web Service Transfer).
e. If you want to be able to assign your Employee Central template to several transformation templates,
select the Multiple Use checkbox.
f. Specify if the Employee Central entity is eective dated.
2. Dene the standard Employee Central eld IDs.
a. Specify the name of the eld that contains the external code of the generic object in Employee Central and
to which the organizational object I from SAP S∕4HANA is to be transferred.
For standard eective dated templates and standard eective dated MDF templates if the start date is
specied, then the start date would be considered as a standard eld. For custom MDF templates, start
date would not be considered as a standard eld.
c. Specify the Employee Central eld (such as endDate) in which the end date is stored for the corresponding
entity and which is to be mapped to the End Date (ENDDA) eld in SAP S∕4HANA.
For standard eective dated templates if the end date is specied, then the end date would be considered
as a standard eld. For custom MDF templates and standard MDF templates, end date would not be
considered as a standard eld. End date is now not a mandatory eld and you will be receiving a warning
message when you do not mention the end date.
Note
Standard EC elds can be left blank while replicating the data to ERP when the dependent entity is
maintained.
If the parent entity is a standard delivered SAP entity, then only the upsert sequence of the child entity has
to be entered which can be any number. But if the parent entity is also a custom template, then you need to
ensure that the upsert sequence of parent is lower than that of the child entity.
Note
The EC Org. Obj.Type value should be same as the parent/dependent entity. In case the child entity is
migrated to EC, the parent entity should also be included in the extraction process.
Example
To map cost distribution, you need to create a custom composite child object with parent as position
and then map the Infotype 1018 value.
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Importing Metadata from Employee Central [page 278]
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page 285]
Transferring Language-Dependent Fields [page 288]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Dening Field Mapping for Organizational Data [page 297]
To enable the data extraction programs to extract the right SAP S∕4HANA information for the right Employee
Central elds, you need to map SAP S∕4HANA elds to Employee Central elds.
To map elds, you go to the Dene Field Mapping for Organizational Data Customizing step, which has the
VC_ECPAO_MAP_OM view cluster assigned. The conguration in this view cluster is done in several steps:
1. You create at least one transformation template group. A template group bundles all eld mappings that
you want to use when running the data extraction program. This is the entity that you specify on the
program selection screen. From the transformation template group the data extraction program determines all
information it needs to extract data from SAP S∕4HANA elds and map it to Employee Central eld IDs.
2. You create at least one transformation template for your transformation template group. A transformation
template groups information from the SAP S∕4HANA system that belongs together logically. It is the SAP
S∕4HANA counterpart of the Employee Central entity.
3. You dene a primary mapping for each of your transformation templates. This means you choose Employee
Central eld IDs from the Employee Central entity assigned to the transformation template, and you map
suitable SAP S∕4HANA elds to these Employee Central eld IDs.
Example
The following sample transformation template groups are dened for the Employee Central company
SBS_MODEL in the delivered sample Customizing:
• SBS_OM_MODEL_CSV
This is an example for the replication of organizational data using the CSV File-Based Transfer
communication channel.
• SBS_OM_MODEL_WS
This is an example for the replication of organizational data using the Web Service Transfer communication
channel.
You can copy the transformation template group to your Employee Central company and change the eld
mapping of the transformation templates to suit your requirements.
Related Information
Accessing the Customizing Structure in the SAP S∕4HANA System [page 277]
Importing Metadata from Employee Central [page 278]
Conguring Replication of Language-Dependent Fields Between Employee Central and SAP S∕4HANA [page 285]
Transferring Language-Dependent Fields [page 288]
Dening Organizational Data-Related Settings for Your Employee Central Company [page 294]
Dening Custom Employee Central Entities for Organizational Data Entities [page 294]
A template group bundles all eld mappings that you want to use when transferring data from SAP S∕4HANA to
Employee Central.
Context
To dene template groups, you go to the Dene Transformation Template Group for Organizational Data
Customizing step, which has the V_ECPAO_TTG_OM view cluster assigned.
Procedure
Note
EC Instance is a read only eld when you are editing or copying the transformation template group. You will
be able to modify or choose the EC instance only when you are creating a new transformation template
group.
The transformation template is the counterpart of the Employee Central entity. You can map elds from the
transformation template to elds from the assigned Employee Central entity.
Context
To dene a set of transformation templates for each transformation template group, you go to the Transformation
Templates view of the VC_ECPAO_MAP_OM view cluster.
Note
If you want to map organizational units, take into account that business units, divisions, and departments from
Employee Central all map to organizational units in the SAP S∕4HANA system. Therefore you need to decide
how to handle the organizational unit templates:
• Either you decide which of these object types you want to use. For example, if you decide to
always replicate organizational units to departments, you only add an transformation template to your
transformation template group that has the Department Employee Central entity assigned.
• If you want to use all three templates in your transformation template group, implement the Validity Periods
for Data Replication to EC (EX_ECPAO_EMP_VALIDITY_TAB) Business Add-In (BAdI) to dene for each
organizational unit to which object in Employee Central it is to be mapped.
These are the settings that you need to make for each transformation template you dene:
Procedure
Example
Let's say the following records of the Object (1000) infotype exist for an organizational unit:
Object Abbre-
Object Type Object ID Start Date End Date Language Key viation Object Name
If you select this checkbox, these infotype records are transferred separately. If you don't select this
checkbox, these infotype records are merged and the following record is transferred:
Object Abbre-
Object Type Object ID Start Date End Date Language Key viation Object Name
4. Assign one of the default Employee Central entity or a custom Employee Central entity that you've created
before.
You can choose Employee Central elds from the Employee Central data model that you've uploaded to the SAP
S∕4HANA system, and you map suitable SAP S∕4HANA elds to these Employee Central eld IDs.
Context
To dene a eld mapping for each transformation template, you go to the Primary Mapping view of the
VC_ECPAO_MAP_OM view cluster.
Note
There are predened standard mappings, which are automatically added to the templates you use and aren't
available for conguration in this Customizing activity.
Procedure
1. Choose an Employee Central eld from the assigned Employee Central template.
Note
Make sure that you have imported the data model for this Employee Central template to the SAP S∕4HANA
system using the metadata import program. Otherwise no elds are available here.
2. Map each Employee Central eld to an SAP S∕4HANA eld using a suitable mapping mode:
• When you select the mapping mode Infotype Mapping, you assign an infotype or subtype eld in the
primary mapping. You can use elds from Organizational Management infotypes for eld mapping. For the
mappings of text elds such as Object Name (STEXT), you dene a language-independent mapping. The
Use Language Mapping checkbox is selected for this kind of eld mapping.
To make the language-dependent mapping work, you also need to map Employee Central locales to SAP
S∕4HANA languages.
• When you select the mapping mode BAdI Mapping, you can use an implementation of the Mapping of EC
and ERP Data for Data Replication to EC (EX_ECPAO_EMP_DATA_EXTRACT_OUT) BAdI to dene the eld
mapping.
• When you select the mapping mode Evaluation Path Mapping, you can map an Employee Central eld ID to
an evaluation path from SAP S∕4HANA.
3. If the value from the SAP S∕4HANA eld needs to be converted into an Employee Central value, enter the value
mapping entity that you have dened in the Dene Value Mapping Entities Customizing step.
You can dene the value mappings for this entity directly from here by choosing Dene Value Mapping
Entries.
Results
You are now ready to use your eld mapping when running the data extraction program.
Note
Don't dene a secondary eld mapping for organizational data. Organizational data elds that have a secondary
mapping aren't replicated by the Organizational Data Extraction program.
Value mapping means that Employee Central eld values are mapped to values of SAP S∕4HANA elds.
The data extraction programs use the value mappings when extracting data. They replace the SAP S∕4HANA keys
by the corresponding Employee Central keys if a value mapping is dened for the corresponding eld mapping.
Value mappings are assigned to eld mappings in the Primary Mapping and Secondary Mapping views of the eld
mapping view cluster. Field mappings are grouped together in a transformation template group. You enter the
transformation template group on the selection screen to tell the extraction program which eld mappings and
which value mappings it is to use.
There are standard value mappings provided by SAP. Standard value mappings are provided for values that can't be
congured in the SAP S∕4HANA system and in Employee Central and therefore always stay the same.
Example
Language codes can't be congured. The Employee Central language code English always corresponds to the
language code EN in the SAP S∕4HANA system. Therefore, a standard value mapping is provided for language
codes.
However, if you want to map values that can be congured in the SAP S∕4HANA system and in Employee Central,
you need to dene custom value mappings.
Note
After copying the new value mapping entries, don’t save the entries immediately, but press the page down
button to see all the entries. You must click the page down button until you see the last set of entries. Once you
see the last set of entries, you can save all the newly created entries.
How to Use the Sample Value Mapping for Organizational Data [page 308]
Use the sample value mapping entities we provide for organizational objects to easily create the value
mappings you need, for example, for the relationships to other objects.
How to Use the Sample Content for Organizational Data [page 309]
We provide sample content for dierent use cases in the Dene Field Mapping for Organizational Data
Customizing step, which you can copy and adapt to your needs.
Related Information
A value mapping entity combines a set of value mappings for a specic purpose (for example, gender code value
mappings).
Context
You dene value mapping entities in the Dene Value Mapping Entities Customizing step (view
V_ECPAO_VALUENTY). The easiest way to create value mapping entities is to copy the sample entities by choosing
the Copy Sample Value Mapping pushbutton.
If you want to check rst which sample value mapping entities are available, choose the Show Sample Value
Mapping pushbutton.
You can also create country-specic value mapping entries and create a new value mapping entity in the Dene
Field Mapping for Employee Data Customizing activity (view cluster VC_ECPAO_MAP). In this Customizing activity,
go to Primary Mapping Details and choose Create Value Mapping Entity or Dene Ctry. Spec. Value Mapping
Entries.
Create Value Mapping Entity/Dene Country-Specic Value Mapping Entries from Primary Mapping in VC_ECPAO_MAP
You'll get a list of all standard entities provided for the integration, which you can adjust to your needs.
Procedure
1. To create a value mapping entity from scratch, enter a name and description. If you want to use a standard
entity, you need to keep its name, but you can adjust the description.
2. Specify how the values are to be mapped. If you want to use a standard entity, we recommend that you use the
suggested mapping types.
• Picklist mapping using the External Code eld from the picklist
Use this type if the picklist value you want to map is an External Code. This is the case for most of the
picklists.
3. To make available picklist values you've imported to the SAP S∕4HANA system from Employee Central in the
value mapping details, assign a picklist to the value mapping entity.
This is a combination of the technical name of the infotype table (such as PA0002) and the technical name of
the infotype eld (such as GESCH), connected with a hyphen (as in PA0002-GESCH). This means that you can
choose the input help values from the Gender Key (GESCH) eld of the Personal Data (0002) infotype in the
ERP Key eld when you actually map the values. It does not mean that you can only use the value mapping
entity for the GESCH eld. If you want to use a sample entity, we recommend that you use the suggested SAP
S∕4HANA value helps.
Results
You are now ready to map the actual Employee Central and SAP S∕4HANA values in the next Customizing steps,
where you dene the value mapping details.
Related Information
The value mapping details actually map SAP S∕4HANA values to the corresponding Employee Central values.
Procedure
You can also enter the wildcard * in the ERP Key eld. If only the wildcard is dened in the value mapping
details, any SAP S∕4HANA value will be mapped to the Employee Central key for the eld that uses this value
mapping entity. If the wildcard is dened in addition to specic SAP S∕4HANA keys, the system rst checks for
the specic keys. If an Employee Central key is mapped to a specic SAP S∕4HANA key, this mapping is used.
For all other SAP S∕4HANA values, the Employee Central key mapped to the wildcard is used.
Results
The data extraction programs can now use the value mappings. When extracting data, they will replace the SAP
S∕4HANA keys by the assigned Employee Central keys if a value mapping is dened for the corresponding eld
mapping. If no value mapping is available, they won't map any values for the specic eld and use the values from
SAP S∕4HANA as they are.
Related Information
Use the sample value mapping entities we provide for organizational objects to easily create the value mappings
you need, for example, for the relationships to other objects.
We provide sample value mapping entities for the default organizational objects (departments, divisions, business
units, job classications, and positions) and for the Status of Vacancy (STATUS) eld of the Vacancy infotype
(1007).
Note
If you choose Copy Sample Value Mapping, all entities that are available in the V_ECPAO_VALENT_S (S table)
view are copied to the V_ECPAO_VALUENTY (C table) view in the Dene Value Mapping Entities Customizing
activity. This includes the value mapping entities for organizational data as well as employee data, and for both
directions (replication from SAP S∕4HANA to Employee Central and replication from Employee Central to SAP
S∕4HANA). If you only need some of the sample value mapping entities, choose Copy Sample Value Mapping
and then remove all entities that you don't need from the V_ECPAO_VALUENTY view.
Once you've made entries in the V_ECPAO_VALUENTY view (either by copying or by entering them
manually), you can no longer copy the sample value mapping entities. Either remove all entries from the
V_ECPAO_VALUENTY view and copy again, or show the sample value mapping entities and use them as an
example for making the entries manually.
If you want to replicate other organizational objects (including custom objects), you need to dene custom value
mapping entities for them.
Related Information
We provide sample content for dierent use cases in the Dene Field Mapping for Organizational Data Customizing
step, which you can copy and adapt to your needs.
Use Cases
Sample content is available for all organizational-related templates and are available for the following use cases.
Note
This sample content includes eld mappings only for the default organizational objects. It does not include
relationships between the objects (such as position to organizational unit relationships) or parent relationships
(such as organizational unit to parent organizational unit relationships). Use the OM_CSV_2 sample content in
addition to migrate the relationships in a second step.
Organizational Data SAP S∕4HANA to EC: CSV File-Based Objects and Relationships
(OM_CSV_2)
Provides eld mappings for the relationships between the default organizational objects (organizational units, jobs,
positions, position matrix relationship), including parent relationships. Use this sample content to set up a CSV
If you use this sample content, make sure that you have migrated the default organizational objects before with the
OM_CSV_1 sample content.
If you want to include cost center relationships, make sure that you've set up cost center replication from the SAP
S∕4HANA system to Employee Central before.
• Either to set up a regular web service-based replication of organizational data from the SAP S∕4HANA system
to Employee Central when using the side-by-side deployment option.
• Or to set up a delta-enabled migration to initially move your organizational data from the SAP S∕4HANA system
to Employee Central if you transition to the side-by-side or the core hybrid deployment option and plan to use
Employee Central as the system of record for Organizational Management in the future.
Note
This sample content includes eld mappings only for the default organizational objects. It does not include
relationships between the objects (such as position to organizational unit relationships) or parent relationships
(such as organizational unit to parent organizational unit relationships). Use the OM_WS_5 sample content in
addition to migrate the relationships in a second step.
• Either to set up a regular web service-based replication of relationships from the SAP S∕4HANA system to
Employee Central when using the side-by-side deployment option.
• Or to set up a delta-enabled migration to initially move the relationships from the SAP S∕4HANA system to
Employee Central if you transition to the side-by-side or the core hybrid deployment option and plan to use
Employee Central as the system of record for Organizational Management in the future.
If you use this sample content, make sure that you have migrated the default organizational objects before using
the OM_WS_4 sample content.
How to Proceed
Here is how to use the sample content provided in the Dene Field Mapping for Organizational Data Customizing
activity:
1. Create a transformation template group and select the sample content that you want to use for it.
2. In your transformation template group, create transformation templates for all entities you want to use and
assign the corresponding Employee Central entities. You can create the transformation templates using two
methods:
You can use the Copy Sample Content button to copy the transformation templates and the corresponding
Primary Mapping and Secondary Mapping congurations for the relevant Employee Central entities. To see
the entries copied to the Primary and Secondary Mapping views, you need to click the Save button to save
and view all the congurations. Which eld mappings are copied depends on the sample content you have
selected for the transformation template group.
• Using the Copy Sample Content button at the each transformation template level.
Which eld mappings are copied depends on the sample content you have selected for the transformation
template group.
3. If needed, adapt the copied sample content to suit your requirements. You can, for example, delete mappings
you don't need, change the mapped eld, or add new mappings.
4. Replicate the organizational unit relationships. To do so:
1. In the template group that you use for organizational data extraction, select the Is Active checkbox for
the transformation template that you use for mapping organizational unit elds to department elds and
that maps the Parent eld. Deselect this checkbox for the other transformation template that you use for
mapping organizational units (the one that doesn't contain the Parent eld).
2. Extract the data for your organizational units using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. On the selection screen of the program, specify the
template group that you use for organizational data extraction. The Organizational Data Extraction program
uses the transformation template that maps the Parent eld since you've set the Is Active checkbox for
this transformation template. The other transformation template, which doesn't map the Parent eld, isn't
used since this is not active.
3. Import the extracted data into Employee Central. Now the parent-child associations are created for the
departments you have replicated in the rst step.
Note
Once you have made custom entries in the Primary Mapping view (either by copying and adapting the sample
content or by making your custom entries from scratch), you can no longer copy the sample content. If you
have dened custom mappings and decide that you want to use the mappings provided by the sample content
instead, delete the transformation template and create a new template.
If you have already dened eld mappings in the previous releases, you can continue to use them without
any changes. However, if you want to replace your custom mappings with mappings provided with the sample
Related Information
You want to map the table infotype in the view cluster to support the migration process.
Prerequisites
You need to create a custom OM Entity in the V_ECAPO_ECTMPL_O view similar to the one, which is created in the
EC instance.
Context
Table infotypes allows you to store the data in a tabular structure in one infotype record. All the OM infotypes,
which have HRT table in addition to the HRP tables are table infotypes. You can map any table infotype in the
conguration since this is common for both Organizational data migration and Organizational data replication. But
in Organizational data migration, only table infotype 1002 and 1018 are supported.
Procedure
You can migrate multiple cost distributions stored in the corresponding 1018 table infotype records for the
parent object, as shown in the below example.
Example
Related Information
Related Information
You can use evaluation path mapping, for example, to extract chief positions even if they aren't assigned to the
employee's organizational unit directly, but to a higher-level organizational unit.
With evaluation path mapping, you don't map an Employee Central eld directly to an SAP S∕4HANA eld. Instead,
you map it to an evaluation path from SAP S∕4HANA. The SAP S∕4HANA system then uses this evaluation path to
determine the mapped object, such as the chief position of an organizational unit.
If you choose this mapping mode, you need to select the evaluation path to be used. This is a chain of relationships
between objects in a hierarchical structure. The SAP S∕4HANA system evaluates the organizational structure along
the evaluation path you specify. The evaluation paths from which you can choose are dened in Customizing
for Personnel Management under Organizational Management Basic Settings Maintain Evaluation Paths
(transaction OOAW).
Here's an example of an evaluation path that uses the following relations to determine parent positions from the
organizational structure:
Example
Let's say you select the Evaluation Path Mapping mapping mode for the Job code eld of the Position entity
and choose an evaluation path that retrieves the job code of the chief position evaluating the organizational
structure.
In the following example, you select the Evaluation Path Mapping mapping mode for the jobCode eld of the
Position entity and choose an evaluation path that uses the Is described by relationship between all kinds of
organizational objects:
Primary mapping conguration : Position Object -- Job code eld mapping in primary mapping screen:
In the value mapping eld, a value mapping entity for the object type must be entered. The value mapping type
must be of type Organization Object Keys From Mapping Table.
This means, the SAP S∕4HANA system determines the jobs that are related to the extracted positions from the
organizational structure in your SAP S∕4HANA system.
For the extraction of the below Position object: 50862581, the behaviour will be as follows:
Organizational Structure chief position (B012 relationship) with assigned Job code
Related Information
Carry out the steps we describe here to replicate navigation eld of organizational objects, such as the division
associated to a position.
Procedure
1. Download the latest OData metadata XML le from your Employee Central instance using the OData API
Metadata Refresh and Export admin tool.
2. Make sure that an Employee Central template exists for the associated object in the Dene Employee Central
Templates for Additional Org. Data Entities Customizing step. If a default template is provided here, you can use
this. If not, create a custom template.
Example
A position can have a divisionNav/externalCode eld, meaning, an associated division. We provide a default
Employee Central template, WS_OM_DIV, for the FODivision entity. That's why you don't need to create any
additional template.
Or, let's say, a job classication has a cust_toJobFunction/externalCode eld, which refers to an associated
Job Function entity. We don't provide a default Employee Central template for Job Function. This means,
you need to dene a custom Employee Central template for this entity in the Dene Employee Central
Templates for Additional Org. Data Entities Customizing step using the customer name space. For example:
0_JOB_FUNC. In this template, you specify the name of the associated object (FOJobFunction) as the
Employee Central template name. In the Object ID in EC eld ID, you enter the FOJobFunction eld that
contains the ID of this entity, such as externalCode. And in the Start Date in EC eld ID, you enter the
FOJobFunction eld that contains the start date, such as eectiveStartDate or startDate.
3. Run the Import of Metadata from Employee Central Using XML File (ECPAO_ECTMPL_METADATA_WRITER)
program using the le you've downloaded in the rst step.
This will update the attributes of all the existing elds and add new elds if there are any.
Example
In the rst example, you would import the metadata for the WS_OM_POS because a mapping of the
divisionNav/externalCode and divisionNav/eectiveStartDate elds is dened for this template.
4. The metadata import lls the Navigation Target Field (EC_NAV_TARGET) eld in he EC Entity Field Mapping
(ECPAO_FLD) table with the name of the associated object.
Example
In the rst example, the content of the Navigation Target Field eld would be FODivision.
Results
The navigation elds will be created in Employee Central for the replicated objects.
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
When data from SAP S∕4HANA to Employee Central, make sure to follow this sequence.
Related Information
When data from SAP S∕4HANA to Employee Central, make sure to follow this sequence.
Prerequisites
Make sure that the Parent eld is not a required eld for positions and departments in the Employee Central
metadata.
Make sure that the Multiple Use checkbox is selected for the Employee Central entities that you use for
organizational data so that you can assign one Employee Central entity to several transformation templates. For
more information see the Replicating Employee Data from SAP S∕4HANA to Employee Central integration guide.
Find the most current version of this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
Example
Let's say, you create the transformation templates DEPARTMENT_WO_PARENT and DEPARTMENT_W_PARENT for
mapping organizational unit elds from SAP S∕4HANA to department elds in Employee Central. You assign the
Employee Central entity DEPARTMENTImportTemplate to both of the transformation templates and map the
elds as shown below.
DEPARTMENT_WO_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
DEPARTMENT_W_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
Procedure
Example
b. Extract the data for your organizational units using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. On the selection screen of the program, specify the
transformation template group that you use for organizational data extraction. The Organizational Data
Extraction program uses the transformation template that doesn't map the Parent eld since you've set the
Is Active checkbox for this transformation template. The other transformation template, which maps the
Parent eld, isn't used since this is not active.
There's also a recommended sequence for importing the employee data entities into Employee Central. For
more information about importing the employee data entities, see the Replicating Employee Data from SAP
S∕4HANA to Employee Central integration guide. Find the most current version of this guide in SAP Help Portal
at http://help.sap.com/hr_ecintegration.
5. Replicate the organizational unit relationships. To do so:
a. In the transformation template group that you use for organizational data extraction, select the Is
Active checkbox for the transformation template that you use for mapping organizational unit elds to
department elds and that maps the Parent eld. Deselect this checkbox for the other transformation
template that you use for mapping organizational units (the one that doesn't contain the Parent eld).
Example
b. Extract the data for your organizational units using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. On the selection screen of the program, specify the
transformation template group that you use for organizational data extraction. The Organizational Data
Extraction program uses the transformation template that maps the Parent eld since you've set the Is
Active checkbox for this transformation template. The other transformation template, which doesn't map
the Parent eld, isn't used since this is not active.
c. Import the extracted data into Employee Central. Now the parent-child associations are created for the
departments you have replicated in the rst step.
6. Replicate the job relationships. To do so, carry out the same steps as for organizational unit relationships,
but use the transformation templates that map job elds from SAP S∕4HANA to job classication elds in
Employee Central.
7. Replicate the position relationships. To do so, carry out the same steps as for organizational unit relationships,
but use the transformation templates that map position elds from SAP S∕4HANA to position elds in
Employee Central.
Related Information
Here is how to extract organizational data from the SAP S∕4HANA system to transfer it to Employee Central.
Procedure
1. Go to the Organizational Data Extraction (ECPAO_OM_EXTR) transaction to run the Organizational Data
Extraction (ECPAO_OM_OBJECT_EXTRACTION) program.
The program extracts organizational data from the SAP S∕4HANA system based on your selection criteria.
Note
This is not a mandatory eld. You can choose the Variant ID if you want to perform the extraction in
multiple steps. For more information, see: Extracting Organizational Data in Multiple Steps [page 331]
For example, a transformation template group consists of the 5 transformation templates (ERP1, ERP2,
ERP3, ERP4, and ERP5). In these templates if you want to choose only ERP1, ERP3, and ERP5, you can
create a variant ID for these transformation templates. And when you choose this variant ID for migration
process, only these transformation templates (ERP1, ERP3, and ERP5) would be considered.
• Specify how you would like to transfer the data:
• By web services, using the middleware that is available for the data replication from SAP S∕4HANA to
Employee Central.
• Using comma-separated values (CSV) les.
If you choose the File Transfer Using Server Path option, you can later transfer the data from the
application server location to a local drive.
Note
If you choose the File Transfer Using Local Drive Path option, you must specify where the CSV le is to
be stored.
Note
When you schedule the program as a background job to carry out a mass data extraction, always
choose the File Transfer Use Server Path option.
For both options, you can specify an addition to the le name to prevent existing les from being
overwritten by new les. If you don't enter a le identier, the same le name is used for each
download so that existing les are overwritten.
Note
You can carry out a test run of the program rst to check if the data can be extracted from SAP
S∕4HANA without errors.
• Select the Detailed Message Log checkbox if you want to get a detailed log containing all warning and error
messages.
• Select the Failed Objects Only checkbox if you want to re-run the replication for only those objects for
which the replication status has failed.
2. If you carry out a productive run, the program extracts the data.
If the template group you have entered on the selection screen contains multiple transformation templates
for organizational units, which map organizational units to dierent object types in Employee Central, your
are shown an error message. Since business units, divisions, and departments from Employee Central
all map to organizational units in the SAP S∕4HANA system, you need to decide how to handle the
organizational unit templates:
• Either you decide which of these object types you want to use. For example, if you decide to
always replicate organizational units to departments, you only add a transformation template to your
transformation template group that has the Department Employee Central entity assigned.
• If you want to use all three templates in your transformation template group, you must implement the
Validity Periods for Data Replication to EC (EX_ECPAO_EMP_VALIDITY_TAB) Business Add-In (BAdI) to
dene for each organizational unit to which object in Employee Central it is to be mapped.
Employee Central codes are mapped to SAP S∕4HANA IDs either using the standard mapping
or based on an implementation of the Mapping of User ID, Person ID, Username, and Object ID
(EX_ECPAO_EMP_USYID_PRN_UNM_MAP) Business Add-In (BAdI).
To view the table, go to the View Org. Structure Item Key Mapping (SFIOM_KMAP_OSI) transaction.
Tip
4. When delta enabled transformation template group is selected in the selection screen, for the successfully
migrated PERNR's, the extraction process updates the corresponding ECPAO message type change pointers (if
available), and marks them as processed.
Note
This applies when you do not choose any variant selection on the selection screen.
5. Before the extraction report runs, you need to replicate the cost centers from your SAP S∕4HANA Finance
system to Employee Central and then the organizational data migration takes place. The cost center eld value
in the organizational objects which are being migrated should be formatted or converted to the external codes
of the corresponding Employee Central cost centers. This formatting or conversion logic is required since the
value of the related cost center object ID stored in Infotype 1001 is dierent than that of the cost center ID,
which is created in Employee Central system.
The value mapping entity type for this cost center should be Cost Center Keys from Mapping Table, otherwise
the data will not be extracted from the cost center. The default cost center external code that is created in
EC via the cost center replication report ODTP_REPL_CC will have the cost center formatted like 4 characters
controlling area (KOKRS) + 10 characters controlling area (KOSTL). Whereas in SAP ERP, the cost center ID
stored in infotype 1001 is 10 characters and KOSTL concatenated with the 4 characters KOKRS. If the cost
center ID in EC is not as per the expected format of concatenation of KOKRS and KOSTL, then you will get
an error during the migration of the organizational object having cost center relationships. In that case, you
will either have to use the BAdI EX_ECPAO_ERP_EMP_DATA_MODIFY or map the value explicitly using a value
mapping entity (type standard).
6. The program writes messages to the application log. To check the messages, go to the Analyze Application Log
(SLG1) transaction.
The download log le shows all the success, error, and warning messages. It will also include the number of les
that were downloaded and from where the le is downloaded from.
Please note that the les might contain personal and sensitive data. Additional authorization is performed to
check if the user has the right to download the CSV le. Only specic authorized users should be allowed
The below authorizations are required to be able to download the CSV les:
Authorizations
Authorization Object Authorization Field Authorization Value
ECPAO_OM_OBJECT_EXTRACTION
S_TABU_NAM ACTVT 02
7. Enter the ECPAO object and the ECPAO_OM subobject. To check for a specic object, enter the object ID in the
External ID eld. Optionally specify additional selection criteria, then choose Execute.
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data in Multiple Steps [page 331]
Downloading CSV Files from the Application Server [page 332]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Here is how to extract the organizational data from the SAP S∕4HANA system to transfer it to Employee Central in
multiple steps without having to change and transport the template group conguration.
Prerequisites
In order to do a step wise employee data migration using a single transformation template group, you should have
already created a transformation template group using the view cluster VC_ECPAO_MAP_OM. For more information
see: Creating a Transformation Template Group for Organizational Data.
Context
When you are using the regular extraction process, you need to transport from conguration system to production
system, which is time consuming. By using this multiple step migration, you avoid the transport from the
conguration system to the production system.
When you are migrating the organizational data, you can rst migrate the templates without any relationship to
make sure that the objects rst exist in Employee Central before the relationships are migrated. This will make sure
that you are not migrating templates, which have a relationship with certain templates, where you are migrating the
relationships without migrating the template.
For ex: If all departments without relationships are not migrated, then departments with relationships cannot be
migrated.
Once the initial migration process is successful, you can then migrate the relationships to the existing templates (ex
Job relationship, Position relationship etc.). Lastly you can execute delta replication via change pointers. For more
information on delta replication, see: Extracting Changed Organizational Data Using Delta Replication [page 334].
Here you can use a single transformation template group (by creating dierent variant ID's for a single
transformation template group) to cater for dierent scenarios without changing any congurations in the
transformation template group.
Tip
You can create a single transformation template group with all the required transformation templates and
enable it for delta replication.
1. Create the variant ID using the customizing activity: Dene the Variant IDs for Data Migration (view
V_ECPAO_VARIANT).
2. Once you create the variant ID, you will have to add the transformation template to the variant ID using the
customizing activity: Dene the Transformation Templates for a Variant ID (view V_ECPAO_FO_UPS).
3. Choose the variant ID when you run the organizational extraction report. For more information see: Extracting
Organizational Data.
Note
You can also choose the variant ID when you run the job scheduler report. For more information on job
scheduler report, see: Parallelization of Organizational Data Extraction Via Job Scheduler Report
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Downloading CSV Files from the Application Server [page 332]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Extraction of Inactive Organizational Objects [page 340]
If you've stored the data extracted to CSV les on the application server, here's how to transfer the data from the
application server location to a local drive.
Prerequisites
• Dene the logical le path ECPAO_TMPL_DIR in the Logical File Path Denition (FILE) transaction.
• Dene Assignment of physical paths to logical path for the logical le path ECPAO_TMPL_DIR.
Note
Context
Procedure
Note
• Make sure that both the path’s extension matches to avoid any error.
• Only one le can be downloaded at one time.
• This report is not added as a part of the standard sample roles delivered with the add-on.
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Extracting Organizational Data in Multiple Steps [page 331]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Extraction of Inactive Organizational Objects [page 340]
After the initial run of the organizational data extraction program, changed data is replicated using delta replication.
Here's how you need to set this up.
Prerequisites
You can only use the transformation template groups with the Web Service Transfer communication channel for
delta replication.
Context
When administrator change organizational data in the SAP S∕4HANA system, change pointers are created. The
Creating IDoc Type from Change Pointers (RBDMIDOC) program (or BD21 transaction) reads the change pointers
with the ECPAO_OM message type, replicates the changed data using the data extraction program, and marks the
change pointers as processed.
Data extraction program choose the transformation template group from the VC_ECPAO_MAP view cluster. In
the view cluster, while creating the transformation template group or after creating, the transformation template
group can be enabled for delta replication. You need to choose Enable for Delta Replication option to enable the
delta replication. For more information see: Creating a Transformation Template Group for Employee Data topic.
Additionally, you can choose a subset of transformation templates from the group for delta replication by enabling
the Enable for Delta Replication option in the V_ECPAO_VARIANT view.
This replication only identies the changes which are maintained directly on an object. By implementing the
HRALE00CHANGE_PTRS BAdi, you can now capture the changed inherited objects and which can be stored in the
change pointers table BDCP2. Any changes in the position, organizational units, cost center, and jobs (For ex: cost
center assigned to an organization unit is changed.) can be stored in the changed pointers table. When you run
the data extraction report you can see these changes as well. For example coding, you can refer to the SAP note:
2399459.
The data replication does not use Application Link Enabling (ALE) or IDocs. The RBDMIDOC program uses the
ECPAO_OM message type to trigger the replication of changed organizational data to Employee Central using a
synchronous Web service call.
In SAP S∕4HANA, all infotype data is eective dated. In Employee Central, some data, such as email or phone
information, isn't eective dated. If you change data in SAP S∕4HANA for the future that isn't eective dated
in Employee Central, the corresponding change pointers will only be executed at this future date. For any text
changes, you can use the delta enablement option.
Procedure
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Extracting Organizational Data in Multiple Steps [page 331]
Downloading CSV Files from the Application Server [page 332]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Extraction of Inactive Organizational Objects [page 340]
Here's an overview of the steps involved when you want to transfer data from SAP S∕4HANA to a custom entity in
Employee Central.
Prerequisites
You have created a custom generic object in Employee Central. You can do this in the Admin Center by choosing the
Congure Object Denitions tool. When you create your entity, make sure to set the API Visibility option to Editable.
Procedure
1. Import the metadata for your custom entity from Employee Central into the SAP S∕4HANA system.
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Extracting Organizational Data in Multiple Steps [page 331]
Downloading CSV Files from the Application Server [page 332]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Extraction of Inactive Organizational Objects [page 340]
For migrating a large number of organizational data to Employee Central you can use the Job Scheduler report.
This report will automatically divide the load into smaller batches and schedule multiple background jobs, which
can be executed in parallel.
Prerequisites
You should have already congured the settings for running the organizational data extraction report.
Context
When you execute the report, it will automatically divide the load into smaller batches and schedule multiple
background jobs for each batch. The scheduler report performs the jobs in batches. When you run it initially, the
program extracts all organizational data for the selected objects that you have dened using the transformation
template group specied on the selection screen of the program. This report reduces the execution time of the
complete migration process for a large number of organizational data.
The extraction process updates the change pointers (if available) of the successfully migrated PERNR's, and marks
the change pointers as processed.
1. Go to the Organizational Objects Data Migration (ECPAO_JOB_SCHED_OM) transaction to run the Organizational
Objects Data Migration (ECPAO_OM_OBJ_DMT_JOB_SCHEDULER) program.
The program extracts organizational data from the SAP S∕4HANA system based on your selection criteria.
2. Specify for which objects the data is to be extracted. To do so, either specify the object type or the object IDs.
3. Specify the number of objects that need to be replicated per job and the number of jobs that has to be
performed in parallel. At any given time, the scheduler job will perform the number of jobs mentioned in the
Max no. of jobs eld in parallel when a single or multiple jobs are completed.
Note
The maximum number of Objects Per Job is 100 and the Max No. of Jobs is 50. The default Max No. of
Jobs is 10. If the number of objects per job and the maximum number of jobs exceeds the limit, you would
receive a warning message
4. Select the transformation template group to be used for the data extraction. Transformation template groups
are dened in the VC_ECPAO_MAP_OM view cluster.
5. Select the variant ID that you have created before in the Dene the Variant IDs for Data Migration customizing
activity (view V_ECPAO_VARIANT). Once you have created the variant ID, you should have assigned the
required transformation templates to the variant ID using the Dene the Transformation Templates for a Variant
ID customizing activity (view V_ECPAO_TEMP_VAR).
Note
This is not a mandatory eld. You can choose the Variant ID if you want to perform the extraction in multiple
steps. For more information, see: Extracting Organizational Data in Multiple Steps [page 331].
For example, a transformation template group consists of the 5 transformation templates (ERP1, ERP2, ERP3,
ERP4, and ERP5). In these templates if you want to choose only ERP1, ERP3, and ERP5, you can create a
variant ID for these transformation templates. And when you choose this variant ID for migration process, only
these transformation templates (ERP1, ERP3, and ERP5) would be considered.
6. Specify how you would like to transfer the data:
• By Web Services, using the middleware that is available for the Employee data migration from SAP
S∕4HANA to Employee Central. You can only use this option if the transformation template group you
specify uses the Web Service Transfer communication channel.
• Using an application server.
Note
You can specify an addition to the le name to prevent existing les from being overwritten by new
les by entering a le identier. If you don't enter a le identier, the same le name is used for each
download so that existing les are overwritten.
7. Select the Detailed Message Log checkbox if you want to get a detailed log containing all messages.
The download log le shows all the success, error, and warning messages. It will also include the number of les
that were downloaded and from where the le is downloaded from.
Please note that the les might contain personal and sensitive data. Additional authorization is performed to
check if the user has the right to download the CSV le. Only specic authorized users should be allowed
The below authorizations are required to be able to download the CSV les:
Authorizations
Authorization Object Authorization Field Authorization Value
ECPAO_OM_OBJECT_EXTRACTION
S_TABU_NAM ACTVT 02
8. Select the Failed Objects Only checkbox if you want to re run the replication for only those objects for which the
replication status has failed. The number of jobs created will be based on the number of failed organizational
objects.
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Extracting Organizational Data in Multiple Steps [page 331]
Downloading CSV Files from the Application Server [page 332]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Extraction of Inactive Organizational Objects [page 340]
You can monitor the Organizational migration status using the Job Scheduler Report.
You can check the intermediate status of the current set of completed and running jobs using the SM37
transaction. You can check the output using the SM37 transaction by entering “*” in the job name and user name
eld. You can enter the user name who will be executing the operation.
Since organizational migration has been executed in multiple batches, the ongoing migration status analysis
is possible based on the already completed jobs. Once a single job is completed, the migration status
Note
After executing the report when you view the jobs using the SM37 transaction, do not cancel the jobs, which are
in process. This denotes the migration of the employees belonging to that job is still in process.
ERP system might have delimited organization objects which does not exist until the end of time (31.12.9999). In
this case when you replicate the data to Employee Central system has to send an inactive record since the last
active date to 31.12.9999.
For example you have a position in ERP system which is present from 01.01.2010 to 31.12.2015. Then the replication
process generates an additional job code record from 01.01.2016 to 31.12.9999 with status as “I” indicating inactive
status. This is done in order to ensure that in EC, the organization object is inactive in that duration. To generate the
additional inactive record at the end, the values of all elds from the last active period are copied over.
However based on the congurations in EC, some eld values will no longer be valid during the inactive period.
For example the parent position does not exist in EC during the inactive period of the child position.
In this case, you need to clear the value of parent position eld in the inactive period using the BAdI
EX_ECPAO_ERP_EMP_DATA_MODIFY. To clear or modify the values of such elds, you can implement the
EX_ECPAO_ERP_EMP_DATA_MODIFY BAdI. In the IMG structure open SAP Customizing Implementation Guide
Personnel Management Integration with SuccessFactors Employee Central Business Integration Builder
Related Information
Sequence of Data Extraction and Import Steps for Dierent Object Types [page 321]
Extracting Organizational Data [page 324]
Extracting Organizational Data in Multiple Steps [page 331]
Downloading CSV Files from the Application Server [page 332]
Extracting Changed Organizational Data Using Delta Replication [page 334]
Replicating Organizational Data to Custom Entities in Employee Central [page 336]
Parallelization of Organizational Data Extraction Via Job Scheduler Report [page 337]
Parent topic: Replicating Organizational Data from SAP S∕4HANA to Employee Central [page 270]
Related Information
For Which Organizational Data-Related Employee Central Entities Can I Use Data Replication? [page 271]
Communication Channels for Organizational Data Replication [page 272]
Steps in the SAP S∕4HANA System [page 275]
Data Replication and Mapping Information [page 346]
You can use Business Add-Ins (BAdIs) to adapt the data replication from SAP S∕4HANA to Employee Central to
your specic requirements.
Procedure
Caution
Filtering of the employee data for extraction should be done only for country.
2. If you have selected the BAdI Mapping mapping mode Customizing activity, you must implement the Mapping
of EC and ERP Data for Data Replication to EC (EX_ECPAO_EMP_DATA_EXTRACT_OUT) BAdI.
Your BAdI implementation must provide the mapping for all elds for which you have selected this mapping
mode. Using this BAdI, you read the relevant SAP S∕4HANA data based on any condition or calculation you
dene and map it to an Employee Central eld ID.
3. Optional: If you want to overwrite the data that is extracted from the SAP S∕4HANA system, implement the
Change of Mapping Result for Data Replication to EC (EX_ECPAO_ERP_EMP_DATA_MODIFY) BAdI.
How to support the SAP S∕4HANA concept of chief positions when integrating Employee Central and SAP
S∕4HANA.
The chief position relationship used by SAP S∕4HANA is the Manages... / Is managed by... (012) relationship
between the manager position (object type S) and the organizational unit (object type O). All employees assigned
to the organizational unit are assigned the holder of this position as manager. This chief position concept, however,
isn’t used in Employee Central. The concept used by Employee Central corresponds to the Reports (line) to / Is line
supervisor of (002) relationship between the manager and the employee position in SAP S∕4HANA. That's why you
need to make some adjustments if you want to use the chief position concept in Employee Central integration.
Note
The Reports (line) to / Is line supervisor of (002) relationship is transferred with the replication of employee
organizational assignments to the SAP S∕4HANA system. Disable the replication of this relationship if you want
to use the Manages... / Is managed by... (012) relationship instead. There are dierent ways to do this:
Adding and Downloading Chief Position Custom Field in Employee Central [page 343]
Add a chief position custom eld to the object denition in Employee Central and download the metadata
of the changed object denition.
Conguring Chief Position for Data Migration from SAP S∕4HANA to Employee Central [page 344]
Congure the use of chief positions when migrating data from SAP S∕4HANA to Employee Central.
Add a chief position custom eld to the object denition in Employee Central and download the metadata of the
changed object denition.
Context
Procedure
Next Steps
Congure chief position in SAP S∕4HANA for data replication from Employee Central.
Congure the use of chief positions when migrating data from SAP S∕4HANA to Employee Central.
Prerequisites
You've added a custom eld for chief position in Employee Central and downloaded the corresponding object
denition.
Context
Procedure
1. Map the elds you need for data migration to Employee Central in SAP S∕4HANA.
a. Go to Customizing for the Business Integration Builder and choose Data Migration and Replication to
Employee Central Organizational Data Field Mapping for Organizational Data Replication to Employee
Central Dene Transformation Template Group for Organizational Data .
b. Create a transformation template group for the Employee Central instance that you use and select the Web
Service Transfer communication channel for it. Don't ll in the other elds.
You can choose any name and description for your template group. Let's call it CHIEF_POS_TO_EC in this
example.
c. Go to Dene Field Mapping for Organizational Data.
d. Create a transformation template within your template group.
You can choose any name and description for your transformation template. Let's call it ERP_DEPARTMENT
in this example.
g. Select Primary Mapping and map the chief position custom eld and the department name.
The Department object that you created in SAP S∕4HANA is now available in Employee Central and has a Chief
Position eld.
Next Steps
Check the replication result in Employee Central. Go to Admin Center and choose the Manage Data tool. In the rst
Search eld, choose Department, in the second Search eld, choose the department you created in SAP S∕4HANA
and transferred to Employee Central. Your department is shown. Check whether the Chief Position eld is lled with
the position you assigned to your department in SAP S∕4HANA, using the B012 relationship
Parent topic: Replicating Organizational Data from SAP S∕4HANA to Employee Central [page 270]
Related Information
For Which Organizational Data-Related Employee Central Entities Can I Use Data Replication? [page 271]
Communication Channels for Organizational Data Replication [page 272]
Steps in the SAP S∕4HANA System [page 275]
Extensibility of the Integration [page 341]
Standard elds aren't available for conguration in Customizing, independent of which communication channel you
use.
A default mapping is dened for these elds, which you can't change.
Standard mappings aren't available for conguration in Customizing, independent of which communication
channel you use. They are automatically added to the mappings you dene.
Start Date Start Date (BEGDA) eld of the Object (1000) infotype
Start Date Start Date (BEGDA) eld of the Object (1000) infotype
Start Date Start Date (BEGDA) eld of the Object (1000) infotype
End Date End Date (ENDDA) eld of the Object (1000) infotype
Start Date Start Date (BEGDA) eld of the Object (1000) infotype
End Date End Date (ENDDA) eld of the Object (1000) infotype
Start Date Start Date (BEGDA) eld of the Object (1000) infotype
Some sample transformation template groups are dened for the Employee Central company SBS_MODEL in the
delivered sample Customizing. These transformation template groups provide some mappings of SAP S∕4HANA
elds and Employee Central eld IDs.
• SBS_OM_MODEL_CSV
This is an example for organizational data replication using the CSV File-Based Transfer communication
channel.
• SBS_OM_MODEL_WS
This is an example for the replication of organizational data using the Web Service Transfer communication
channel.
You can copy the delivered sample Customizing and use it as an example for your own eld mappings.
Note
We also provide sample content, which contains congurable standard eld mappings, in the Dene Field
Mapping for Organizational Data Customizing step. When you dene a eld mapping there, you can easily copy
these standard eld mappings using a pushbutton and then adapt them if necessary.
This section describes in detail which steps need to be carried out when you want to replicate foundation objects
data from SAP S∕4HANA to Employee Central.
There are two types be which you can replicate the foundation obects: BIB based and BAdI implementation based.
You can migrate foundation objects as per your requirement by conguring the transformation template group,
transformation template, and developing the BAdI implementations.
This process involves extracting data of foundation objects from S/4 HANA system and migrating it to
SAPSAP SuccessFactors Employee Central (EC) using the program ECPAO_FO_OBJ_EXTRACTION. It replicates
the foundation objects data by making use of transformation template group congurations dened using the view
cluster VC_ECPAO_MAP_FO.
SAP has delivered a standard set of foundation objects (Pay Component, Pay Component Group, & Company)
together with Sample Content and Example BAdI Implementation. In addition to that, you can also migrate
additional foundation objects as per your requirement by conguring the transformation template group and
transformation template and developing the BAdI implementations.
Please ensure that below preparatory steps are completed before proceeding with the replication of foundation
data:
This program is developed to select the foundation objects and trigger the upsert to Employee Central system
based on the objects selected in the selection screen. It replicates the foundation objects data by making use of the
Primary Mappings that are dened for an EC Entity. It supports the following mapping modes:
• Table Mapping – This could be chosen when we have conguration T-table eld that acts as a direct data
source for the mapped eld. This currently supports the whitelisted set of T-tables that are listed in the
database table ECPAO_TABLE_LIST. Other conguration tables that are not part of this table are currently not
supported and are not allowed to be chosen for table mapping.
• BAdI Mapping for Integration/Migration to EC - This could be chosen when we do not have a direct data source
that could be used for mapping and instead must rely on the BAdI implementation to fetch the details for
the mapped eld. You must implement the BAdI EX_ECPAO_FO_MAP_DATA for mapping the corresponding
Employee Central eld of the corresponding foundation object.
You could also specify Value Mapping Entity to map SAP SAP SuccessFactors Employee Central eld values to
values of ERP elds.
This program can be either executed in test run or production run mode and it displays the results via Application
Logs with statistics for each run, listing how many objects were processed successfully and how many with failures.
You can use the Analyse Inventory of migrated Foundation Object Data (ECPAO_FO_INVENTORY_ALV) program to
check the replication status per foundation object.
Read about the standard set of foundation objects that is delivered by SAP.
SAP has delivered a standard set of foundation objects: Pay Component, Pay Component Group, and Legal Entity.
Legal Entity
EC Field EC Field Description ERP Table ERP Field BAdI Mapping
Pay Component
EC Field EC Field Description ERP Table ERP Field BAdI Mapping
In addition to the above sample content, 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.
In the next sections we'll go step by step through all activities you need to carry out in the SAP S∕4HANA system to
make data replication work.
To dene customer-specic settings, you use the Customizing activities and Business Add-Ins (BAdIs) in the
integration of SAP S∕4HANA and SAP SuccessFactors Employee Central (ECS4HCM) add-on.
In your SAP S∕4HANA system, go to the Customizing: Execute Project (SPRO) transaction and choose SAP
Reference IMG. In the SAP Customizing Implementation Guide structure, open Personnel Management
Integration with SuccessFactors Employee Central Business Integration Builder :
In the Customizing structure, you can nd detailed information for each Customizing activity and BAdI:
The next sections describe the steps you need to carry out in the SAP S∕4HANA system.
You import the metadata from SAP SuccessFactors Employee Central to make Employee Central elds available in
the SAP S∕4HANA system so that you can use them for eld mappings.
Context
To import metadata, use Import of Metadata from Employee Central Using XML File
(ECPAO_ECTMPL_METADATA_WRITER).
This program is available in the Import Metadata for Web Service-Based Data Transfer from Employee Central
Customizing activity.
Using this program, you can import entries as well as delete entries you have imported for a specic SAP
SuccessFactors instance and template.
Note
You can't delete metadata in the SAP S∕4HANA system that you have already used for eld mappings.
Otherwise your mappings become invalid. You are shown an error message if you try to delete metadata that is
used for eld mappings.
Procedure
1. Download the metadata that you want import from Employee Central.
a. Go to the Admin Center and choose the OData API Data Dictionary tool.
Note
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact
your implementation partner or Account Executive. For any non-implementation tasks, contact Product
Support.
Note
When a new eld is added in Employee Central, you will have to re-import the metadata report and re-run
the report once again.
2. On the selection screen of the program, specify which metadata you want to import to SAP S∕4HANA and from
which le you want to upload it:
Note
If you don't specify a specic Employee Central entity, the metadata is imported for all Employee Central
entities that are available and use the Web Service Transfer communication channel.
3. Optional: Carry out a test run of the program to check the data that will be uploaded to SAP S∕4HANA.
4. Clear the Test Run checkbox and execute the program to upload the data from the Employee Central metadata
le into the EC Entity Field Mapping (ECPAO_FLD) table.
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for
a transport request, to which the imported metadata will be assigned. Using this request you can transport the
entries to the productive system or client.
Note
The standard elds are also uploaded into the EC Entity Field Mapping table. In this table, the Is Standard
Field (IS_FLD_STANDARD) ag is set for these elds. Since a standard mapping is dened for them, they
are not available in the Customizing of the transformation template groups.
Tip
For details about which information about the Employee Central elds exactly is imported by the
program, see the program documentation in your SAP S∕4HANA system. You'll nd a link to the program
documentation in the documentation of the Import Metadata for Web Service-Based Data Transfer from
Employee Central Customizing step.
Transport Imported Metadata and Check Metadata for File-Based Data Transfer
Note
Don't make any changes to the metadata in this Customizing view. Use the metadata import program to
update the entries in this view.
Caution
If the Employee Central eld has Picklist ag is set for an imported Employee Central eld, you might need
to assign a value mapping entity when you dene a eld mapping for this Employee Central eld. Otherwise
the data extraction program might fail.
7. You can also store entries from this view on a transport request, for example, to transport them from your SAP
S∕4HANA test system to your productive system. To do so, choose Table View Transport .
Congure the replication of texts (such as names or descriptions of organizational objects) between SAP S∕4HANA
and Employee Central.
To enable replication of texts (name, descriptions etc) related elds, you need to select the Lang. Mapping indicator
and map the eld to the corresponding text table in the Primary Mapping view of the VC_ECPAO_MAP_FO view
cluster. The Lang. Mapping Indicator is enabled only for language dependent text elds. These could be Name and
Description related text elds. The SAP S∕4HANA Language that is maintained for the default locale mapped to
Employee Central is used for fetching the values.
Make the settings required to enable transfer of texts (such as names or descriptions of foundation objects)
between SAP S∕4HANA and Employee Central.
Prerequisites
You can only transfer texts for an Employee Central locale if the corresponding language pack was enabled in
Provisioning for Employee Central.
Remember
As a customer, you don't have access to Provisioning. To complete tasks in Provisioning, contact your
implementation partner or Account Executive. For any non-implementation tasks, contact Product Support.
To enable replication of texts in language maintained againt the default Employee Central, you rst map language-
independent text elds in the primary mapping with Lang. Mapping indicator.
Procedure
1. In Customizing for Personnel Management, choose Integration with SuccessFactors Employee Central
Business Integration Builder Data Migration and Replication to Employee Central Foundation Object Data
Map Languages from Employee Central and ERP to map Employee Central locales to SAP S∕4HANA
languages. Here's what you need to do there:
a. Dene a mapping for the default locale you use in Employee Central.
Example
en_US EN
Note
If you don't dene at a language mapping for the default locale, user’s logon language is used, and
language-dependent data can be transferred.
2. Go to Dene Locale Settings for Employee Central Instance in the same Customizing structure to specify which
of the mapped locales is your default Employee Central locale.
Example
The eld help in the Employee Central instance view shows the locales you've mapped in the rst step:
• en_US
Results
Data transfer between Employee Central and SAP S∕4HANA uses the language mapped against default EC Locale
for getting the values. If not maintained, then user’s logon language is used to fetch the value.
Make additional settings for the Employee Central instance you've dened before in the Dene Organizational Data
Settings for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_OM).
Procedure
To enable transfer of text elds (such as names or descriptions) between SAP S∕4HANA and Employee Central,
you need to map this default locale to an SAP S∕4HANA language such as EN.
An Employee Central entity represents an entity from Employee Central, such as a CSV data import template or a
generic object (also known as MDF entity). You only need to dene custom Employee Central entities if you want to
transfer data from SAP S∕4HANA to an Employee Central entity for which SAP hasn't provided a default template.
In the Dene Additional Employee Central Entities for Foundation Objects Customizing activity (view
V_ECPAO_ECTMPL_F) you can also see the default templates dened by SAP. If the default templates suit your
requirements, there's no need to dene any custom templates.
To dene custom Employee Central entities carry out the steps described below for each entity that you add.
Procedure
To nd out about the name for generic objects, go to the Admin Center and choose the OData API Data
Dictionary tool.
c. Select the communication channel Web Service Transfer).
d. Enter the key eld.
2. Dene the Validation Table details.
a. Enter the validation table details and click Maintain Table and Fields.
To enable the data extraction programs to extract the right SAP S∕4HANA information for the right Employee
Central elds, you need to map SAP S∕4HANA elds to Employee Central elds.
To map elds, you go to the Dene Field Mapping for Foundation Objects Customizing step, which has the
VC_ECPAO_MAP_FO view cluster assigned. The conguration in this view cluster is done in several steps:
1. You create at least one transformation template group. A template group bundles all eld mappings that
you want to use when running the data extraction program. This is the entity that you specify on the
program selection screen. From the transformation template group the data extraction program determines all
information it needs to extract data from SAP S∕4HANA elds and map it to Employee Central eld IDs.
2. You create at least one transformation template for your transformation template group. A transformation
template groups information from the SAP S∕4HANA system that belongs together logically. It is the SAP
S∕4HANA counterpart of the Employee Central entity.
3. You dene a primary mapping for each of your transformation templates. This means you choose Employee
Central eld IDs from the Employee Central entity assigned to the transformation template, and you map
suitable SAP S∕4HANA elds to these Employee Central eld IDs.
A template group bundles all eld mappings that you want to use when transferring data from SAP S∕4HANA to
Employee Central.
Context
To dene template groups, you go to the Dene Transformation Template Group for Foundation Objects Customizing
step, which has the V_ECPAO_TTG_FO view cluster assigned.
Procedure
EC Instance is a read only eld when you are editing or copying the transformation template group. You will
be able to modify or choose the EC Instance only when you are creating a new transformation template
group.
The transformation template is the counterpart of the Employee Central entity. You can map elds from the
transformation template to elds from the assigned Employee Central entity.
Context
To dene a set of transformation templates for each transformation template group, you go to the Transformation
Templates view of the VC_ECPAO_MAP_FO view cluster.
Procedure
You can choose Employee Central elds from the Employee Central data model that you've uploaded to the SAP
S∕4HANA system, and you map suitable SAP S∕4HANA elds to these Employee Central eld IDs.
Context
To dene a eld mapping for each transformation template, you go to the Primary Mapping view of the
VC_ECPAO_MAP_FO view cluster.
Note
There are predened standard mappings, which are automatically added to the templates you use and aren't
available for conguration in this Customizing activity.
Procedure
1. Choose an Employee Central eld from the assigned Employee Central template.
Note
• For Mapping mode as Table Mapping, the system allows to choose only a set of whitelisted tables.
Tip
The system table ECPAO_TABLE_LIST contains the currently supported conguration tables.
• While creating a foundation object entity, a primary table is assigned along with one key eld which
identies the foundation object.
2. Map each Employee Central eld to an SAP S∕4HANA eld using a suitable mapping mode:
• When you select the mapping mode Table Mapping, you can map an Employee Central xxxxx.
• When you select the mapping mode BAdI Mapping for Integration/Migration to EC, you can
use an implementation of the Mapping of EC and ERP Data for Data Replication to EC
(EX_ECPAO_EMP_DATA_EXTRACT_OUT) BAdI to dene the eld mapping.
3. If the value from the SAP S∕4HANA eld needs to be converted into an Employee Central value, enter the value
mapping entity that you have dened in the Dene Value Mapping Entities Customizing step.
Note
You can dene the value mappings for this entity directly from here by choosing Dene Value Mapping
Entries.
We provide sample content for dierent use cases in the Dene Field Mapping for Foundation Objects Customizing
step, which you can copy and adapt to your needs.
Context
You can copy the sample content for the required foundation objects according to your need.
Procedure
1. Create a transformation template group and select the sample content that you want to use for it.
2. In your transformation template group, create transformation templates for all entities you want to use and
assign the corresponding Employee Central entities. You can create the transformation templates by using the
Copy Sample Content button at the each transformation template level.
You can use the Copy Sample Content button to copy the transformation templates and the corresponding
Primary Mapping congurations for the relevant Employee Central entities. To see the entries copied to the
Primary Mapping view, you need to click the Save button to save and view all the congurations. Which eld
mappings are copied depends on the sample content you have selected for the transformation template group.
Which eld mappings are copied depends on the sample content you have selected for the transformation
template group.
3. If needed, adapt the copied sample content to suit your requirements. You can, for example, delete mappings
you don't need, change the mapped eld, or add new mappings.
Once you have made custom entries in the Primary Mapping view (either by copying and adapting the
sample content or by making your custom entries from scratch), you can no longer copy the sample
content. If you have dened custom mappings and decide that you want to use the mappings provided by
the sample content instead, delete the transformation template and create a new template.
If you have already dened eld mappings in the previous releases, you can continue to use them without
any changes. However, if you want to replace your custom mappings with mappings provided with the
sample content, create new transformation templates for all entities for which you want to use the sample
mapping. Then continue as described above. Remove your existing transformation templates for the same
entities from the transformation template group or clear the Is Active checkbox for them so that the new
transformation templates are used instead.
Value mapping means that Employee Central eld values are mapped to values of SAP S∕4HANA elds.
The data extraction programs use the value mappings when extracting data. They replace the SAP S∕4HANA keys
by the corresponding Employee Central keys if a value mapping is dened for the corresponding eld mapping.
Value mappings are assigned to eld mappings in the Primary Mapping view of the eld mapping view cluster. Field
mappings are grouped together in a transformation template group. You enter the transformation template group
on the selection screen to tell the extraction program which eld mappings and which value mappings it is to use.
There are standard value mappings provided by SAP. Standard value mappings are provided for values that can't be
congured in the SAP S∕4HANA system and in Employee Central and therefore always stay the same.
Example
Language codes can't be congured. The Employee Central language code English always corresponds to the
language code EN in the SAP S∕4HANA system. Therefore, a standard value mapping is provided for language
codes.
However, if you want to map values that can be congured in the SAP S∕4HANA system and in Employee Central,
you need to dene custom value mappings.
Note
After copying the new value mapping entries, don’t save the entries immediately, but press the page down
button to see all the entries. You must click the page down button until you see the last set of entries. Once you
see the last set of entries, you can save all the newly created entries.
A value mapping entity combines a set of value mappings for a specic purpose.
Context
You dene value mapping entities in the Dene Value Mapping Entities Customizing step (view
V_ECPAO_VALUENTY). The easiest way to create value mapping entities is to copy the sample entities by choosing
the Copy Sample Value Mapping pushbutton. You can also create country specic value mapping entries and create
a new value mapping entity using the Create Value Mapping Entity and Dene Ctry. Spec. Value Mapping Entries
pushbuttons from the primary mapping details screen.
Tip
If you want to check rst which sample value mapping entities are available, choose the Show Sample Value
Mapping pushbutton.
You'll get a list of all standard entities provided for the integration, which you can adjust to your needs.
1. To create a value mapping entity from scratch, enter a name and description. If you want to use a standard
entity, you need to keep its name, but you can adjust the description.
2. Specify how the values are to be mapped. If you want to use a standard entity, we recommend that you use the
suggested mapping types.
• Picklist mapping using the Picklist - External Code eld from the picklist
Use this type if the picklist value you want to map is an External Code. This is the case for most of the
picklists.
3. To make available picklist values you've imported to the SAP S∕4HANA system from Employee Central in the
value mapping details, assign a picklist to the value mapping entity.
This enables you to choose the imported picklist values in the Employee Central Key eld when you actually
map the values. If you don't assign a picklist, you can still enter keys in the Employee Central Key eld, but you
can't choose from the imported picklist values.
4. To make available input help values from an infotype eld in the value mapping details, specify the SAP
S∕4HANA value help.
This is a combination of the technical name of the infotype table (such as PA0002) and the technical name of
the infotype eld (such as GESCH), connected with a hyphen (as in PA0002-GESCH). This means that you can
choose the input help values from the Gender Key (GESCH) eld of the Personal Data (0002) infotype in the
ERP Key eld when you actually map the values. It does not mean that you can only use the value mapping
entity for the GESCH eld. If you want to use a sample entity, we recommend that you use the suggested SAP
S∕4HANA value helps.
SAP S∕4HANA Value Help Assigned to Value Mapping Entity
The value mapping details actually map SAP S∕4HANA values to the corresponding Employee Central values.
Procedure
If the value mapping entity has a picklist ID and a SAP S∕4HANA value help assigned, you can select suitable
picklist values in the EC Key eld and corresponding input help values in the ERP Key eld.
You can also enter the wildcard * in the ERP Key eld. If only the wildcard is dened in the value mapping
details, any SAP S∕4HANA value will be mapped to the Employee Central key for the eld that uses this value
mapping entity. If the wildcard is dened in addition to specic SAP S∕4HANA keys, the system rst checks for
the specic keys. If an Employee Central key is mapped to a specic SAP S∕4HANA key, this mapping is used.
For all other SAP S∕4HANA values, the Employee Central key mapped to the wildcard is used.
Results
The data extraction programs can now use the value mappings. When extracting data, they will replace the SAP
S∕4HANA keys by the assigned Employee Central keys if a value mapping is dened for the corresponding eld
mapping. If no value mapping is available, they won't map any values for the specic eld and use the values from
SAP S∕4HANA as they are.
Standard elds aren't available for conguration in Customizing, independent of which communication channel you
use.
A default mapping is dened for these elds, which you can't change.
FOCompany startDate
FOPayComponent startDate
FOPayComponentGroup startDate
This section describes in detail which steps need to be carried out when you want to replicate foundation objects
from the SAP S∕4HANA system to Employee Central.
Context
You can now replicate the foundation objects to Employee Central. SAP has delivered a standard set of foundation
objects (Pay Component, Pay Component Group, & Company). In addition to that, you can also migrate additional
Foundation Objects as per your requirement. You need to run the ECPAO_FO_OBJ_EXTRACTION report for
replicating the foundation object to Employee Central. You could choose the foundation objects either based on
country grouping or objects specied in the screen.
Procedure
1. Go to the Foundation Object Data Extraction (ECPAO_FO_EXTR) transaction to run the Foundation Object Data
Extraction (ECPAO_FO_OBJECT_EXTRACTION) program.
The program extracts foundation object data from the SAP S∕4HANA system based on your selection criteria.
Note
• You can carry out a test run of the program rst to check if the data can be extracted from SAP
S∕4HANA without errors.
• If you carry out a productive run, the program extracts the data.
Type of Message
External Code Returned by Up-
Employee Employee of Foundation Sequence Num- sert of Founda-
Central Instance Central Entity Object ber tion Object Message Text
Tip
Use the Status of foundation object with EC entity BIB (ECPAO_FO_INVENTORY_ALV) program to check
these tables.
You can extract foundation objects data from S/4 HANA system and migrating it to SAP SuccessFactors Employee
Central (EC) using the program ECPAO_TRANSFER_FO_OBJ_TO_EC.
This program is developed to select the foundation objects and trigger the Upsert to Employee Central system
based on the objects selected in the selection screen. It migrates the foundation data by making use of
enhancement spot ES_ECPAO_EMP_DATA_EXTRACT_OUT and the BAdI implementations created based on the
business requirements.
You can use this BAdI to read the data from the S/4 HANA database tables and map it with the Employee Central
elds for the foundation objects. SAP has delivered active BAdI implementations for the following foundation
objects delivered in the standard set - Pay Component, Pay Component Group, & Company. You can nd
the list of standard foundation objects delivered by SAP for migrating data to Employee Central in the view
V_ECPAO_FO_UPS. However, any changes to the elds of these standard foundation objects which are to be
considered for extraction would mean changes to these BAdI implementations.
You can dene any additional foundation objects for migrating data to Employee Central that are not delivered
as part of the standard set using the view V_ECPAO_FO_UPS. After dening the new foundation object, you must
implement the BAdI EX_ECPAO_MAP_FOBJ_TRANS_TO_EC for mapping the corresponding Employee Central eld
of the corresponding foundation object. Once you activate the BAdI implementation, you need to run this program
for migrating that foundation object to Employee Central.
You can specify if you want to carry out a test run or production run. If you run this program in a test system or
client and haven't selected the Test Run checkbox, the program asks for a transport request.
In Test Run you can either choose Logs or List View, which enables you to view the results via Application Logs
or ALV display respectively. Additionally, you can also download the results consisting of foundation objects and
related attributes into a CSV le through list view mode. This will allow you to see the data that is being mapped and
exported. Additionally, it displays the total number of successful and erroneous records that were processed in the
current run.
You can use the Analyse Status of Foundation Object Replication (ECPAO_INVENTORY_FOR_FND_OBJ) program to
check the replication status per Foundation Object.
Here's how you can migrate other standard Foundation Objects from the SAP S∕4HANA system to Employee
Central than the SAP delivered list of four standard foundation objects (Work Schedule, Pay Component, Pay
Component Group, & Company).
Context
To migrate the foundation objects: PayComponet, PayComponent Group, and Company, use the Transfer
Foundation Objects from ERP to Employee Central (ECPAO_TRANS_FO_OBJ) transaction in your SAP S∕4HANA
system. This transaction calls the ECPAO_TRANSFER_FO_OBJ_TO_EC program. You can use the BAdI: Mapping
Foundation Objects data for Data Migration to EC BAdI to read data from the ERP database tables or pass
a constant value to map with the EC elds for the foundation objects (PayComponent, PayComponentGroup,
or Company). You can access the customizing activity at Personnel Management Integration with
SuccessFactors Employee Central Business Integration Builder Data Migration and Replication to Employee
Central Business Add-Ins BAdI: Mapping Foundation Objects data for Data Migration to EC . The BAdI BADI
EX_ECPAO_MAP_FOBJ_TRANS_TO_EC is called by the ECPAO_TRANSFER_FO_OBJ_TO_EC program, based on the
foundation object that you choose. SAP has delivered default active BAdI implementations for these three standard
Foundation Objects which can be used.
Procedure
1. Specify the Employee Central instance. Once you specify the EC instance, based on that the locale language
will be picked up otherwise system log on language will be considered.
2. Choose the foundation object for which you want to migrate the data. You can choose either Pay Component,
Pay Component Group, or Company.
3. Choose the country grouping for which you want to transfer the foundation object type.
4. Choose the required Foundation Object eld.
5. Choose the Transport Request in which you have made the changes or created entries for the foundation
objects. You can either choose Transport Request option or Foundation Object selection from screen option.
6. Choose the Earliest Transfer Date from which you want to migrate the Foundation Objects to Employee Central.
7. Dene whether the program is to carry out a test run rst.
You can carry out a test run of the program to output the result to SAP List Viewer, without triggering the actual
transfer to Employee Central. SAP List Viewer shows the data in a tree view. You can check what would be
transferred (and what wouldn’t). If you clear the Test Mode checkbox, the program triggers the actual upsert
to Employee Central using the default logical port dened for data replication from SAP S∕4HANA to Employee
Central. The result screen shows statistical information such as how many wage types or wage type groups or
company were upserted, had errors, or were skipped.
In Test Run you can either choose Logs or List View, which enables you to view the results via Application Logs
or ALV display respectively. Additionally you can also download the results consisting of Foundation Objects
Note
The option to choose between Logs and List View is only applicable in Test Run and is disabled in
Production run.
Here's the details of the default mappings delivered in the active BAdI implementation from SAP
Pay Component
number If payComponentType
is Number then these
elds (elds 8, 9, 10)
are to be lled
Rate
currency WAERS
Recurring 0/1 1
isEndDatedPayment 0/1 1
endDate 31/12/9999
showOnCompUI 0/1 1
useForComparatioCalc 0/1 0
Currency WAERS
useForRangePenetra- 0/1 0
tion
sortOrder 0/1
Note
This is not a man-
datory eld
Note
This is not a man-
datory eld
Note
This is not a man-
datory eld
In case you need a dierent mapping logic for any of the elds or need to include an additional eld, then you can
disable the default active BAdI implementation and create your own custom BAdI implementation.
You might also want to migrate additional Foundation Objects (FO) other than the standard list delivered by SAP.
Context
SAP delivers a list of four standard foundation objects (Work Schedule, Pay Component, Pay Component Group,
& Company). You can use the V_ECPAO_FO_UPS view to add your own foundation objects. Once you add
the new foundation object, you have to implement the EX_ECPAO_MAP_FOBJ_TRANS_TO_EC BAdI to map the
corresponding Employee Central eld of the corresponding foundation object. You also need to set the lter value
as FO object name. Once you activate the BAdI, you need to run the ECPAO_TRANSFER_FO_OBJ_TO_EC report
for migrating the foundation object to EC. And for the custom foundation objects in the report selection screen
you need to also enter the transport request. You could choose the foundation objects either based on country
grouping or objects specied in the screen.
1. Go to the V_ECPAO_FO_UPS view to add your own foundation objects and click New Entries.
2. Enter the Object type.
3. Enter the text that you want for the new foundation object that you are adding.
4. Enter the Employee Central entity name for the new foundation object.
5. Enter the table name and eld name in the Validation Table Name for FO and Validation Table Field Name for FO
eld. These are optional eld.
When these elds are lled with valid table and eld name, the selection screen of the report
ECPAO_TRANSFER_FO_OBJ_TO_EC enables the option to choose the object - foundation object by country
grouping and object id. The table name and eld name in this view is used to validate the input entered in the
selection screen of the report. In case these two elds are not lled, then only the option Transport request is
enabled.
Note
By using the navigational elds data, you can now send the data to SAP SuccessFactors Employee Central.
The report also allows you to send the navigational properties. With this you no more need to use the text
elds for entering the names of the linked objects.
Here's how to check the migration status for Foundation Objects (FO) you transferred from the SAP S∕4HANA
system to Employee Central. You can check the status for the foundation objects like: Work Schedule Rules, Pay
Component, Pay Component Group, Company and also for any additional custom Foundation Objects.
Prerequisites
You have run the Transfer Work Schedule Rules from ERP to Employee Central (ECTIM_TRANSFER_WSR_TO_EC)
program or Transfer Foundation Objects from ERP to Employee Central) ECPAO_TRANS_FO_OBJ) program in your
SAP S∕4HANA system.
Context
To check the migration status, use the Analyze Status of Foundation Object Replication (ECPAO_INVT_FO)
transaction. This transaction calls the ECPAO_INVENTORY_FOR_FND_OBJ program. This program analyzes the
status of the last run of the Transfer Work Schedule Rules from ERP to Employee Central and Transfer Foundation
These tables are updated for each replication run. They don't contain a replication history.
Procedure
You can also use wildcards, for example, NORM* to select specic objects. If you don't specify any external
codes, the status of all objects is analyzed that were contained in the last migration run.
4. Select the migration status you want to check.
By default, the program shows objects whose status is Failed. You can also select Successful.
5. To restrict the output to a specic time frame you're interested in, select the Select Data Based on Time Range
checkbox and enter a From and To date and time. The date and time provided correspond to the system time
zone.
This is useful, for example, when you know that errors occurred on a specic day and want to analyze the
status only for this day.
Results
In the result, you'll rst see some statistical information such as how many objects were upserted successfully or
had errors.
Below the statistical information is the list of objects contained in the last replication run (as specied in your
selection criteria), together with the replication status and the time stamp of when they were replicated. The
timestamp displayed correspond to the system time zone. For each object, all messages are listed that were raised
by the last migration run. These could be messages issued for the object itself (such as the work schedule rule or
other foundation objects) as well as messages issued for related objects (such as work schedule day models).
Take a look at how to prepare your SAP S∕4HANA system for data migration to Employee Central.
The cutover date denes when you will start using Employee Central as the system of record for the data
contained in the migration scope. Before the cutover date, SAP S∕4HANA is the system of record. By default,
active employment details are used when you migrate the data to SAP S∕4HANA system.
For replicating data to SAP S∕4HANA, infotype split is not a prerequisite. An employee is ltered out based on the
employment status during the migration of the employee master data.
Active Considered
Retired Employee was active during initial load Considered (default position is not trans-
but now changed to retired state after ferred, but the last valid position would
initial load. be transferred to Employee Central)
Withdrawn Employee was active during initial load Considered (default position is not trans-
and changed to withdrawn state after ini- ferred, but the last valid position would
tial load. be transferred to Employee Central)
Caution
Organizational data with time constraint 3 (which means that any number of valid infotype records can exist at
any one time) is not supported by the Employee Central metadata. Therefore, you can't migrate organizational
data with time constraint 3 from SAP S∕4HANA to Employee Central.
Employee data with time constraint 3 can only be migrated to Employee Central entities that also support
overlapping data records. For more information see How Time Constraint 3 Mapping Works in the Replicating
Employee Data from SAP S/4HANA to Employee Central integration guide. Find the most current version of
this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
When data from SAP S∕4HANA to Employee Central, make sure to follow this sequence.
Prerequisites
Make sure that the Parent eld is not a required eld for positions and departments in the Employee Central
metadata.
Make sure that the Multiple Use checkbox is selected for the Employee Central entities that you use for
organizational data so that you can assign one Employee Central entity to several transformation templates. For
more information see the Replicating Employee Data from SAP S∕4HANA to Employee Central integration guide.
Find the most current version of this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
Within the transformation template group that you use for organizational data extraction, create two
transformation templates for each organizational object type, one that maps the corresponding Parent eld and
one that doesn't. Assign the same Employee Central entity to both transformation templates.
Example
Let's say, you create the transformation templates DEPARTMENT_WO_PARENT and DEPARTMENT_W_PARENT for
mapping organizational unit elds from SAP S∕4HANA to department elds in Employee Central. You assign the
Employee Central entity DEPARTMENTImportTemplate to both of the transformation templates and map the
elds as shown below.
DEPARTMENT_WO_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
DEPARTMENT_W_PARENT
Employee Central
Field Mapping Mode Infotype Subtype SAP S∕4HANA Field
Procedure
Example
b. Extract the data for your organizational units using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. On the selection screen of the program, specify the
transformation template group that you use for organizational data extraction. The Organizational Data
Extraction program uses the transformation template that doesn't map the Parent eld since you've set the
Is Active checkbox for this transformation template. The other transformation template, which maps the
Parent eld, isn't used since this is not active.
c. Import the extracted data into Employee Central. Departments are created without any parent
associations.
2. Replicate jobs (which correspond to job classications in Employee Central) without their relationships. To do
so, carry out the same steps as for organizational units, but use the transformation templates that map job
elds from SAP S∕4HANA to job classication elds in Employee Central.
3. Replicate positions without their relationships. To do so, carry out the same steps as for organizational
units, but use the transformation templates that map position elds from SAP S∕4HANA to position elds in
Employee Central.
4. Replicate employee data.
There's also a recommended sequence for importing the employee data entities into Employee Central. For
more information about importing the employee data entities, see the Replicating Employee Data from SAP
S∕4HANA to Employee Central integration guide. Find the most current version of this guide in SAP Help Portal
at http://help.sap.com/hr_ecintegration.
5. Replicate the organizational unit relationships. To do so:
a. In the transformation template group that you use for organizational data extraction, select the Is
Active checkbox for the transformation template that you use for mapping organizational unit elds to
department elds and that maps the Parent eld. Deselect this checkbox for the other transformation
template that you use for mapping organizational units (the one that doesn't contain the Parent eld).
b. Extract the data for your organizational units using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. On the selection screen of the program, specify the
transformation template group that you use for organizational data extraction. The Organizational Data
Extraction program uses the transformation template that maps the Parent eld since you've set the Is
Active checkbox for this transformation template. The other transformation template, which doesn't map
the Parent eld, isn't used since this is not active.
c. Import the extracted data into Employee Central. Now the parent-child associations are created for the
departments you have replicated in the rst step.
6. Replicate the job relationships. To do so, carry out the same steps as for organizational unit relationships,
but use the transformation templates that map job elds from SAP S∕4HANA to job classication elds in
Employee Central.
7. Replicate the position relationships. To do so, carry out the same steps as for organizational unit relationships,
but use the transformation templates that map position elds from SAP S∕4HANA to position elds in
Employee Central.
Learn how to upload CSV les containing organizational data to Employee Central.
Prerequisites
You have extracted the data from the SAP S∕4HANA system into CSV les using the Organizational Data Extraction
(ECPAO_OM_OBJECT_EXTRACTION) program. For more information about the data extraction program, see the
Replicating Employee Data from SAP S∕4HANA to Employee Central integration guide. Find the most current version
of this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
Context
Make sure that you follow the sequence described in section Sequence of Data Extraction and Import Steps for
Dierent Object Types.
Procedure
Here's how to upload CSV les containing employee master data to Employee Central.
Prerequisites
You have extracted the data from the SAP S∕4HANA system into CSV les using the Employee Data Extraction
(ECPAO_EMPL_EXTRACTION) program. For more information about the data extraction program, refer to
Replicating Employee Data from SAP S/4HANA to Employee Central.
Context
Make sure that you follow the sequence we recommend for data extraction and import and that you upload the
CSV les for the dierent employee data entities in the recommended order. For more information, refer to For
Which Employee Data-Related Employee Central Entities Can I Use Data Replication? in Replicating Employee Data
from SAP S/4HANA to Employee Central, where you can nd a sequence number for each employee data entity.
Procedure
1. Go to the Admin Center and choose the Import Employee Data tool.
2. Select the corresponding entity and the Full Purge option.
3. Choose Import.
You can also perform a bulk upload using the zip option. To import zip les, select the Composite (Zip) Data
Upload option.
Here's how you can migrate work schedules from the SAP S∕4HANA system to Employee Central.
Prerequisites
You have set up work schedule rules in your SAP S∕4HANA system.
You have to make sure that the Upsert Data from SAP ERP or SAP S4HANA to SAP SuccessFactors Employee
Central Using the OData API integration ow from the SAP ERP or SAP S/4HANA Integration with SAP
SuccessFactors Employee Central: Employee and Organizational Data integration package is set up when you use
SAP Cloud Integration as the middleware.
For more information about how to set up the middleware, see the corresponding version of the Replicating
Employee Data from SAP ERP HCM to Employee Central or the Replicating Employee Data from SAP S/4HANA
Context
To migrate work schedule rules, use the Transfer Work Schedule Rules from ERP to Employee
Central (ECTIM_TRANSFER_WSR) transaction in your SAP S∕4HANA system. This transaction calls the
ECTIM_TRANSFER_WSR_TO_EC program. You can use this program, for example, to make available work schedules
from SAP S∕4HANA in Job Information of employees whose master data is maintained in Employee Central and
replicated to SAP S∕4HANA because you use SAP S∕4HANA as the Time Management system.
Note
What's called Work Schedule in Employee Central is the same as Work Schedule Rule in the SAP S∕4HANA
system.
The program transfers information from the following Customizing tables in the SAP S∕4HANA system to Employee
Central:
Procedure
The Employee Central instance denes which language versions the program is to transfer when creating
the external names of the WorkSchedule and WorkScheduleDayModel objects in Employee Central. In the
SAP S∕4HANA system, the descriptions to be transferred are stored in the Text Table for Work Schedule
Rules (T508S) and Daily Work Schedule Texts (T550S) tables. The program transfers all languages that are
mapped for the Employee Central instance in Customizing for Personnel Management, under Integration
with SuccessFactors Employee Central Business Integration Builder Organizational Data Integration Map
Languages from Employee Central and ERP . If the Text Table for Work Schedule Rules (T508S) and Daily Work
Schedule Texts (T550S) tables don't contain any entries for the work schedule rules to be transferred, the
program transfers the external code of the work schedule rule to the External Name eld – but only for the
default Employee Central language. For the other languages, no external name is transferred in this case.
2. Select the work schedule rules to be transferred, using one of the following options:
• Specify various selection criteria, such as the rule’s employee subgroup grouping or the public holiday
calendar assigned to the rule.
• Select a transport request. For example, a request that you've used to transport your work schedule rules
from your test system to your productive system.
• Select all work schedule rules that are currently stored with the status Failed in the Inventory of Replicated
Foundation Objects (ECPAO_FO_INVT) table and are assigned to the Employee Central instance you
entered above.
3. Dene how the program is to deal with day work schedule variants.
Some work schedule rules use daily work schedules that have multiple day variants assigned. Employee
Central cannot handle such variants. That’s why you need to decide how the program is to handle such work
schedule rules:
• You can transfer all work schedule rules, ignoring day variants. That is, use the default variant also for those
work schedule rules that have a specic day variant assigned (meaning, for which the Daily Work Schedule
Variant (VARIA) eld in the Daily Work Schedule (T550A) table is not empty).
• You can omit work schedule rules that use multiple daily work schedule variants.
4. Dene how the program is to deal with paid work breaks.
Some work schedule rules use daily work schedules that have paid work breaks assigned. Employee Central
cannot handle paid breaks. That’s why you need to decide how the program is to handle such work schedule
rules:
• You can transfer only unpaid work breaks when creating the WorkScheduleDayModelSegment objects in
Employee Central for the work schedule rules.
• You can completely omit work schedule rules that use daily work schedules with breaks that have paid
periods (meaning, for which the Paid Break Period (PDBEZ) eld in the Break Schedules (T550P) table has
an entry other than 0).
5. Select the time recording variant.
Note
This option is available from the SP31 package. The Cross midnight work schedules (schedules where
the working time starts on one day and ends the next day) are now supported in SAP SuccessFactors
Employee Central. This option will then use clock time for all work schedules and supports sending the
cross-midnight work schedules to EC.
• Use the option Transfer Day Work Schedule's Flextime as 'Flextime Bandwidth' segment so that the eld
Planned working time in the Flextime are mapped to the Flextime Bandwidth category and the Normal
working time in the Flextime are mapped to the Scheduled working time.
Note
You can carry out a test run of the program to output the result to SAP List Viewer, without triggering the actual
transfer to Employee Central. SAP List Viewer shows the data in a tree view. You can check what would be
transferred (and what wouldn’t). If you clear the Test Mode checkbox, the program triggers the actual upsert
to Employee Central using the default logical port dened for data replication from SAP S∕4HANA to Employee
Central. The result screen shows statistical information such as how many work schedule rules were upserted,
had errors, or were skipped.
If you clear the Test Mode checkbox, the program creates corresponding objects in Employee Central and updates
the following tables in SAP S∕4HANA:
These tables are updated for each replication run. They don't contain a replication history. Use the Analyze Status
of Foundation Object Replication (ECPAO_INVT_FO) transaction, which evaluates these tables, to check the result
of the program run.
Next Steps
If you replicate employee master data from Employee Central to the SAP S∕4HANA system and want to map the
Planned Working Time (0007) infotype, set up a conversion rule to transfer only the rst eight characters of the
external key from Employee Central to the Work Schedule Rule (SCHKZ) eld in SAP S∕4HANA.
You can migrate an employee having global assignment in SAP S∕4HANA system.
In SAP S∕4HANA, you should store information about an employee's global assignment in the following infotypes:
• To determine which is the host and which is the home assignment, you should use the Details on Global
Assignment (0710) infotype. This infotype is mandatory to be maintained for the infoporter tool to identify the
global assignment employment type. Else the HR process is identied incorrectly.
• To determine which personnel number is used to send biographical and personal information to Employee
Central, you should use the Main Personnel Assignment (0712) infotype with the SuccessFactors (SFSF)
subtype.
Note
If the planned end date in the 0710 Infotype is greater than the actual termination date, then the system
will consider the termination date of an employee from the Infotype 0000 – Actions. But if the planned end
date in the 0710 Infotype is less than the actual termination date, then the system will consider only the
Infotype 0710 – Planned End Date, as this is a data issue. Hence you will have to extend the end date of the
employee in Infotype 0710.
The data from both the host and the home assignments is migrated to Employee Central. In Employee Central, the
employee's biographical and personal information is taken from the personnel number that you have marked as the
main personnel assignment in SAP S∕4HANA.
If you've dened a cuto date for data replication, this can aect the start date of the global assignment: If
the cuto date is later than the actual start date of the global assignment, the cuto date is used. If the cuto
date is between the start date and the end date of the host assignment, the Job Information record for the
host assignment is transferred to Employee Central using the PSEUDO_ADDGA event reason for the Add Global
Assignment event.
If there are more than two multiple contracts for an employee (starting after the earliest transfer date)
involving two PERNR's, then this scenario is not supported. This can include the scenario involving global
assignment. For example: There is a global assignment from PERNR 1 to PERNR 2 (which is terminated when
the assignment period ends) then there is an international transfer to the second country from PERNR 1 to
PERNR 2 (which is rehired). In this case if the global assignment happens before the earliest transfer date, then
this would be ignored and only the international transfer from country 1 to country 2 will be considered.
• When there is a global assignment from PERNR 1 to PERNR 2, the personal information (infotype 0002), Global
information (0002 or its secondary infotypes), and address details (infotype 0006) from both the PERNR's
are replicated based on the earliest transfer date. In this case, you have to maintain infotype 0712 (main
personnel assignment) for the 2nd PERNR and maintain the home PERNR as the leading PERNR during the
global assignment period. Based on this, the host address will be created in EC with address type host for the
host PERNR along with the home address, which is mapped with the home PERNR.
Note
From Employee Central, you will have to make sure that the host address type is available in the Employee
Central picklist.
• For global assignment user, if the permanent residence address is maintained for both the assignments (home
& host), then the home PERNR would hold the home address type and host PERNR would hold the host
address type in the Employee Central system.
Note
Emp_users_sys_id eld should be added into perAddress enitity with the congurations: Enabled = True,
Visibility = view & allow import = Yes in the Employee Central system. This eld has to be included in the
view cluster (VC_ECPAO_MAP) eld mapping for address entity.
• Email address and phone number of an employee would be extracted from the employee who is active. If both
the PERNR's are active then system will migrate the host PERNR's email address and phone number.
If there is no data available for the host PERNR, then the system will get the information from the other PERNR
mapped with the same person. For global assignment, system will try to send the host PERNR's email address
and phone number based on the infotype 0712.
• Biographical information of an employee is always extrated from the home PERNR only irrespective of the
employment status.
• For National ID information portlet, system will extract both the assignment data.
Note
If you have not maintained the infotype 0712 (main personnel assignment), then the host address type for
the host PERNR would not be created. Instead home sub-type is created for both home and host PERNR.
Similarly for biographical, email address, and phone number of an employee will be extracted only from the
home PERNR even if it is inactive.
When global assignment conguration object is enabled in Employee Central to create global assignment
events like Away on Global Assignment and Back from Global Assignment, following points to be considered:
• Equivalent custom actions for the above events have to be explicitly created for the pernrs in the ERP
system.
• Additional value mapping for the events have to be done : Eg: custom Action for Away on Global
Assignment has to be mapped to event AGA(Away on global Assignment) on EC.
If the above actions are not performed, then whenever there is a change from ERP sent to home assignment
or when the replication from ERP is triggered again, the automatic events created in Employee Central will be
deleted as the upsert is a full purge.
Find out why web service-based data migration might be preferable to using the CSV-based approach.
• In the web service-based data replication mode, less manual eort is required while replicating the data into
Employee Central. In contrast, the CSV-based data replication mode is a two-step process, where the les have
to be rst downloaded and then imported manually into the Employee Central.
• Change pointers or delta transfer is possible in web service-based data transfer.
• You can set up a continuous migration of employee data. During the initial data migration from SAP S∕4HANA
system to Employee Central, you can simulate the replication from Employee Central to SAP S∕4HANA. During
the simulation, you can check for any errors and resolve the errors before you replicate the actual data to
Employee Central. Further migration will happen only for the delta when the initial migration was completed.
Only for the delta, you can run the replication from Employee Central to SAP S∕4HANA, during which you can
check for any errors and resolve the errors before the actual replication.
• In the web service-based data replication you can schedule the job in background for mass replication of
employees, which requires less manual eort. This makes the scheduling of the replication job easier. In
contrast, in the CSV-based data replication mode, to schedule the background job, you need to choose the
Application Server option, where all the CSV les will be downloaded to a pre-dened location in the Application
Server.
• The complete metadata of all the web service entities can be imported together from Employee Central to SAP
S∕4HANA in a single execution of the metadata import program. The ODate Metadata XML le in Employee
Central contains the complete metadata details including all attributes, such as is mandatory, data type, and
so on. In contrast, in the CSV-based data replication mode, you need to import the metadata of all the entities
individually. The Employee Central eld level attributes are not available in the CSV metadata les.
You can migrate the pay calendar data to Employee Central. You will have to rst export the pay calendar data
information from SAP ERP and then import the data to Employee Central.
Before you migrate Pay Calendar to Employee Central, you need to export the payroll calendar dates to a csv le.
Context
You can do this by running the Export Payroll Calendar Dates (PAOCF_EC_PAY_CALENDAR_INFO) report.
Procedure
1. Go to transaction SE38.
2. Enter program: PAOCF_EC_PAY_CALENDAR_INFO.
3. On the Selection Criteria screen:
• Choose EC Instance from the F4 help for the EC Instance ID with which the value mapping entity is
associated.
• Choose Value Mapping Entity that should be used for fetching the EC paygroup code values for the given
ERP payroll areas.
Note
Value mapping entity should be of type Generic Object Key. If no value mapping entity name is
specied, then payroll area mappings are not considered.
Note
• If you select the Use Local Drive Path option, you must specify where the CSV le is to be stored.
Pay Calendar report supports downloading the pay calendar information into a CSV le either to application
server or local drive. The download log le shows all the success, error, and warning messages. It will also
include the number of les that were downloaded and from where the le is downloaded from.
Please note that the les might contain sensitive data. Additional authorization is performed to check if
the user has the right to download the CSV le. Only specic authorized users should be allowed for this
operation. The downloads that are triggered by a user to the application server or local server are logged
via table ECPAO_OBJ_DWNLD along with the timestamp details.
Further, it is your responsibility for the retention and deletion of these les from the application server or
local machine.
The below authorizations are required to be able to download the CSV les:
PAOCF_EC_PAY_CALENDAR_INFO
S_TABU_NAM ACTVT 02
6. Execute the report to export the Pay Calendar information into a csv le.
Results
The dates are exported to a csv le and will look similar to this.
Context
Procedure
1. Go to Admin Center. In the Tools search eld, enter Import and Export Data.
2. Choose Import Data.
You can check and validate the pay calendar in Admin Center under Manage Data.
You can now migrate the foundation objects to Employee Central. SAP has delivered a standard set of foundation
objects. In addition to that, you can also create new foundation objects as per your requirement.
Here's how you can migrate work schedules from the SAP S∕4HANA system to Employee Central.
Prerequisites
You have set up work schedule rules in your SAP S∕4HANA system.
Context
To migrate work schedule rules, use the Transfer Work Schedule Rules from ERP to Employee
Central (ECTIM_TRANSFER_WSR) transaction in your SAP S∕4HANA system. This transaction calls the
ECTIM_TRANSFER_WSR_TO_EC program. You can use this program, for example, to make available work schedules
from SAP S∕4HANA in Job Information of employees whose master data is maintained in Employee Central and
replicated to SAP S∕4HANA because you use SAP S∕4HANA as the Time Management system.
Note
What's called Work Schedule in Employee Central is the same as Work Schedule Rule in the SAP S∕4HANA
system.
The program transfers information from the following Customizing tables in the SAP S∕4HANA system to Employee
Central:
The program uses the generic OData upsert middleware process to transfer the data to Employee Central. Make
the following settings on the selection screen of the program:
Procedure
The Employee Central instance denes which language versions the program is to transfer when creating
the external names of the WorkSchedule and WorkScheduleDayModel objects in Employee Central. In the
SAP S∕4HANA system, the descriptions to be transferred are stored in the Text Table for Work Schedule
Rules (T508S) and Daily Work Schedule Texts (T550S) tables. The program transfers all languages that are
mapped for the Employee Central instance in Customizing for Personnel Management, under Integration
with SuccessFactors Employee Central Business Integration Builder Organizational Data Integration Map
Languages from Employee Central and ERP . If the Text Table for Work Schedule Rules (T508S) and Daily Work
Schedule Texts (T550S) tables don't contain any entries for the work schedule rules to be transferred, the
program transfers the external code of the work schedule rule to the External Name eld – but only for the
default Employee Central language. For the other languages, no external name is transferred in this case.
2. Select the work schedule rules to be transferred, using one of the following options:
• Specify various selection criteria, such as the rule’s employee subgroup grouping or the public holiday
calendar assigned to the rule.
• Select a transport request. For example, a request that you've used to transport your work schedule rules
from your test system to your productive system.
Some work schedule rules use daily work schedules that have multiple day variants assigned. Employee
Central cannot handle such variants. That’s why you need to decide how the program is to handle such work
schedule rules:
• You can transfer all work schedule rules, ignoring day variants. That is, use the default variant also for those
work schedule rules that have a specic day variant assigned (meaning, for which the Daily Work Schedule
Variant (VARIA) eld in the Daily Work Schedule (T550A) table is not empty).
• You can omit work schedule rules that use multiple daily work schedule variants.
4. Dene how the program is to deal with paid work breaks.
Some work schedule rules use daily work schedules that have paid work breaks assigned. Employee Central
cannot handle paid breaks. That’s why you need to decide how the program is to handle such work schedule
rules:
• You can transfer only unpaid work breaks when creating the WorkScheduleDayModelSegment objects in
Employee Central for the work schedule rules.
• You can completely omit work schedule rules that use daily work schedules with breaks that have paid
periods (meaning, for which the Paid Break Period (PDBEZ) eld in the Break Schedules (T550P) table has
an entry other than 0).
5. Select the time recording variant.
The time recording variant of a work schedule rule (duration or clock time) needs to be the same as for all
work schedule day models assigned to the work schedule. Following options are available for choosing the time
recording variant:
• Use time recording variant Duration for all work schedules and work schedule day models.
• Use time recording variant Clock Time for all work schedules and work schedule day models, but omit work
schedules that have cross-midnight shifts.
• Use time recording variant Clock Time for all work schedules and work schedule day models, but use
Duration for work schedules that have cross-midnight shifts.
• Use time recording variant Clock Time for all work schedules.
Note
This option is available from the SP31 package. The Cross midnight work schedules (schedules where
the working time starts on one day and ends the next day) are now supported in SAP SuccessFactors
Employee Central. This option will then use clock time for all work schedules and supports sending the
cross-midnight work schedules to EC.
• Use the option Transfer Day Work Schedule's Flextime as 'Flextime Bandwidth' segment so that the eld
Planned working time in the Flextime are mapped to the Flextime Bandwidth category and the Normal
working time in the Flextime are mapped to the Scheduled working time.
Note
You can carry out a test run of the program to output the result to SAP List Viewer, without triggering the actual
transfer to Employee Central. SAP List Viewer shows the data in a tree view. You can check what would be
transferred (and what wouldn’t). If you clear the Test Mode checkbox, the program triggers the actual upsert
to Employee Central using the default logical port dened for data replication from SAP S∕4HANA to Employee
Central. The result screen shows statistical information such as how many work schedule rules were upserted,
had errors, or were skipped.
Results
If you clear the Test Mode checkbox, the program creates corresponding objects in Employee Central and updates
the following tables in SAP S∕4HANA:
These tables are updated for each replication run. They don't contain a replication history. Use the Analyze Status
of Foundation Object Replication (ECPAO_INVT_FO) transaction, which evaluates these tables, to check the result
of the program run.
Next Steps
If you replicate employee master data from Employee Central to the SAP S∕4HANA system and want to map the
Planned Working Time (0007) infotype, set up a conversion rule to transfer only the rst eight characters of the
external key from Employee Central to the Work Schedule Rule (SCHKZ) eld in SAP S∕4HANA.
Note
If the OData upsert of the work schedule itself or of any of its child objects fails, the program sets the status
Failed for this work schedule in the Inventory of Replicated Foundation Objects (ECPAO_FO_INVT) table. It skips
WorkSchedule
If a work schedule rule is transferred which already exists in Employee Central and is used in an employee's Job
Information, the upsert fails. You will be shown the following error message in this case:
Change of work schedule not possible due to job information references
If you transfer a work schedule rule using a day model that already exists and is used in Employee Central (because
it was already replicated with another work schedule rule), you are shown the following information message:
Change of work schedule day model not possible due to job information references
Don't worry – in this case the new work schedule rule is created correctly in Employee Central, using the day model
that was replicated before.
WorkScheduleDayModelAssignment
The program associates the WorkScheduleDayModel objects to the corresponding WorkSchedule objects using the
WorkScheduleDayModelAssignment objects.
WorkScheduleDayModel
To change an existing day model in Employee Central, a new data record is required. That's why you need to go
through the following steps if you want to transfer a changed day model from SAP S∕4HANA to Employee Central:
1. Edit the day model in SAP S∕4HANA, using a specic start date.
This will result in a new day model object being created in Employee Central because the time stamp is
included in the external code.
2. Create a new record for the work schedule rule in SAP S∕4HANA, using the same start date as for the new day
model record.
This will result in a new work schedule rule object being created in Employee Central because the time stamp is
included in the external code.
Example
Let's say on October 1, 2017 you migrate a work schedule rule with a work schedule day model from SAP
S∕4HANA to Employee Central. The data records in SAP S∕4HANA have the start date January 1, 1990. That is,
the objects created in Employee Central get the following external codes:
But since the PDAYxxxxxxxxx19900101 work schedule is used in Employee Central, the error message
Change of work schedule not possible due to job information references would be raised and the upsert would
fail.
That's why you also need to edit the work schedule rule in SAP S∕4HANA, using the start date January 1, 2018.
Because then the following objects are created in Employee Central:
Note
Planned working hours dene the duration of an employee's working time. If planned working hours of a day
model in ERP is 0, then no work schedule day model is created in Employee Central. The Work Schedule Day
Model Assignment is sent with category OFF denoting non-working day.
WorkScheduleDayModelSegment
For the Clock Time time recording variant, the program also creates WorkScheduleDayModelSegment objects and
links them to their parent WorkScheduleDayModel objects.
When creating work schedule objects in Employee Central, the Transfer Work Schedule Rules from ERP to Employee
Central program generates suitable external codes.
Work Schedule
When creating the WorkSchedule object, the Transfer Work Schedule Rules from ERP to Employee Central program
populates the externalCode eld with a key that is concatenated from the values of the following elds of the Work
Schedule Rules (T508A) table in the SAP S∕4HANA system:
Let’s say, this information is stored in the Work Schedule Rules table:
Then the external key of the corresponding WorkSchedule object would be: PDAY 1US1020180101
The rst part, which represents the actual key of the work schedule rule, needs to be eight characters long.
That's why the program adds blanks if needed. In our example, it adds four blanks because the actual key
(PDAY) is only four characters long.
Note
Employee Central issues a warning message about the code being longer than ten characters. You can ignore
this warning.
You can use BAdI denition EX_ECTIM_WSR_DATA_MODIFY to modify the external code from the ERP system
for the work schedule rule. You use this BAdI to provide the external code in the required format during the
work schedule migration to Employee Central elds. You can access the customizing activity at Personnel
Management Integration with SuccessFactors Employee Central Business Integration Builder Data Migration
and Replication to Employee Central Business Add-Ins BAdI: Mapping of External Code during the Work
Schedule Migration .
When creating the WorkScheduleDayModel object, the program populates the externalCode eld with a key that is
concatenated from the values of the following elds of the Daily Work Schedule (T550A) table in the SAP S∕4HANA
system:
Note
The sequential number is not considered. The program always uses 01 here.
Note
The start date is only added if you have implemented SAP Note 2586803 in addition to support package
21 of the PA_SE_IN 100 software component version..
Example
Let’s say, this information is stored in the Daily Work Schedule table:
Then the external key of the corresponding WorkScheduleDayModel object would be: 01NORM0120180101C
You might want to migrate employee master data from other systems, such as non-HCM or third-party systems, as
well as from SAP S∕4HANA system to Employee Central.
During migration, you want to consider using employee master data from third-party systems to migrate the data
to Employee Central. You can do either of the following:
• You can either consider migrating some entities from the third-party system and the remaining entities from
the SAP S∕4HANA system. You can migrate the relevant Employee Central entity data from third-party system
using CSV les. And you can run the migration for the remaining entities using the data migration tool. The
employee identier elds in Employee Central, user-id and person-id-external, have to be same in both the data
migration tool and in the CSV le-based migration from the third-party system. Meaning, the third-party CSV
les should be imported to Employee Central with the same user-id and person-id-external.
Note
The time segments of related entities that appear in the same block in Employee Central, such as
compensation and recurring pay components, personal info and global info, payment info details and
county specic payment info details, need to be in sync to enable successful imports into Employee
Central. That's why we recommend that you use the third-party migration via CSV le-based imports either
for all related entities belonging to the same blocks in Employee Central or for none of them.
Example
The compensation entity has this data record: January 1, 2012 to December 31, 9999. The recurring
pay components entity has this data record: January 1, 2014 to December 31, 9999. If you import
compensation information using the data migration tool and recurring information from a third-party
system, you need to manually synchronize the time segments accordingly.
• You can populate some elds of an Employee Central entity from a third-party system and the remaining elds
of the same entity from SAP S∕4HANA system. In this scenario, you can store the data of the elds from the
Once you've nished data migration from the SAP S∕4HANA system to Employee Central, you can start replicating
employee master data from Employee Central to SAP S∕4HANA.
• The employee key mapping table should be lled before you start replicating data from Employee Central to
SAP S∕4HANA.
For more information, see the Replicating Employee Data from SAP S∕4HANA to Employee Central integration
guide. Find the most current version of this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
• Set an appropriate full transmission start date (FTSD), in the properties of the process that replicates
employee master data from Employee Central to SAP S∕4HANA. For more information refer to section Setting
up the Middleware in the Replicating Employee Master Data from Employee Central to SAP S∕4HANA integration
guide. Find the most current version of this guide in SAP Help Portal at http://help.sap.com/hr_ecintegration.
The FTSD is the earliest extraction date. Data in Employee Central that has a last modied date that is before
FTSD isn't replicated to the SAP S∕4HANA system. This way, the FTSD helps you to control the volume of data
that is to be transferred from Employee Central to SAP S∕4HANA.
You must not choose a FTSD that is before the cutover date for your migration project. You can set any FTSD
that is after the cutover date and suits your specic business requirements.
• After the cutover date for data migration, Employee Central creates a new employee using an event reason with
the Hire event. If you replicate this employee's data back to SAP S∕4HANA, the SAP S∕4HANA system tries
to initiate a new Hiring personnel action since the Hire event from Employee Central is mapped to the Hiring
action in SAP S∕4HANA. But the employee already exists in SAP S∕4HANA, so a Hiring action was already
carried out for him or her. A second Hiring action cannot be triggered, therefore the employee data replication
from Employee Central to SAP S∕4HANA shows an error for this employee.
To prevent this kind of error, you can create a new event reason such as Cutover. Assign the Hire event to this
event reason. Also specify the SAP S∕4HANA action to be carried out in the Payroll Event eld of the event
reason.
At cutover date, you can add this event reason to the employees who were earlier hired in the SAP S∕4HANA
system. This has the following eects:
• The Job History record of the employee can be created without issues since the Hire event is set for the
event reason.
• The employee can be replicated without issues to the SAP S∕4HANA system since you've specied a
specic action in the Payroll Event eld, which is then used in SAP S∕4HANA instead of the Hiring action.
Example
Employee 12345 was hired in SAP S∕4HANA on January 10, 2012. The cutover date for data migration from
SAP S∕4HANA to Employee Central is July 1, 2015. So employee 12345 has a rst Job History record in
Employee Central starting with July 1, 2015. This Job History record is created using a specic Cutover
event reason. Now you replicate this employee's data from Employee Central to SAP S∕4HANA. The data
Note that if you don't specify the SAP S∕4HANA action in the Payroll Event eld of the Cutover event reason
in Employee Central, employee data replication from Employee Central to SAP S∕4HANA shows an error
because then the SAP S∕4HANA system tries to carry out the Hiring action. But the Hiring action was
already carried out on January 10, 2012 for employee 12345 and can't be carried out again.
Make some checks to validate whether data migration from the SAP S∕4HANA system to Employee Central was
successful.
In your SAP S∕4HANA system, go to the Analyze Application Log (SLG1) transaction or you can run the (SLGD)
transaction to display the data in text format and export the data into an excel le or in other formats. After
executing the transaction you can choose the required format in which you want to export the log le check the
following application logs:
• Go to the Analyze Application Log (SLG1) transaction and check the error log for the PAOC_SFI_PA object.
The new Analyze Inventory of Replicated Employee Data (ECPAO_EMPL_INVENTORY_ALV) program and
Replicated Organizational Data (ECPAO_OM_INVENTORY_ALV) is available to check the inventory tables. The
new inventory tables are updated with the replication information per Employee Central entity. The Analyze
Application Log (SLG1) transaction now shows the messages per employee/personnel number.
• Go to the Web Service Utilities (SRTUTIL) transaction.
• In the error log, check the messages for the II_PAOCF_EC_EMPLOYEE_MASTER_DA interface.
• In the message monitor, check the messages for the EmployeeMasterDataReplicationRequest_In interface.
For more information about checking data replication results refer to the Replicating Employee Master Data
from Employee Central to SAP S∕4HANA integration guide. Find the most current version of this guide in SAP
Help Portal at http://help.sap.com/hr_ecintegration.
Depending on your system conguration, the SRTUTIL transaction might not be available. If it's not, use
the Integration Engine: Monitoring (SXMB_MONI) transaction instead.
Get an overview of how to integration on-premise SAP S∕4HANA systems with SAP SuccessFactors Employee
Central using the Side-by-Side deployment option.
The Side-by-Side deployment option is for customers who want to transition their HCM system to the Cloud while
still leveraging investments into employee administration on premise. It comprises the coexistence of HR core in
the Cloud (SAP SuccessFactors Employee Central) and on premise (SAP S∕4HANA). In this scenario, Employee
Central is used as the cloud-based core HR system for a subset of employees. SAP S∕4HANA as still retained as
the core HR system for another subset of employees. Changes are being made in the system of record of the
employee's data. The core HR system landscape is inhomogeneous or distributed and needs to be consolidated to
enable centralized access, reporting, and so on.
The Side-by-Side deployment option comprises a regular web service-based replication of organizational and
employee-related data from SAP S∕4HANA to Employee Central. For more information about how to set up this
replication, see the following integration guides:
Restriction
The Side-by-Side deployment option is released under the condition that data replication from SAP S∕4HANA
systems to Employee Central is generally available for:
• Existing SAP SuccessFactors customers leveraging SAP SuccessFactors Performance & Goals, SAP
SuccessFactors Succession & Development, Employee Prole and Organization Chart as part of the
Foundational Capabilities, and the related Reporting capabilities.
• Net new SAP SuccessFactors customers who don't use any of the SAP SuccessFactors solutions yet,
but have implemented or plan to implement SAP SuccessFactors Employee Central for parts of their
organization.
Note
This guide doesn't describe the Core Hybrid deployment option. The Core Hybrid deployment option means
that Employee Central is used as the system of record holding the employee data and reporting lines of
all employees, but existing processes such as Payroll, Time Management, or custom HR processes still run
in an SAP S∕4HANA on-premise system landscape. This deployment option is generally available. For more
information see SAP Help Portal at http://help.sap.com/hr_ecintegration.
Caution
Usage of any integration software and content provided with the SAP Business Suite or SAP S∕4HANA software
and applicable to an integration between the SAP Business Suite or SAP S∕4HANA and SAP SuccessFactors
Some SAP Cloud Services are available for use with on-premise SAP S∕4HANA systems.Please contact SAP
Cloud Support for more information.
The following is an example of a typical business scenario that takes advantage of the side-by-side deployment
option: The size and complexity of your enterprise don't allow for a one-step migration of your HCM systems to the
Cloud. Therefore, you plan to deploy certain countries step-by-step in the Cloud while keeping them integrated with
your productive on-premise SAP ERP HCM installations.
• The workforce is split across Employee Central and on-premise SAP ERP HCM. Both systems are used as a
system of record depending on the employee's country assignment.
• There can be multiple ERP systems which can store the employee data based on the employee country.
• HR processes run in the respective system of record while employee data is to be kept in sync across the
distributed HCM system landscape.
• UI mash-ups within Employee Central provide access to HR data and processes that are mastered in Employee
Central as well as in on-premise SAP ERP HCM.
This section is relevant if you want to start using the employee data replication from on-premise SAP ERP HCM
systems to SAP SuccessFactors Employee Central, where you have previously used either the integration add-on
for SAP ERP HCM and SAP SuccessFactors HCM Suite provided by SAP (also known as Talent Hybrid integration)
or another integration process to replicate employee data from an on-premise SAP ERP HCM system to the
Employee Prole in the SAP SuccessFactors Talent Suite.
If you are in this situation, you need to carry out the steps described in this section for all employees whose data
was previously replicated to the SAP SuccessFactors Talent Suite. This is necessary since the Human Resource
Information System (HRIS) synchronization (the exchange of data between Employee Central and other SAP
SuccessFactors modules) runs automatically for all employees in Employee Central (independent of whether
they are mastered in Employee Central or not) and can't be switched o. Since SAP SuccessFactors Employee
Central and the SAP SuccessFactors Talent Suite handle the users-sys-id and the person-id-external in dierent
ways, you need to make sure to ll these elds correctly in order to keep the employees' and managers' talent
processes history. When you replicate employee data to Employee Central, reuse the IDs for all employees who
were previously replicated to the SAP SuccessFactors Talent Suite.
Note that Talent Hybrid integration and HRIS synchronization between Employee Central and the SAP
SuccessFactors Talent Suite provide dierent values for elds:
This is important to know if you have implemented any processes based on eld values (such as ltering in reports
or role-based permissions).
You need to set the SFSFI SBSER switch to specify that you now using the employee data replication from
Enterprise Resource Planning (ERP) to SAP SuccessFactors Employee Central instead of the so called Talent
Hybrid integration using the Switch O Talent Hybrid Integration for Employee Data (ECPAO_VV_SFSFI_SBSER)
customizing activity.
You need to make settings in this Customizing activity if you have previously used the integration add-on for ERP
and SAP SuccessFactors HCM Suite to replicate employee data from an on-premise ERP system to the Employee
Prole in the SAP SuccessFactors Talent Suite (which is also known as Talent Hybrid integration). Setting the
switch tells your ERP system that employee data is no longer replicated to the Talent Suite, but to Employee
Central, and that the Employee Data Extraction (ECPAO_EMPL_EXTRACTION) program is used for the replication.
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
This section tells you on how to update the assignment ID external eld for a user
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication
to the Other [page 424]
Here's what you need to do to reuse a users-sys-id if an employee becomes inactive and then active again.
This section tells you on how to update the assignment ID external eld for a user
Prerequisites
To include the assignment ID during the migration process, you need to enable the switch ERP to EC/EC to ERP
(BIB): Activate Assignment ID External in the view V_ECPAO_CONSTANT using the Maintain the Constant Values
customizing activity.
Context
A value would have been automatically assigned for the assignment ID external eld when the talent hybrid report
was executed based on the business rule which was congured earlier. Now you will have to update this assignment
ID external eld to the PERNR number of the employee before running the employee extraction report.
Procedure
1. Update the assignment ID external to PERNR number. Refer the Updating the Assignment ID external eld topic
in the related information section.
If the value of the switch under Switch o Talent Hybrid Integration for Employee Data is set to 'X' (Group name
SFSFI and Semantic Abbreviation SBSER in table T77S0) then you will have to assign the user ID value as what
you have used in the talent hybrid integration. If the switch is blank, then the User ID has to be set to PERNR.
3. You can alternatively also use the standard mapping for the User ID eld in the Dene Employee Data Settings
for EC company Customizing activity. And execute the ECPAO_TH_EC_MIGR_EEKMAP_UPDATE report to update
the key mapping table (ECPAO_EE_KMAP) for the PERNR which were replicated via talent hybrid integration,
which will update the User ID eld in the key mapping table.
4. Execute the employee data extraction ECPAO_EMPL_EXTRACTION report.
Task overview: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
This section tells you the steps to be performed for migrating a global assignment employee using the
employee extraction report who was previously replicated to employee prole using the talent hybrid report
RH_SFI_SYNCHRONIZE_EMPL_DATA
Prerequisites
To include the assignment ID during the migration process, you need to enable the switch ERP to EC/EC to ERP
(BIB): Activate Assignment ID External in the view V_ECPAO_CONSTANT using the Maintain the Constant Values
customizing activity. In addition, you will have to activate the T77S0 switch for group SFSFI and Sem abbr SBSER
denoting that Talent Hybrid integration was used before in the Switch O Talent Hybrid Integration for Employee
Data customizing activity.
Context
Based on if the home PERNR or the host PERNR was replicated using talent hybrid report, we have dierent steps
to be followed while using employee extraction report:
To migrate the employee to Employee Central using info-porter where the home
PERNR was previously replicated by talent hybrid report:
1. Update the assignment ID external from the existing value to the home PERNR. Refer the Updating the
Assignment ID external eld topic in the related information section.
2. Execute the ECPAO_TH_EC_MIGR_EEKMAP_UPDATE report to update the key mapping table (ECPAO_EE_KMAP)
for the home PERNR which were replicated via talent hybrid integration.
3. Change the mapping mode for the User ID mapping to standard mapping in the Dene Employee Data Settings
for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_EE) for your EC instance ID.
4. Execute the employee data extraction ECPAO_EMPL_EXTRACTION report which will migrate the data of host
PERNR along with home PERNR to Employee Central.
To migrate the employee to Employee Central using info-porter where the host
PERNR was previously replicated by talent hybrid report:
1. Update the assignment ID external from the existing value to the host PERNR. Refer the Updating the
Assignment ID external eld topic in the related information section.
2. Execute the ECPAO_TH_EC_MIGR_EEKMAP_UPDATE report to update the key mapping table (ECPAO_EE_KMAP)
for the host PERNR which got migrated during the talent hybrid integration.
3. Change the mapping mode for the User ID mapping to standard mapping in the Dene Employee Data Settings
for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_EE) for your EC instance ID.
4. Filter the home PERNR which was not replicated using the talent hybrid report. We can lter the PERNR using
the lter BAdi Validity Periods for Data Replication to EC (EX_ECPAO_EMP_VALIDITY_TAB). Since talent hybrid
has created the host PERNR on Employee prole, we cannot create the home PERNR on existing host PERNR
in Employee Central. Due to this we can only migrate host PERNR using the employee extraction report in this
case.
5. Execute the employee data extraction ECPAO_EMPL_EXTRACTION report which will migrate the data of host
PERNR to Employee Central.
Related Information
This section tells you the steps to be performed for migrating an international transfer employee using
the employee extraction report who was previously replicated to employee prole using talent hybrid report
RH_SFI_SYNCHRONIZE_EMPL_DATA.
Prerequisites
To include the assignment ID during the migration process, you need to enable the switch ERP to EC/EC to ERP
(BIB): Activate Assignment ID External in the view V_ECPAO_CONSTANT using the Maintain the Constant Values
customizing activity. In addition, you will have to activate the T77S0 switch for group SFSFI and Sem abbr SBSER
denoting that Talent Hybrid integration was used before in the Switch O Talent Hybrid Integration for Employee
Data customizing activity.
Context
While migrating an international transfer employee using the talent hybrid report, leading PERNR or the active
PERNR on the current date or the PERNR selected by the BAdi is migrated by the talent hybrid report.
To migrate the employee to Employee Central using info-porter where the employment in the second country
was previously replicated by talent hybrid report:
Procedure
1. Update the assignment ID external from the existing value to the PERNR of the employment in the second
country. Refer the Updating the Assignment ID external eld topic in the related information section.
2. Execute the ECPAO_TH_EC_MIGR_EEKMAP_UPDATE report to update the key mapping table ECPAO_EE_KMAP
for the employment in the second country which got replicated using the talent hybrid report during the talent
hybrid migration.
3. Change the mapping mode for the User ID mapping to standard mapping in the Dene Employee Data Settings
for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_EE) for your EC instance ID.
4. Filter the employment in the rst country which was not migrated using the talent hybrid report. We can lter
the PERNR using the lter BAdi Validity Periods for Data Replication to EC (EX_ECPAO_EMP_VALIDITY_TAB).
Since the talent hybrid has created an employment for second country on employee prole, we cannot create
an employment in rst country which is starting before the start date of second employment in Employee
Central using the employee extraction report.
5. Execute the employee data extraction ECPAO_EMPL_EXTRACTION report which will migrate the data of
employment in second country to Employee Central.
This section tells you the steps to be performed for migrating a concurrent employment employee using
the employee extraction report who was previously replicated to employee prole using talent hybrid report
RH_SFI_SYNCHRONIZE_EMPL_DATA.
Prerequisites
To include the assignment ID during the migration process, you need to enable the switch ERP to EC/EC to ERP
(BIB): Activate Assignment ID External in the view V_ECPAO_CONSTANT using the Maintain the Constant Values
customizing activity. In addition, you will have to activate the T77S0 switch for group SFSFI and Sem abbr SBSER
denoting that Talent Hybrid integration was used before in the Switch O Talent Hybrid Integration for Employee
Data customizing activity.
Context
While migrating a concurrent employment employee using the talent hybrid report, leading PERNR or the active
PERNR on the current date or the PERNR selected by the BAdi.
To migrate the employee to Employee Central using info-porter tool, where the
rst employment of concurrent employment was previously replicated by talent
hybrid report:
1. Update the assignment ID external from the existing value to the rst employment PERNR. Refer the Updating
the Assignment ID external eld topic in the related information section.
2. Execute the ECPAO_TH_EC_MIGR_EEKMAP_UPDATE report to update the key mapping table ECPAO_EE_KMAP
for rst employment PERNR which got migrated using the talent hybrid report.
3. Change the mapping mode for the User ID mapping to standard mapping in the Dene Employee Data Settings
for Employee Central Company Customizing activity (view V_ECPAO_CMPNY_EE) for your EC instance ID.
4. Execute the employee data extraction ECPAO_EMPL_EXTRACTION report which will migrate the data of rst
and second employment PERNR to Employee Central.
To migrate the employee to Employee Central using info-porter tool, where the
second employment of concurrent employment was previously replicated by
talent hybrid report:
1. Update the assignment ID external from the existing value to the second employment PERNR. Refer the
Updating the Assignment ID external eld topic in the related information section.
Note
If the centralized services switch is on then the migration of concurrent employment to Employee Central
would create a secondary assignment on Employee Central.
Related Information
We provide a program to update the key value mapping table (ECPAO_EE_KMAP) so that you don't need to create a
report by yourself to update the employee key mapping table manually.
Prerequisites
Before executing this program, ensure that the following steps have been performed:
• In the Employee Central instance, run the convertAssignmentIdExternal API manually to convert the
ASSIGNMENT_ID_EXTERNAL value to PERNR for Talent Hybrid employees.
• Enable the constant ERP to EC/EC to ERP (BIB): Activate Assignment ID External in the V_ECPAO_CONSTANT
view.
• Activate the T77S0 switch for group SFSFI and semantic abbreviation SBSER denoting that Talent Hybrid
integration was used before.
• Export the employees/users using the Employee Export action in the Employee Central Admin Center. Make
sure that the option Include additional identiers under Specify Export Options is selected before exporting the
employees/users.
The Update Key Value Mapping Table for Talent hybrid to EC migration program
(ECPAO_TH_EC_MIGR_EEKMAP_UPDATE) updates the employee key mapping table ECPAO_EE_KMAP with the
PERNR, USER_ID, and PERSON_ID_EXTERNAL elds of those personnel numbers that were replicated before via
Talent Hybrid integration.
Procedure
1. Go to the Update Key Value Mapping Table for Talent hybrid to EC migration (ECPAO_TH_EC_KMAP_UPD)
transaction to run the Update Key Value Mapping Table for Talent hybrid to EC migration
(ECPAO_TH_EC_MIGR_EEKMAP_UPDATE) program.
The program updates the employee key mapping table ECPAO_EE_KMAP with the PERNR, USER_ID, and
PERSON_ID_EXTERNAL elds of those personnel numbers that were replicated before via Talent Hybrid
integration.
2. On the selection screen, select the CSV le, which you have downloaded from Employee Central.
3. In the action type, choose Test Run to carry out a test run of the program to check the data that will be updated.
If you run the program in a test system or client with the Test Run checkbox deselected, the program asks for a
transport request.
To replicate the correct users-sys-id from SAP S∕4HANA to Employee Central, implement the GET_USERSYSID
method of the Mapping of User ID, Person ID, Username, and Object ID (EX_ECPAO_EMP_USYID_PRN_UNM_MAP)
Business Add-In (BAdI).
For more information about this BAdI, see the Replicating Employee Data from SAP S/4HANA to Employee Central
integration guide. Find the most current version of this guide at http://help.sap.com/hr_ecintegration.
Is the employee's current personnel number (PERNR) one of several personnel numbers that are assigned to the
same central person (CP) and are transferred to the same Job Information record in Employee Central? This is the
case if the following conditions are ullled for all personnel numbers:
• If yes: Check if any of the employee's personnel numbers was previously replicated to the SAP SuccessFactors
Talent Suite.
• If yes: Find out which user ID was used for replicating the employee's data to the SAP SuccessFactors
Talent Suite. Use the same ID as the user-sys-id when replicating the employee's data to Employee Central.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the Person ID [page 421]
Handling the Dierent Integration Scenarios [page 422]
Switching from One Replication to the Other [page 423]
Making Additional Customizing Settings [page 424]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
Handling Concurrent Employment and Global Assignment Situations [page 425]
When replicating the employee's data from SAP S∕4HANA to Employee Central, make sure to use the same
person-id-external as was previously used for replicating the employee's data to the SAP SuccessFactors Talent
Suite.
To replicate the correct person-id-external, implement the GET_PERSONID method of the Mapping of User ID,
Person ID, Username, and Object ID (EX_ECPAO_EMP_USYID_PRN_UNM_MAP) BAdI. For more information about
this BAdI, see the Employee Data Extraction (ECPAO_EMPL_EXTRACTION) program. For more information about
the data extraction program, refer to Replicating Employee Data from SAP S/4HANA to Employee Central.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Handling the Dierent Integration Scenarios [page 422]
Switching from One Replication to the Other [page 423]
Making Additional Customizing Settings [page 424]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
The steps for checking if a personnel number was previously replicated from SAP ERP HCM to the SAP
SuccessFactors Talent Suite and for nding out which user ID was used for this replication dier depending on
your integration scenario.
Scenario 1
You have installed the integration add-on 1.0 for SAP ERP HCM and SAP SuccessFactors HCM Suite, support
package 02 or higher and use the Sync Employee Data with SuccessFactors (with Delta and Inactive Logic)
(RH_SFI_SYNCHRONIZE_EMPL_DATA) program to replicate employee data to the SAP SuccessFactors Talent
Suite.
In this case, you can check the HRSFI_D_EXTR_LOG database table to nd out if a personnel number was
previously replicated to the SAP SuccessFactors Talent Suite and which user ID was used.
The person-id-external eld is lled with the same value as the users-sys-id eld.
Scenario 2
You have installed the integration add-on 1.0 for SAP ERP HCM and SAP SuccessFactors HCM Suite, support
package 00 and use the Extraction of Employee Data for SuccessFactors (RH_SFI_TRIGGER_EMPL_DATA_REPL)
program to replicate employee data to the SAP SuccessFactors Talent Suite.
In this case, the HRSFI_D_EXTR_LOG database table isn't available. The key mapping is not persisted in the
SAP ERP HCM system. Therefore we recommend to upgrade to support package 02 or higher and to use
the RH_SFI_SYNCHRONIZE_EMPL_DATA program instead of the RH_SFI_TRIGGER_EMPL_DATA_REPL program.
Otherwise you need to implement a custom logic to nd out if a personnel number was previously replicated to the
SAP SuccessFactors Talent Suite and which user ID was used.
As in scenario 1, the person-id-external eld is lled with the same value as the users-sys-id eld.
Scenario 3
You don't use the integration add-on for SAP ERP HCM and SAP SuccessFactors HCM Suite, but another
integration process to replicate employee data from an on-premise SAP ERP HCM system to the Employee Prole
in the SAP SuccessFactors Talent Suite.
In this case, you need to implement a custom logic to nd out if a personnel number was previously replicated to
the SAP SuccessFactors Talent Suite and which users-sys-id and person-id-external were used.
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Determining the Person ID [page 421]
Switching from One Replication to the Other [page 423]
Making Additional Customizing Settings [page 424]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
Handling Concurrent Employment and Global Assignment Situations [page 425]
Take a look at what's important when you actually switch from Talent Hybrid integration to integation with
Employee Central.
To keep the data consistent, we recommend that you run a nal employee data transfer to the SAP SuccessFactors
Talent Suite and ensure that no employee data that is aected by data replication is changed in the SAP ERP HCM
system before you start replicating employee data to SAP SuccessFactors Employee Central.
Once you've started using the data replication to Employee Central, the Employee Prole is fed from Employee
Central using HRIS synchronization. Therefore, make sure that you no longer replicate employee data to the
Employee Prole using the previous replication of employee data to the SAP SuccessFactors Talent Suite.
This applies if you use the rst or the second of the possible scenarios applicable to migration from Talent Hybrid
integration to integation with Employee Central.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Determining the Person ID [page 421]
Handling the Dierent Integration Scenarios [page 422]
Making Additional Customizing Settings [page 424]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
Handling Concurrent Employment and Global Assignment Situations [page 425]
If you have previously used the integration add-on for SAP S∕4HANA and SAP SuccessFactors HCM Suite, in
Customizing, set the value of the SFSFI SBSER switch to X to indicate that the employee data replication to
Employee Central is active in your system.
For more information about the Customizing settings, see the Replicating Employee Data from SAP S/4HANA
to Employee Central integration guide. Find the most current version of this guide at http://help.sap.com/
hr_ecintegration.
Setting this switch tells your system that the employee data replication programs of the integration add-on for SAP
S∕4HANA and SAP SuccessFactors HCM Suite can no longer be run.
This applies if you use the rst or the second of the possible scenarios applicable to migration from Talent Hybrid
integration to integration with Employee Central.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Determining the Person ID [page 421]
Handling the Dierent Integration Scenarios [page 422]
Switching from One Replication to the Other [page 423]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
Handling Concurrent Employment and Global Assignment Situations [page 425]
Here's what you need to do to reuse a users-sys-id if an employee becomes inactive and then active again.
The following situation might occur: An active employee is replicated from SAP S∕4HANA to the SAP
SuccessFactors Talent Suite. Then the employee becomes inactive in SAP S∕4HANA. The employee's data is
replicated to the SAP SuccessFactors Talent Suite again. The employee is set to inactive in SAP SuccessFactors.
You switch to the employee data replication to Employee Central. Then the employee becomes active again.
In this situation, the employee data replication to Employee Central does not know that the same employee
was previously replicated to the SAP SuccessFactors Talent Suite and which users-sys-id was used. So based on
employee data replication to Employee Central, the employee might get a dierent userd-sys-id than he or she had
before.
This applies to all three of the possible scenarios applicable to migration from Talent Hybrid integration to
integation with Employee Central.
Caution
In the situation described above, the entry in the HRSFI_D_EXTR_LOG database table in SAP S∕4HANA that
refers to the employee who is set to inactive is deleted. So even if you use scenario 1, you can't use the
HRSFI_D_EXTR_LOG database table to retrieve the information you need.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Determining the Person ID [page 421]
Handling the Dierent Integration Scenarios [page 422]
Switching from One Replication to the Other [page 423]
Making Additional Customizing Settings [page 424]
Handling Concurrent Employment and Global Assignment Situations [page 425]
Using the Talent Hybrid integration provided by SAP, you can only replicate the data of one of the assignments
from SAP S∕4HANA to the SAP SuccessFactors Talent Suite for employees who have global assignments or are
concurrently employed. HRIS synchronization between Employee Central and the SAP SuccessFactors Talent
Suite, however, takes both assignments into account. The data that already had been replicated using Talent
Hybrid are now been replicated using Infoporter tool. Therefore be aware of the following aspects:
If an employee's data was replicated from the on-premise SAP S∕4HANA system to the SAP SuccessFactors
Talent Suite before and the employee is concurrently employed or has a global assignment, make sure that the
Global Assignment
When using data replication from the on-premise SAP S∕4HANA system to the SAP SuccessFactors Talent Suite,
you can decide if the host or the home assignment is to be transferred for employees with a global assignment.
However, when you switch to data replication to SAP SuccessFactors Employee Central, both assignments are
transferred using dierent users-sys-ids. This means you see two Employee Proles, one for the employee's host
assignment and one for his or her home assignment. You need to decide which of the assignments you want to use
for the talent processes in SAP SuccessFactors.
Parent topic: How to Migrate from Talent Hybrid Integration to Integration with Employee Central [page 413]
Related Information
Migrating from Talent Hybrid Integration to ERP Integration when Assignment ID Field is Enabled [page 414]
Determining the User ID [page 420]
Determining the Person ID [page 421]
Handling the Dierent Integration Scenarios [page 422]
Switching from One Replication to the Other [page 423]
Making Additional Customizing Settings [page 424]
Changing the Employment Status to Inactive Before and to Active Again After Switching from One Replication to
the Other [page 424]
Find out how the HR business processes work when you use the side-by-side deployment option.
This section provides the prerequisites information that you need to set when using the HR business processes.
When using HR business processes in the side-by-side deployment option make sure that the following
prerequisites are ullled.
• You use Employee Central as a global HCM system that stores the master data of all employees, including the
employees mastered in SAP S∕4HANA.
• SAP S∕4HANA stores the master data of the employee that are mastered in SAP S∕4HANA and the employees
that are mastered in EC and then replicated to ERP to leverage the Payroll.
• You can congure the source of record eld in the employee information template/entity to store the source
ERP system name for the employee.
• The number ranges you use in SAP S∕4HANA and Employee Central don't overlap.
• To dene number ranges in Employee Central, go to the Admin Center and choose the Company System
and Logo Settings tool. On the Company System Setting page, ll in the Next Person Id Assigned eld.
• To dene number ranges in SAP S∕4HANA, go to Customizing for Personnel Management. Under
Personnel Administration Basic Settings , carry out the Maintain number range intervals for personnel
numbers and Determine defaults for number ranges Customizing activites.
• You use role-based permissions to make sure that an employee's data can only be changed in the system of
record.
• The central person from SAP S∕4HANA is mapped to the person_id_external eld in Employee Central.
• The personnel number from SAP S∕4HANA is mapped to the user_id eld in Employee Central.
If you use other mappings, make sure that a unique ID is used when you replicate an employee's data from SAP
S∕4HANA to Employee Central. For more information about the standard mappings and mapping options, see
the Replicating Employee Data from SAP ERP HCM to Employee Central integration guide. Find the most current
version of this guide at http://help.sap.com/hr_ecintegration.
Restriction
The side-by-side deployment option currently doesn't support some business processes, such as:
• Rehiring an employee in SAP S∕4HANA whose data was previously mastered in Employee Central
• Concurrently employing an employee within SAP S∕4HANA and Employee Central
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
4.3.2 Hire
You can hire new employees either in SAP S∕4HANA or in Employee Central.
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
You hire a new employee in SAP S∕4HANA and replicate the employee's master data to Employee Central.
In Employee Central, the personnel number (PERNR) is mapped to the user_id eld and the central person (CP)
is mapped to the person_id_external eld. The employee's data is stored in Employee Central according to the
eld mapping that you have dened in Customizing. For more information about the Customizing settings, see the
Replicating Employee Data from SAP ERP HCM to Employee Central integration guide. Find the most current version
of this guide at http://help.sap.com/hr_ecintegration.
Note
In SAP S∕4HANA, you can dene how the hire date is determined using the Rule for Determining Entry Date
(ENTRY) feature. The employee's hire date provided by this feature is replicated to Employee Central.
If you have stored your employees' data in SAP S∕4HANA for several years already and want to start the employee
master data replication from SAP S∕4HANA to Employee Central at a certain point in time, you can dene a cuto
date. If you use the cuto date, the Hire Date and Original Start Date elds in Employee Central are lled in dierent
ways, depending on whether the employee’s hire date is before or after the cuto date:
• If the cuto date is before the hire date in SAP S∕4HANA, the Hire Date and Original Start Date elds in
Employee Central are both lled with the SAP S∕4HANA hire date.
The employee's data is extracted starting with the hire date for all eective-dated entities, including Job Info
(Job History) and also for Non-Recurring Pay Components.
• If the cuto date is after the hire date in SAP S∕4HANA, the SAP S∕4HANA hire date is mapped to the Original
Start Date eld and the cuto date is mapped to the Hire Date eld in Employee Central.
Since this is not a usual hire in Employee Central (because the employee was already hired before the cuto
date in SAP S∕4HANA), a Hire event with the PSEUDO_HIRE event reason is carried out.
The employee's data is extracted starting with the cuto date for all eective-dated entities, including Job Info
(Job History) and also for Non-Recurring Pay Components.
• If the hire date is before the cuto date and data is changed in SAP S∕4HANA before the cuto date, the SAP
S∕4HANA hire date is mapped to the Original Start Date eld and the cuto date is mapped to the Hire Date
eld in Employee Central. The employee has only one Job Information record in Employee Central representing
the data valid at the cuto date.
Also in this case a Hire event with the PSEUDO_HIRE event reason is carried out in Employee Central.
The employee's data is extracted starting with the cuto date for all eective-dated entities, including Job Info
(Job History) and also for Non-Recurring Pay Components.
Related Information
The hire process in Employee Central works as usual. In the side-by-side deployment option described in this guide,
employees whose data is mastered in Employee Central are replicated to SAP ERP HCM.
Related Information
The business processes dier depending on where the employee's data was mastered before.
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in SAP S∕4HANA [page 432]
You rehire an employee in SAP S∕4HANA system and migrate the employee's master data to Employee
Central.
Rehiring an Employee in Employee Central Who Was Previously Mastered in Employee Central [page 434]
Rehiring an Employee in Employee Central Who Was Previously Mastered in SAP ERP HCM [page 434]
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in Employee Central [page 435]
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
You rehire an employee in SAP S∕4HANA system and migrate the employee's master data to Employee Central.
When you try to hire a person in SAP S∕4HANA, a duplicate check is carried out. If an employee with the same
name and birth date already existed before, you have to carry out a rehire action instead of the hire action. When
you rehire an employee, he or she gets the same personnel number (PERNR) as before, which is assigned to the
same central person (CP). Once the employee is rehired, you can migrate the employee's master data to Employee
Central.
If you use the cuto date, the following situations can occur:
• If the cuto date is after the rehire date, meaning, the employee was hired, terminated, and then rehired in
SAP S∕4HANA before the cuto date, the rst hire date (rst entry into the company) is mapped to the Original
Start Date eld in Employee Central. The cuto date is mapped to the Hire Date eld in Employee Central. You
can still use the date of the employee's rst entry into the company to calculate, for example, the employee's
seniority, since this date is stored in the Original Start Date eld.
The employee's data is extracted starting with the cuto date for all eective-dated entities, including Job Info
(Job History) and also for Non-Recurring Pay Components.
• When an employee is rehired after the termination date and the cuto date is between termination date and
rehire date, then job information records will be extracted from the rehire date with PSEUDO_REHIRE event
reason.
The rst hire date (rst entry into the company) is mapped to the Original Start Date eld and the Hire Date
eld of Employment Info template in Employee Central.
The employee's data is extracted starting with the rehire date for all eective-dated entities, including Job Info
(Job History) and also for Non-Recurring Pay Components.
Related Information
Rehiring an Employee in Employee Central Who Was Previously Mastered in Employee Central [page 434]
Rehiring an Employee in Employee Central Who Was Previously Mastered in SAP ERP HCM [page 434]
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in Employee Central [page 435]
The rehire process in Employee Central works as usual. In the side-by-side deployment option described in this
guide, employees whose data is mastered in Employee Central aren't replicated to SAP ERP HCM.
Related Information
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in SAP S∕4HANA [page 432]
Rehiring an Employee in Employee Central Who Was Previously Mastered in SAP ERP HCM [page 434]
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in Employee Central [page 435]
When an employee leaves the company, you carry out a Leaving action in SAP ERP HCM and replicate the
employee's master data to Employee Central. In Employee Central, a Termination event is carried out and the
employee is set to inactive.
When you try to rehire the same person in Employee Central, the duplicate check nds this employee because his
or her data was replicated from SAP ERP HCM. You therefore create a new employment in Employee Central using
the Add Employment feature.
You can't use a Rehire event within the Add Employment feature. Only the Hire event is available there. We
therefore recommend you create an own event reason for the rehire process across system borders and attach
it to the Hire event.
In the side-by-side deployment option described in this guide, the employee rehired in Employee Central isn't
replicated to SAP ERP HCM.
Related Information
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in SAP S∕4HANA [page 432]
Rehiring an Employee in Employee Central Who Was Previously Mastered in Employee Central [page 434]
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in Employee Central [page 435]
You can rehire an employee in SAP S∕4HANA who was previously mastered in Employee Central when the
terminated employee is mastered in Employee Central, then replicated to ERP, and then he/she is rehired in ERP.
Related Information
Rehiring an Employee in SAP S∕4HANA Who Was Previously Mastered in SAP S∕4HANA [page 432]
Rehiring an Employee in Employee Central Who Was Previously Mastered in Employee Central [page 434]
Rehiring an Employee in Employee Central Who Was Previously Mastered in SAP ERP HCM [page 434]
4.3.4 Transfer
You can transfer employees either within SAP S∕4HANA or within Employee Central.
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
You can transfer an employee within SAP S∕4HANA whose data is mastered in the SAP S∕4HANA system.
When you carry out an organizational reassignment for an employee whose data is mastered in SAP ERP HCM, the
Organizational Reassignment (0001) infotype is changed. An organizational reassignment means that:
• The employee’s country assignment and personnel number (PERNR) stay the same
• Only one personnel number exists for the employee
You can replicate the changes regarding the organizational assignment to Employee Central. In Employee Central,
a Data Change event with the DATAREORG event reason is carried out and a new Job Information record is created.
The date of the organizational reassignment in SAP ERP HCM is used as the eective start date of this Job
Information record.
Related Information
The transfer process in Employee Central works as usual. In the side-by-side deployment option described in this
guide, employees whose data is mastered in Employee Central aren't replicated to SAP ERP HCM.
Related Information
You can transfer employees between countries that are mastered in SAP S∕4HANA or in Employee Central.
Transferring an Employee from a Country Mastered in Employee Central to Another Country Mastered in
Employee Central [page 439]
Transferring an Employee from a Country Mastered in SAP ERP HCM to a Country Mastered in Employee
Central [page 440]
Transferring an Employee from a Country Mastered in Employee Central to a Country Mastered in SAP
S∕4HANA [page 441]
You can transfer employees from countries that use Employee Central as the system of record to countries
that use SAP S∕4HANA as the system of record.
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
You can migrate an employee which has an international transfer in SAP S∕4HANA system from one country to
another country.
When you transfer an employee in SAP S∕4HANA from one country to another, you usually carry out a Leaving
action in the original country and a Hiring action in the new country. This means that the employee gets a new
personnel number (PERNR) which is assigned to the same central person (CP).
When extracting data, the Employee Data Extraction (ECPAO_EMPL_EXTRACTION) program analyzes the personnel
numbers assigned to one central person. The personnel numbers are handled together and the data of both is
transferred as International transfer to Employee Central if the following conditions are ullled for both personnel
numbers:
When the centralized services switch in Employee Central is enabled, the isRehire eld is set as true or false for
the international transfer scenario. The isRehire eld is considered as a standard eld and the value is set as false
for the rst employment and true for the second employment (rehire) record. In case this eld is not sent, then
the secondary assignments are created in Employee Central, which is not intended for international transfer. For
more information on the IsRehire eld, refer the Non-Congurable (Standard) Mapping of SAP ERP HCM Fields to
Employee Central Fields topic in the Related Information section.
Note
The original country and the new country can be mastered in one SAP S∕4HANA system or in dierent
SAP S∕4HANA systems. The assignment in the new country can start immediately after the assignment in
the original country has ended, or there can be a gap between them. You only need to make sure that the
employee's personnel numbers are always assigned to one and the same central person.
Note
If there are more than two multiple contracts for an employee (starting after the earliest transfer date) involving
two PERNRs, then this scenario is not supported. This can include scenarios involving international transfer. For
example:
• There is a global assignment from PERNR 1 to PERNR 2 (host PERNR is terminated when global
assignment starts) followed by international transfer from PERNR 2 to PERNR 1 (which is rehired). In
this case if the rst HR process happens before the earliest transfer date, then it would be ignored and only
the international transfer from country 2 to country 1 will be considered. The earliest transfer date must be
after the termination date of PERNR 1 in these cases.
• Multiple contracts involving dierent types of HR processes like Global Assignment, International Transfer
and Concurrent employment for the same employee is not supported.
• Infoporter tool creates a new employment for the same employee in Employee Central for every international
transfer.
Note
You should always create new employment for international transfer in order to streamline the end-to-end
replication process of a person having multipe contracts.
Note
The infoporter tool currently migrates the dependent data based on the ERP personnel number. In case of an
international transfer employee, if the same dependent is maintained in both the PERNR's, then the dependent
data is considered for migration twice. If you want to remove the duplicate dependent data, then you need
to use the modify BAdI denition EX_ECPAO_ERP_EMP_DATA_MODIFY for deleting the duplicate dependent
details.
Related Information
Transferring an Employee from a Country Mastered in Employee Central to Another Country Mastered in Employee
Central [page 439]
Transferring an Employee from a Country Mastered in SAP ERP HCM to a Country Mastered in Employee Central
[page 440]
Transferring an Employee from a Country Mastered in Employee Central to a Country Mastered in SAP S∕4HANA
[page 441]
The international transfer process in Employee Central works as usual. In the side-by-side deployment option
described in this guide, employees whose data is mastered in Employee Central aren't replicated from SAP
S∕4HANA.
Related Information
You carry out a Leaving action for the original country in SAP ERP HCM, which has a date in the future. You
replicate the employee's master data to Employee Central. In Employee Central, a Termination event is carried out
for the original country and the employee is set to inactive for the future. You create an additional employment in
Employee Central to assign the employee to the new country.
Note
Related Information
You can transfer employees from countries that use Employee Central as the system of record to countries that use
SAP S∕4HANA as the system of record.
The scenario is this: An employee was hired and then terminated in Employee Central. Then he or she is hired
again in a dierent country, for which you still use SAP S∕4HANA as the system of record. This means, a personnel
assignment (PERNR) is created for the employee in SAP S∕4HANA. Now the employment/personnel assignment
from the country mastered in SAP S∕4HANA is replicated to Employee Central. Both employments (the old,
terminated and the new, replicated employment) coexist there.
• Select the BAdI Mapping mapping mode for the person_id_external eld in the V_ECPAO_COMPANY
Customizing view.
• Implement the Mapping of User ID, Person ID, User Name, and Object ID
(EX_ECPAO_EMP_USYID_PRN_UNM_MAP) BAdI. Make sure that your BAdI implementation maps the
employee’s person ID from Employee Central to the person ID of the employee's personnel number in SAP
S∕4HANA so that the second employment is replicated to the correct employee in Employee Central.
For more information about the Customizing settings and BAdIs, see the Replicating Employee Data from SAP ERP
HCM to Employee Central integration guide. Find the most current version of this guide at http://help.sap.com/
hr_ecintegration.
Related Information
You can have global assignments within SAP S∕4HANA, within Employee Central, or between both systems.
Assigning an Employee Globally in SAP S∕4HANA and Employee Central [page 445]
Related Information
In SAP S∕4HANA, you should store information about an employee's global assignment in the following infotypes:
• To determine which is the host and which is the home assignment, you should use the Details on Global
Assignment (0710) infotype. This infotype is mandatory to be maintained for the infoporter tool to identify the
global assignment employment type. Else the HR process is identied incorrectly.
• To determine which personnel number is used to send biographical and personal information to Employee
Central, you should use the Main Personnel Assignment (0712) infotype with the SuccessFactors (SFSF)
subtype.
Note
If the planned end date in the 0710 Infotype is greater than the actual termination date, then the system
will consider the termination date of an employee from the Infotype 0000 – Actions. But if the planned end
date in the 0710 Infotype is less than the actual termination date, then the system will consider only the
Infotype 0710 – Planned End Date, as this is a data issue. Hence you will have to extend the end date of the
employee in Infotype 0710.
The data from both the host and the home assignments is migrated to Employee Central. In Employee Central, the
employee's biographical and personal information is taken from the personnel number that you have marked as the
main personnel assignment in SAP S∕4HANA.
If you've dened a cuto date for data replication, this can aect the start date of the global assignment: If
the cuto date is later than the actual start date of the global assignment, the cuto date is used. If the cuto
date is between the start date and the end date of the host assignment, the Job Information record for the
host assignment is transferred to Employee Central using the PSEUDO_ADDGA event reason for the Add Global
Assignment event.
Note
If there are more than two multiple contracts for an employee (starting after the earliest transfer date)
involving two PERNR's, then this scenario is not supported. This can include the scenario involving global
When you enable the ERP to EC : Determine Personal Data of Global Employees switch in the V_ECPAO_CONSTANT
view, the following options are applicable:
• When there is a global assignment from PERNR 1 to PERNR 2, the personal information (infotype 0002), Global
information (0002 or its secondary infotypes), and address details (infotype 0006) from both the PERNR's
are replicated based on the earliest transfer date. In this case, you have to maintain infotype 0712 (main
personnel assignment) for the 2nd PERNR and maintain the home PERNR as the leading PERNR during the
global assignment period. Based on this, the host address will be created in Employee Central with address
type host for the host PERNR along with the home address, which is mapped with the home PERNR.
Note
From EC, you will have to make sure that the host address type is available in the Employee Central picklist.
• For global assignment user, if the permanent residence address is maintained for both the assignments (home
& host), then the home PERNR would hold the home address type and host PERNR would hold the host
address type in the Employee Central system.
Note
Emp_users_sys_id eld should be added into perAddress enitity with the congurations: Enabled = True,
Visibility = view & allow import = Yes in the Employee Central system. This eld has to be included in the
view cluster (VC_ECPAO_MAP) eld mapping for address entity.
• Email address and phone number of an employee would be extracted from the employee who is active. If both
the PERNR's are active then system will migrate the host PERNR's email address and phone number.
If there is no data available for the host PERNR, then the system will get the information from the other PERNR
mapped with the same person. For global assignment, system will try to send the host PERNR's email address
and phone number based on the infotype 0712.
• Biographical information of an employee is always extrated from home PERNR only irrespective of the
employment status.
• For National ID information portlet, system will extract both the assignment data.
Note
If you have not maintained the infotype 0712 (main personnel assignment), then the host address type for
the host PERNR would not be created. Instead home sub-type is created for both home and host PERNR.
Similarly for biographical, email address, and phone number of an employee will be extracted only from the
home PERNR even if it is inactive.
When the ERP to EC: Determine Personal Data of Global Employees switch in the V_ECPAO_CONSTANT view is
disabled, the following behavior is applicable: The biographical, personal, global, email address, and phone number
information of an employee will be extracted only from the home PERNR even if the infotype 0712 is maintained
and mentioned for a dierent PERNR as the main assignment.
When global assignment conguration object is enabled in Employee Central to create global assignment
events like Away on Global Assignment and Back from Global Assignment, following points to be considered:
• Equivalent custom actions for the above events have to be explicitly created for the pernrs in the SAP
S∕4HANA system.
• Additional value mapping for the events have to be done : Eg: custom Action for Away on Global
Assignment has to be mapped to event AGA(Away on global Assignment) on EC.
If the above actions are not performed, then whenever there is a change from SAP S∕4HANA sent to home
assignment or when the replication from SAP S∕4HANA is triggered again, the automatic events created in EC
will be deleted as the upsert is a full purge.
Note
The infoporter tool currently migrates the dependent data based on the ERP personnel number. In case of
global assignment for an employee, if the same dependent is maintained in both the PERNR's, then the
dependent data is considered for migration twice. If you want to remove the duplicate dependent data, then
you need to use the modify BAdI denition EX_ECPAO_ERP_EMP_DATA_MODIFY for deleting the duplicate
dependent details.
Related Information
Global assignment management in Employee Central works as usual. In the side-by-side deployment option
described in this guide, employees whose data is mastered in Employee Central aren't replicated to SAP ERP
HCM.
Related Information
If an employee has a home assignment (employment) in Employee Central and a host assignment in SAP
S∕4HANA, his or her data can be replicated from SAP S∕4HANA to Employee Central. Both assignments can
coexist.
• Select the BAdI Mapping mapping mode for the person_id_external eld in the V_ECPAO_COMPANY
Customizing view.
• Implement the Mapping of User ID, Person ID, User Name, and Object ID
(EX_ECPAO_EMP_USYID_PRN_UNM_MAP) BAdI. Make sure that your BAdI implementation contains the
employee's person ID from Employee Central so that the data from the host assignment in SAP S∕4HANA
is replicated to the correct employee in Employee Central.
For more information about the Customizing settings and BAdIs, see the Replicating Employee Data from
SAP S∕4HANA to Employee Central integration guide. Find the most current version of this guide at http://
help.sap.com/hr_ecintegration.
If an employee has a home assignment in SAP S∕4HANA and his or her data is replicated to Employee Central, you
can just add the host assignment (employment) in Employee Central. Both assignments can coexist.
You can choose any mapping for the user_id, person_id_external, and user eld in the V_ECPAO_COMPANY
Customizing view.
In this scenario, the person-related employee master data is kept up to date in the SAP S∕4HANA system for the
home assignment. Changes are replicated to Employee Central.
To deactivate the home assignment during the host assignment period, terminate the employee's home
assignment when the host assignment starts and rehire the employee when the host assignment ends.
Concurrent employment can either be within SAP S∕4HANA or within Employee Central.
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
In SAP S∕4HANA, an employee who has several personnel assignments (personnel numbers) with the employment
status Active within the same country is considered as concurrently employed. While creating the second
employment, the rst employment should be still active. In Employee Central, an employment is created for each of
the employee's personnel assignments.
In the employment info entity, the IsRehire ag value is extracted as false for both the employments. This ag
setting make sure that the secondary assignment entity is created in theEmployee Central system denoting it as
concurrent employment.
A new switch ERP to EC: Determine Personal Data for Concurrent Employment has been introduced to fetch
information (Personal information and Address information) from all concurrently employed PERNR's. When you
enable the constant ERP to EC: Determine Personal Data for Concurrent Employment in the V_ECPAO_CONSTANT
view, eective templates like personal information and the address information are sent from all the PERNR's
related to that concurrent employment based upon the earliest transfer date. For non-eective dated templates,
like email and phone number information will be sent from the latest active PERNR on the earliest transfer date.
If you want to migrate the information (Personal information and Address information) from only one
particular active or leading PERNR for your EC instance ID. PERNR then you can use the BAdI
EX_ECPAO_IDNTFY_MAIN_PERNR. The BAdI classies the main PERNR when more than one PERNR's are
concurrently employed. The same PERNR is then used to migrate the entities like (personal Info(WS_5) and
address info(WS_10)) and, email (WS_7), and phone (WS_8) entities.
Note
If the BAdI EX_ECPAO_IDNTFY_MAIN_PERNR is implemented in the system and returns the main PERNR then
the switch is not considered. In case the switch is active and if the BAdI implementation does not return the
main PERNR, then the switch is considered.
When EX_ECPAO_IDNTFY_MAIN_PERNR BAdI is not implemented and ERP to EC: Determine Personal Data for
Concurrent Employment switch is inactive in the constants table, following points are applicable:
• The user (WS_1), biographical (WS_2), personal info (WS_5), email (WS_7), phone (WS_8), address (WS_10),
national ID (WS_17), global info (WS_18), personal relationship (WS_19) are extracted from the rst
employment only.
• For the employment details (WS_3), job information (WS_4), job relationship (WS_9), compensation (WS_11),
pay comp recurring (WS_12), pay comp non recurring (WS_13), PIV3 details (WS_14), termination (WS_15),
PIV3 (WS_16), cost distribution (WS_20), and cost distribution item (WS_21) both the PERNR's are extracted.
• Based on the employment info, user API will create the user and biographical entity data for secondary
assignment in the Employee Central system by default.
• The termination entity is extracted, in case of any employment is terminated.
• When the rst employment is terminated before the cut o date:
• If additional events are not maintained, rst employment details will be skipped from the data extraction
process and the secondary employment details will be extracted when the rst employment is terminated
before the cuto date.
• When additional events are maintained, all non-eective dated entities with personal data (personal
information and address information) will be extracted from the rst employment and eective dated
entities will be extract data from both the employments.
When the constant switch ERP to EC: Determine Personal Data for Concurrent Employment is active and the BAdI
does not return value for the PERNR, then the following options are applicable:
• If the switch is active, then the personal infomation and address information is fetched from all the PERNR's.
The email and phone number information is fetched from the latest active PERNR.
• In a scenario where the 1st PERNR and 2nd PERNR have the same start date and the 3rd PERNR started later,
the personal information and address data will be extracted from the 2nd PERNR (based on number range if
the begin date is same for 2 PERNR's) and 3rd PERNR. The email and phone data will be extracted from the
latest active PERNR if it has data. In this case, the 3rd PERNR is the latest active PERNR.
Example
As of the cutover date, PERNR2 is active but does not have any address data maintained. As a result, no
address data is being extracted from PERNR2. Address data is currently being extracted from PERNR3
creation date onwards.
When the BAdI EX_ECPAO_IDNTFY_MAIN_PERNR is implemented, then the following options are applicable:
• If the BAdI is implemented and returns the main PERNR, then the personal information, address information,
phone, and email address is fetched from the BAdI-dened PERNR.
• If the constant switch is enabled and BAdI implementation is active and returns the main PERNR at the
same time, then the constant switch will no longer have any eect and will be overridden by the BAdI
implementation.
• If a BAdI-dened PERNR is terminated, then the email and phone data will still be extracted from the same
PERNR. If the data is not maintained, then a compound deletion will be triggered if the PERNR already
migrated email and phone.
• When the BAdI is implemented and returns the main PERNR and if there is a record before the BAdI-dened
PERNR, the personal and address information would be split into two segments. The rst segment would cover
the time period from the rst PERNR's cutover date to the BAdI-dened PERNR creation date, and the second
segment would cover the time period from the BAdI-dened PERNR creation date to the end date.
Scenario 1:
Scenario 2:
BAdI returns PERNR2 (PERNR2 is the leading or the main PERNR in this case)
Note
With the current enhancement the global information entity is not supported.
The infoporter tool currently migrates the dependent data based on the ERP personnel number. In case of
concurrent employment, if the same dependent is maintained in both the PERNR's, then the dependent data is
considered for migration twice. If you want to remove the duplicate dependent data, then you need to use the
modify BAdI denition EX_ECPAO_ERP_EMP_DATA_MODIFY for deleting the duplicate dependent details.
Related Information
The concurrent employment process in Employee Central works as usual. In the side-by-side deployment option
described in this guide, employees whose data is mastered in Employee Central aren't replicated to SAP ERP HCM.
Related Information
4.3.8 Termination
You can terminate employees either in SAP S∕4HANA or in Employee Central, depending on which is the system of
record.
Parent topic: HR Business Processes for the Side-by-Side Deployment Option in Employee Data Migration [page
426]
Related Information
You can migrate an employee who has been terminated in SAP S∕4HANA system.
When you terminate an employee in SAP S∕4HANA, the information about the termination is migrated to Employee
Central if the earliest transfer date is before the termination date. This ensures that the employee is also
terminated in Employee Central and becomes inactive there. When you carry out the Leaving action in SAP
S∕4HANA, the employee's employment status is changed to Withdrawn. When the termination is replicated to
Employee Central, a Termination event with the Termination event reason is carried out and a new Job Information
record is created.
When an employee is terminated, his or her assigned position, job code, division, department, business
unit, and cost-center information remains in Job Information in Employee Central. In the SAP S∕4HANA
system, however, a terminated employee has a default position assigned, and job, organizational unit, and cost-
center assignments are removed from the Organizational Assignment (0001) infotype. If this information was
replicated to Employee Central, the assignments are also removed from the employee's Job Information. This
is the reason why the SAP S∕4HANA system migrates the corresponding assignments from the employee's last
active Organizational Assignment record instead of from the terminated one.
Related Information
The termination process in Employee Central works as usual. In the side-by-side deployment option described in
this guide, employees whose data is mastered in Employee Central aren't replicated to SAP S∕4HANA.
Related Information
Take a look at special use cases that can occur during data replication to Employee Central.
Context
You can use the country ltering when you want to restrict the migration of data based on the country grouping.
Using this, you can migrate the full scope of data to Employee Central for a set of countries, which are in scope will
be mastered in EC and mini master data for another set of countries, which are not in scope are mastered in ERP. If
an EC entity has been ltered out for a country, then this entity will be not extracted for a PERNR belonging to that
country even if that template is active in the template group conguration.
Procedure
Choose the EC templates, which are not in scope against a country using the customizing activity: Filter EC Entities
for Migrating Employee Data to EC based on Country (view V_ECPAO_ECTM_FIL).
Example
If country Switzerland is mastered in EC and Greece is mastered in ERP, then full scope will be used for
Switzerland and mini-master scope for Greece. You can dene the mini-master scope by specifying the EC
entities which should be ltered out during the extraction process from ERP. In this case, you can lter all the
templates other than the mini master scope for country Greece using the view V_ECPAO_ECTM_FIL.
45 WS_7
45 WS_8
45 WS_9
45 WS_10
This means you start employee data replication from on-premise SAP S∕4HANA systems to SAP SuccessFactors
Employee Central, where you have previously used either the integration add-on for SAP S∕4HANA and SAP
When you use the side-by-side deployment option, Employee Central contains two dierent types of data records
for employees:
This has some inuence on how you need to set up compensations plan templates and compensation plans:
Note
When you use the side-by-side deployment option, the following features are not available:
• You can't retrieve performance ratings from two dierent sources (which would be SAP SuccessFactors
Performance Management for employees whose data is mastered in Employee Central and SAP
S∕4HANA's Performance Management module for employees whose data is mastered in SAP S∕4HANA).
• You can't use variable pay templates in SAP SuccessFactors Compensation.
Context
You can use the standard reports of Employee Central Advanced Reporting for employees whose data is mastered
in SAP S∕4HANA and replicated to Employee Central using the employee data replication described in this guide.
This enables you to run global reports on all employees in Employee Central, independent of the system of
record in which the employees' data is mastered. We recommend to do local reporting in the system in which the
employee's data is mastered.
To use standard reports in the side-by-side deployment option, carry out the steps described below.
Procedure
For more information refer to the Online Report Designer implementation guide. Find the most current version
of these guides at http://help.sap.com/hr_analytics.
2. Get an overview of the existing reports, create new reports, or adjust standard reports to suit your
requirements.
Pre-delivered standard reports are available in Advanced Reporting in Employee Central. You can copy and
adapt these reports as according to your company's needs. The resulting data can also be easily exported
and reused in other tools or applications such as Microsoft Excel. Advanced reports can be roughly classied
according to the following categories:
• Benets
• Compensation
• Employment information, such as Employee Register, Employment Changes, Headcount and FTEs, New
Hires, Terminated Employment
• Global assignments, such as Global Assignment: Contact Details and Global Assignment: Accompanying
Dependents
• Payment information
• Payroll, such as the Data Replication Monitor
• Pension plans, such as Pension Overview
• Personal information, such as Challenged Employees, Dependents, and contact information
• Position management, such as Position Details and Position Overview
• Time-o reports, such as Absence Overview, Time Account Overview and Time Account Snapshot
• Workow information
For more information about the existing standard reports refer to the Employee Central Advanced Reporting:
Standard Reports reference guide. For more information abut how to change standard reports refer to the
When you replicate employee master data from the SAP S∕4HANA system to Employee Central as described
in this guide, you can use some standard reports for global reporting on all employees whose data is mastered
in Employee Central and all employees whose data is mastered in SAP S∕4HANA and replicated to Employee
Central. The following reports are available for both groups of employees:
• Age Ranges
• Headcount and FTEs
• Service Anniversaries
• Birthday List
• Job Assignment
• Terminated Employments
• Employee Register
• Job Relationships
• Employment Changes
• New Hires
When using these reports take into account the following preconditions:
• Only data which is part of the replication can be included in the reports. For a list of the data that can
be replicated by default, see the Replicating Employee Data from SAP ERP HCM to Employee Central
integration guide. Find the most current version of this guide at http://help.sap.com/hr_ecintegration.
• If a eld is not lled by the data replication from SAP S∕4HANA to Employee Central, it must be part of the
SuccessFactors data options. If the eld is not lled at all, the corresponding report dumps.
• We recommend to use the validation tool to check if a reports runs in your specic environment. To do so:
1. Go to Home Analytics , then click Analytics and choose Report Designer from the Tools panel.
3. Right-click the report and choose Validate this component from the context menu.
Learn how to congure the migration of the long term absence leave record.
Prerequisites
You will have to create two new event reasons of event type DATACHG with status paid or un-paid leave in Employee
Central.
Example
• PSEUDO_DATACHG_LOA_START
• PSEUDO_DATACHG_LOA_END
Context
Irrespective of the switch (When Time O or Time O for Leave of Absence Only) status the job info records with
event reason corresponding to leave of absence (LOA) cannot be imported to Employee Central. You need to
use the MDF object EmployeeTime and create the leave of absence dates and time period for a particular user
through the Import and Export data tool. This will inturn create the LOA events (LOA start and LOA end) in the
Procedure
1. In your SAP S∕4HANA system, go to the (SPRO) transaction and choose SAP Reference IMG. In
the SAP Customizing Implementation Guide structure, open Personnel Management Integration with
SuccessFactors Employee Central Business Integration Builder Data Migration and Replication to Employee
Central Employee Data Dene Field Mapping for Employee Data .
2. Choose the transformation template group that you are using.
3. Choose transformation template corresponding to Job Info (WS_4).
4. In the Primary mapping screen, double click the Event reason eld.
5. In the value mapping section, click the Dene value mapping entries button.
6. In the Value Mapping Details view, for the ERP value corresponding to Leave of Absence and Return to work,
maintain the new event reasons (Eg: PSEUDO_DATACHG_LOA_START and PSEUDO_DATACHG_LOA_END)
created in Employee Central.
7. Save the changes.
8. Run the migration report for the employee. Run the migration as often as needed.
9. For employees who have their system of record as ERP, the time data need not be maintained in SAP
SuccessFactors Employee Central. Later over time, when you move away from Side-by-Side deployment option
to Core hybrid model making their system of record as Employee Central, you would have to import the
absence information into Employee Central via the EmployeeTime object.
There is no automatic migration from these Data Change events to Employee Time (Leave of Absence and
Return to Work events). This should be a manual activity. Further as long as the employee data is mastered in
ERP, you should consider this DATAchange event for their reporting and other purposes.
10. For the employees which as the system of record as Employee Central, after all the migration is done,
you can use the Import and Export Data tool to create the Employee Time Object containing the leave of
absence information. After the import, as per congurations in your system, the job info shall show the
PSEUDO_DATACHG_LOA_START and the actual LOA START events.
Learn about changes to the documentation for Implementing Data Migration and Replication to Employee Central
in recent releases.
New You can now connect multiple Employee Connecting Multiple Employee Central
Central instances to the same client of Instances to the Same SAP S∕4HANA Cli-
your SAP S/4HANA system. ent [page 242]
Changed You can now migrate data from all con- Employee Having Concurrent Employ-
current employments based on the new ment in SAP S∕4HANA [page 446]
conguration options in SAP S/4HANA
system.
Changed You can now migrate the Manager ID eld Extracting Employees Manager Informa-
value in the employee job information tion [page 212]
entity by using the variant concept and
by choosing the dierent transformation
template groups in each step.
Changed Support package 02 of the SFSF EC S4 Installing the Required Software Compo-
nent Versions and Support Packages in
HCM INTEGRATION (ECS4HCM) add-on
SAP S∕4HANA [page 48]
must be installed in your SAP S/4HANA
system.
Added In the conguration of the SAP S∕4HANA Enabling and Testing the SAP S∕4HANA
outbound web services, we've added in- Outbound Web Service [page 55]
formation about which settings are avail-
able in the corresponding integration
ow for which authentication option, de-
pending on whether you use SAP Cloud
Integration in the Cloud Foundry or the
Neo environment.
Added New picklist writer report import picklists Import Picklists from Employee Central
and picklist values from Employee Central using Web Service [page 89]
to the SAP S∕4HANA system system by
using OData query.
New We have updated how the concurrent em- Employee Having Concurrent Employ-
ployees behave for non-eective dated ment in SAP S∕4HANA [page 446]
entities data and eective dated entities.
Changed Support package 01 of the SFSF EC S4 Installing the Required Software Compo-
HCM INTEGRATION (ECS4HCM) add-on nent Versions and Support Packages in
must be installed in your SAP S/4HANA SAP S∕4HANA [page 48]
system.
Changed We are currently supporting the global For Which Employee Data-Related Em-
info data migration for additional info-
ployee Central Entities Can I Use Data
types.
Replication? [page 68]
Changed Employee and organizational object data Extracting Employee Data [page 202]
report has been enhanced to update the
change pointer table. Parallelization of Employee Data Extrac-
tion with the Job Scheduler Report [page
238]
Changed We have enhanced the work schedule re- Work Schedule Objects Created in Em-
port to support zero working hours. ployee Central [page 402]
Hyperlinks
Some links are classied by an icon and/or a mouseover text. These links provide additional information.
About the icons:
• Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your agreements
with SAP) to this:
• The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
• SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
• Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering an SAP-hosted Web site. By using such links,
you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax and
phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of example
code unless damages have been caused by SAP's gross negligence or willful misconduct.
Bias-Free Language
SAP supports a culture of diversity and inclusion. Whenever possible, we use unbiased language in our documentation to refer to people of all cultures, ethnicities, genders,
and abilities.
SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP afliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.