Here's how you can migrate work schedules from the SAP S∕4HANA system to Employee Central.
Set up work schedule rules in your SAP S∕4HANA system.
Set up a proxy to your Employee Central instance.
Make sure that the Upsert Data from SAP ERP or SAP S4HANA to SAP SuccessFactors Employee Central Using the OData API integration flow 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.
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 to make work schedules available from Job Information of employees in SAP S/4HANA. For example, when the 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:
Work Schedule Rules (T508A, T508S)
Period Work Schedules (T551A)
Daily Work Schedule (T550A, T550S)
Break Schedules (T550P)
Here's an overview of the tables in SAP S∕4HANA:

Procedure
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:
- Specify your Employee Central instance.
The Employee Central instance defines 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 may not contain any entries for the work schedule rules to be transferred. If so, the program transfers the external code of the work schedule rule to the External Name field, but only for the default Employee Central language.
- 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 previously.
- Define how the program deals 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 must decide how the program handles 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 specific day variant assigned (meaning, for which the Daily Work Schedule Variant (VARIA) field in the Daily Work Schedule (T550A) table is not empty).
You can omit work schedule rules that use multiple daily work schedule variants.
- Define how the program deals 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 must 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) field in the Break Schedules (T550P) table has an entry other than 0).
- Select the time recording variant.
The time recording variant of a work schedule rule (duration or clock time) must be the same as for all work schedule day models assigned to the work schedule. The following options are available for choosing the time recording variant:
Use the time recording variant Duration for all work schedules and work schedule day models.
Use the time recording variant Clock Time for all work schedules and work schedule day models, but omit work schedules that have cross-midnight shifts.
Use the 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 the 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 then uses 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 field 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.Handling of day schedules with Flextime across midnight:
Note
This option is applicable only for Clock Time.
Case 1: Planned working time and Normal working time are not cross-midnight shift: Then the report updates above segments to Flextime bandwidth and Scheduled working time segments respectively for the Work Schedule Day Model.
Case 2: Planned working time and Normal working time are both across midnight: Then the report updates to Flextime bandwidth and Scheduled working time segments respectively for the Work Schedule Day Model.
Case 3: Planned working time is not cross-midnight shift but Normal working time is cross-midnight shift: This is an invalid case as Planned working time would always be greater than Normal Working time as per ERP configurations.
Case 4: Planned working time is cross-midnight shift but Normal working time is not cross-midnight shift: EC does not allow creation of such flex time bandwidths in the day work schedule. Hence, the report skips the work schedules that have at least one such day work schedule.
- Define whether the program is to carry out a test run first.
You can carry out a test run of the program to output the result to the 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 defined 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.