Preparing Systems for Employee Data Migration and Replication from SAP S/4HANA to Employee Central

Objective

After completing this lesson, you will be able to perform the required steps for employee data migraton and replication in SAP SuccessFactors and SAP S/4HANA

Permissions Needed for Employee Master Data Migration

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.

Context

The following template roles are available for the migration of employee master data to Employee Central:

Employee Master Data Migration from ERP to EC - Business User(SAP_HR_ECPAO_MIG_EE_PROCESSING).

This role is meant for a business user of type B (System User). It authorizes the user to carry out tasks such as the following:

  • Extract employee data and migrate it to Employee Central.

  • Schedule background jobs of the employee extraction report.

  • Update the old key mapping table with manually migrated employee data through a CSV file.

  • Determination of managers and organizational management data

  • Analyze the inventory of the migrated employee data.

  • Delete the inventory details from the inventory tables.

  • Use the application log to analyze errors.

Context

  1. Go to the Role Maintenance (PFCG) transaction in your SAP S∕4HANA system.
  2. Set up the business user.
    1. Copy the template role SAP_HR_ECPAO_MIG_EE_PROCESSING to the customer namespace.
    2. Set up permissions for the copied role to suit your specific requirements.
    3. Assign the copied roles to the user who migrates employee master data from SAP ERP to Employee Central.

Data to Be Replicated and Earliest Transfer Date for Replication

By default, you can use the Employee Central entities that are listed in the following table.

You can also replicate data to custom generic objects.

The number in the first column in the following table defines the sequence in which employee data must be imported to Employee Central. If you import the data manually using CSV files, make sure that you follow this sequence.

Employee Data Entities Supported by Data Replication

Sequence No.Employee Central EntityTemplate Used for CSV-Based Data Extraction in SAP S∕4HANATemplate Used for Web Service-Based Data Extraction in SAP S∕4HANAType of Entity in Employee Central
20Biographical informationPersonInfoImportTemplate (CSV_2)PerPerson (WS_2)Person object
21Biographical information (for employee's dependants)PersonInfoImportTemplate (CSV_2_DEP)PerPerson (WS_2_DEP)Person object
25Localized Biographical InformationLocalized Biographical Information (CSV_2_LOC)See Country/Region-Specific table.Person object
30Personal informationPersonalInfoImportTemplate (CSV_5)PerPersonal (WS_5)Person object
31Personal information (for employee's dependants)PersonalInfoImportTemplate (CSV_5_DEP)PerPersonal (WS_5_DEP)Person object
35Global information (for employee)GlobalInfoImportTemplate (CSV_18)See Country/Region-Specific table.Person object
36Global information (for employee's dependants)GlobalInfoImportTemplate (CSV_18_DEP)See Country/Region-Specific table.Person object
40Employment detailsEmploymentInfoImportTemplate (CSV_3)EmpEmployment (WS_3)Employment object
50Global assignmentsGlobalAssignmentInfoImportTemplate (CSV_6)EmpGlobalAssignment (WS_6)Employment object
60Job historyJobInfoImportTemplate (CSV_4)EmpJob (WS_4)Employment object
70E-mail informationEmailInfoImportTemplate (CSV_7)PerEmail (WS_7)Person object
80Phone informationPhoneInfoImportTemplate (CSV_8)PerPhone (WS_8)Person object
90Job relationshipsJobRelationsInfoImportTemplate (CSV_9)EmpJobRelationships (WS_9)Employment object
95Person relationshipPersonRelationshipInfoImportTemplate (CSV_19)PerPersonRelationship (WS_19)Person object
100AddressesAddressImportTemplate (CSV_10)PerAdressDEFLT (WS_10)Person object
101Addresses (for employee's dependants)AddressImportTemplate (CSV_10_DEP)PerAdressDEFLT (WS_10_DEP)Person object
110Compensation informationCompInfoImportTemplate (CSV_11)EmpCompensation (WS_11)Employment object
120Recurring pay componentsPayComponentRecurringImportTemplate (CSV_12)EmpPayCompRecurring (WS_12)Employment object
130Nonrecurring pay componentsPayComponentNonRecurringImportTemplate (CSV_13)EmpPayCompNonRecurring (WS_13)Employment object
130Nonrecurring pay components for off-cycle payments.PayComponentNonRecurringImportTemplate (CSV_13_OC)EmpPayCompNonRecurring (WS_13_OC)Employment object
140Payment informationPaymentInformation (CSV_16)PaymentInformationV3 (WS_16 )Generic object (pay-related object)
150Employment termination detailsEmploymentTerminationInfoImportTemplate (CSV_15)EmpEmploymentTermination (WS_15)Employment object
160Payment information detailsPayment Information-Details (CSV_14)PaymentInformationDetailV3 (WS_14)Generic object (pay-related object)
170National ID informationNationalIdCardImportTemplate (CSV_17)PerNationalId (WS_17)Person object
171National ID information (for employee's dependants)NationalIdCardImportTemplate (CSV_17_DEP)PerNationalId (WS_17_DEP)Person object
200Alternative cost distributionAlternative Cost Distribution (CSV_20)EmpCostDistribution (WS_20)Employment object
210Alternative cost distribution itemsAlternative Cost Distribution Items (CSV_21)EmpCostDistributionItem (WS_21)Employment object
  • In all Employee Central entities listed previously, there are standard mappings, which are predefined by the SAP S∕4HANA system. You can't configure them while defining primary mappings in the transformation template group configuration.

  • 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 must not be configured.

  • For migrating the payment information details, you must now configure the payment information template CSV_16/WS_16.

If you define an earliest transfer date for a transformation template group that you use for employee data extraction, this date influences effective-dated as well as noneffective dated templates.

Country/Region-specific Entities Supported by Data Replication

Sequence No.Country/RegionEmployee Central EntityTemplate Used for CSV-Based Data Extraction in SAP ERP HCMTemplate Used for Web Service-Based Data Extraction in SAP ERP HCMType of Entity in Employee Central
25BrazilLocalized Biographical InformationCSV_2_LOC*PerBiographicalInfoLocBRA (WS_2_BRA)Person Object
25ChileLocalized Biographical InformationCSV_2_LOC*PerBiographicalInfoLocCHL (WS_2_CHL)Person Object
25FranceLocalized Biographical InformationCSV_2_LOC*PerBiographicalInfoLocFRA (WS_2_FRA)Person Object
25ItalyLocalized Biographical InformationCSV_2_LOC*PerBiographicalInfoLocITA (WS_2_ITA)Person Object
25VenezuelaLocalized Biographical InformationCSV_2_LOC*PerBiographicalInfoLocVEN (WS_2_VEN)Person Object
35IndiaGlobal InformationCSV_18*PerGlobalInfoIND (WS_18_IND)Person Object
161USAPayment information details for USAPaymentInformationDetail-PaymentInformationDetailUSA (CSV_14_USA)PaymentInformationDetailV3USA (WS_14_USA)Generic object (pay-related object)
181IndiaGlobal Information (for employee's dependant)CSV_18_DEP*PerGlobalInfoIND (WS_18D_IND)Person Object

What Happens for Initial Data Extraction?

This is what happens when you initially extract the data:

  • Effective-dated templates:

    For effective-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 effective-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 effective-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 is extracted for all effective-dated templates and Non-Recurring Payments.

  • Non-effective dated templates
    • When an employee is hired in the past/present:

      For all other noneffective dated templates, when the employee is hired in the past or present, data is extracted starting with the later of the two dates. That is, either the current date or the earliest transfer date. If the earliest transfer date is after the date on which you run the data extraction program (the earliest transfer date is in the future), then the earliest transfer date is used for data extraction. If the earliest transfer date is before, then the date on which you run the data extraction program is used instead.

    • When an employee is hired in the future:

      For all other noneffective dated templates when the employee is hired in the future, the hire date is used for data extraction.

    • For Employment Termination, the last terminated data record for an employee is extracted. This is independent of the earliest transfer date or the date on which you run the data extraction program.

    • For Global Assignment, the last record of the employee's Details on Global Assignment(0710) infotype is extracted. This is independent of the earliest transfer date or the date on which you run the data extraction program. If the earliest transfer date is between the start and end date of the host assignment, the Job Information record is extracted for the host assignment. The PSEUDO_ADDGA event reason is used for the Add Global Assignment event.

  • If the earliest transfer date is greater than the future cutoff date, then the earliest transfer date is considered during the data extraction.

Create Event Reasons in Employee Central

Prerequisites

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 specific cases.

Log in to track your progress & complete quizzes