You are on page 1of 18

PUBLIC

SAP Best Practices for SAP SuccessFactors Employee Central Integration


Document Version: 1H 2023 – 2023-05-25

Replicating Time Data from Employee Central to


ERP HCM: Test Script
© 2023 SAP SE or an SAP affiliate company. All rights reserved.

THE BEST RUN


Content

1 Replicating Time Data from Employee Central to ERP HCM. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

3 Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

4 Test Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1 Request Time Off. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2 Process Time Off Request (Optional). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.3 Analyze Application Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.4 Check Replicated Infotype. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

5 Monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

6 Process Chains. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Replicating Time Data from Employee Central to ERP HCM: Test Script
2 PUBLIC Content
1 Replicating Time Data from Employee
Central to ERP HCM

This guide provides a test of scope item Replicating Time Data from Employee Central to ERP HCM for the
SAP Best Practices for SAP SuccessFactors Employee Central Integration with SAP ERP HCM Payroll solution.

Following this guide, you get a description how to replicate time data from your new system of records,
Employee Central, to your ERP HCM system, which contains your payroll data. The replication needs to be done
as soon as changes to the data in Employee Central occur, because they must be replicated to ERP HCM to
update the Absence Infotype 2001.

The following steps will be covered:

• Request Time Off: The Employee creates an absence of time type Vacation in Employee Central.
• Process Time Off Request: Approval in Employee Central (automatic or approved by the Supervisor).
• Analyze Application Log: The HR Administrator analyzes the logs and their messages in the ERP HCM
system to get more information about the replication of the absence da
• Check Replicated Infotype: The HR Administrator checks the replicated Infotype to see if the employee’s
absence data has been replicated from Employee Central to infotype Absences in the ERP HCM system.

The scope item Replicating Time Data to ERP HCM provides localized data. You can run this test with country:

United States

Replicating Time Data from Employee Central to ERP HCM: Test Script
Replicating Time Data from Employee Central to ERP HCM PUBLIC 3
2 Overview

This test consists of several process steps provided in the table below:

Business
Process Step Role System Action/iFlow/Transaction Expected Results

Request Time Off Employee Employee Central Action: Create Absence The Employee has created
[page 7] an absence of time type Va­
cation and has sent it to the
supervisor for approval.

Process Time Off Re­ Supervisor Employee Central Action: Approve Workflow The absence has been ap­
quest (Optional) [page
Request proved by the supervisor
9]
and the approval status has
changed to Approved.

Analyze Application HR Adminis­ ERP HCM Transaction: SLG1 In the Application Log the
Log [page 11]
trator replication of the absence
data has been analyzed.

Check Replicated Info­ HR Adminis­ ERP HCM Transaction: PA20 In the ERP HCM system,
type [page 12]
trator the absence type and pe­
riod correspond with what
is in Employee Central.

 Note

The Reimagined Home Page (Latest Home Page) will be pushed to all customer instances that are not
already migrated. For more details, check the Migration to Reimagined Home Page post in the SAP
SuccessFactors Community.

All home page activities described in this solution are based on the new UI experience.

Replicating Time Data from Employee Central to ERP HCM: Test Script
4 PUBLIC Overview
3 Prerequisites

This section summarizes all prerequisites for conducting the test in terms of systems, roles, and business
conditions.

System Access

The test is conducted in the following systems:

System Details

ERP HCM Payroll Your system details, such as system ID and client.

SAP SuccessFactors Employee Your instance details, such as URL and Company ID.
Central

Roles

This test is conducted with the following permission roles, which must be assigned to the users. The
permission roles are pre-delivered.

System Business Role Permission Role Logon

Employee
SAP SuccessFactors SFCC Employee on Self (Time Off) Test user: <userid>
Employee Central
Password: <password>

SAP SuccessFactors Supervisor SFCC Manager on Direct Reports (Time Test user: <userid>
Employee Central Off)
Password: <password>

ERP HCM Payroll HR Administrator A System Admin Role is required. An ex­ Test user: <userid>
ample is:
Password: <password>
SAP_AIO_CUSTOMER_IT_ADMIN-S

Additionally, add the technical role:

SAP_HR_TIM_EC_REPL

Replicating Time Data from Employee Central to ERP HCM: Test Script
Prerequisites PUBLIC 5
Business Conditions

Before this test can be conducted, the following business conditions must be met:

Business Condition

1. Employees must have been hired (or rehired) and already exist in the system

2. The managers in the Employee Central instance have corresponding users in the ERP HCM system.

3. The employee’s Time Account type Vacation has sufficient balance.

Replicating Time Data from Employee Central to ERP HCM: Test Script
6 PUBLIC Prerequisites
4 Test Procedures

Following the next steps you will walk through:

• Request Time Off


• Process Time Off Request
• Analyze Application Log
• Check Replicated Infotype

 Note

The data replication described in this process is based on mappings that create the relationships between
fields in Employee Central and fields in ERP HCM. This Best Practices solution delivers these mappings, for
example: Value Mappings, Infotype Mappings, and BAdI Mappings.

For more information refer to:

• Replication Time Configuration Guide: Replicating Time Data from Employee Central to ERP HCM:
Configuration Guide

4.1 Request Time Off

Purpose

The Employee creates an absence of time type Vacation in Employee Central.

Prerequisites

To request Time Off, the employee’s Time Account type Vacation needs sufficient balance. For testing
purposes, the quota can be adjusted as follows:

1. Log on to the Employee Central instance as HR Administrator.


2. Go to the employee’s profile.
3. Go to the Time Management section.
4. In the Upcoming Time Off block, choose the Administer Time link.
5. On the Time Information for <employee> screen, choose the Time Accounts tab.
6. There, choose the button for the appropriate time account, for example Vacation.
7. In the bottom-right part of the screen choose Add Posting, and from the drop-down list that expands,
select Manual Adjustment.

Replicating Time Data from Employee Central to ERP HCM: Test Script
Test Procedures PUBLIC 7
8. In the upcoming Manual Adjustment dialog box, make the following entries:
• Posting Date: select from calendar help
• Adjustment: check the Add radio button
• Amount in Days: enter the number of days that should be added to the employee’s time account
9. Choose Save.

Procedure

# Test Step Name Instruction Expected Result

1. Log on Log on to the Employee Central in­ The Home page is displayed.
stance as Employee.

2. Go to the Time Off screen From the Home drop-down list, se­ The Time Off screen is displayed. It is structured
lect My Employee File. On the My into several sections.
Employee File screen, go to the
Time Management section. In the
Upcoming Time Off block of the Time
Management subsection, choose the
Go to Time Off link.

 Note
Quick Absence creation:

On the Home page in section


Quick Actions choose the Request
Time Off card.

3. Create Time Off Request In the bottom-right corner of the Time The Create Absence section is displayed on the
Off screen, choose Create Absence. right part of the screen.

4. Enter Request Details Make the following entries:

Time Type: select Vacation from


drop-down

Start Date: defaults to today’s date; In the Team Absences section, depending whether
select an appropriate date from the other team members are absent during your plan­
calendar help. ned time off or not, either the <#> out of <#>
team members link or the No team members
 Note absent link is displayed.

Alternatively, you can use the


Next (arrow right) icon to navi­
gate to the appropriate month in
the calendar.

Replicating Time Data from Employee Central to ERP HCM: Test Script
8 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

End Date: defaults to today’s date; se­


lect an appropriate date from the cal­
endar help.

5. Submit Choose Submit. The Employee has created an absence of time


type Vacation and has sent it to the supervisor for
approval.

4.2 Process Time Off Request (Optional)

Purpose

The Supervisor approves the employee’s request for the created absence of time type Vacation in Employee
Central.

This process considers that a one-step approval workflow is configured.

If no workflow has been configured in your system you can skip this step.

Prerequisites

An absence of type Vacation has been created by the employee in Employee Central.

Procedure

# Test Step Name Instruction Expected Result

1. Log on Log on to the Employee Central in­ The Home page is displayed.
stance as Supervisor.

Replicating Time Data from Employee Central to ERP HCM: Test Script
Test Procedures PUBLIC 9
# Test Step Name Instruction Expected Result

2. Access Request On the Home page, in the Approvals The Employee Files > Workflow Details screen is
section on the Absence card choose displayed containing details of the employee’s Time
the View Details link. Off Request. The screen is divided into several sec­
tions:
 Note
• The Do you approve this request? section con­
If there is more than one appro­ tains a short overview of the request, its initia­
val, first choose the View All but­ tor, and the workflow participants.
ton. A popup will occur showing all • The Time Off Requests section contains the
Absence cards. detailed request.
• The Team Absence Calendar section contains
 Note a link; its name shows whether other team
members are absent during the same period
You may choose Approve/Decline
or not.
with/without comments next to
• In the Comment section, you can post your
the request if you are sure to ap­
remarks to the request.
prove the right one without check­
ing the details.
• On the right part of the screen a short profile
of the affected employee is given. By choosing
the link, you can directly open the employee
file. Choose the browser's back button to go
back to the Workflow Details screen.
• In the Activity section, administrative details
for the request initiation are shown.

3. Review Time Off Re­ On the Employee Files > Workflow Details for the Time Off Request have been re­
quest details Details screen review the details of the viewed.
Time Off request.

4. Approve Time Off Re­ If everything is fine, choose Approve to The system generates a message about the suc­
quest approve the time off request. cessful approval of the workflow, and you are redir­
ected to your Home page.

The absence has been approved by the super­


visor and the approval status has changed to
Approved.

 Note
You can check the approval status in the em­
ployee’s profile. To do so, log on as employee
and choose:

My employee files Time Management

Review the status of Approved of the Vaca­


tion under Upcoming Time Off.

Replicating Time Data from Employee Central to ERP HCM: Test Script
10 PUBLIC Test Procedures
4.3 Analyze Application Log

Purpose

The HR Administrator analyzes the logs and their messages in the ERP HCM system to get more information
about the replication of the absence data.

Prerequisites

The iFlow Replicate Time Off Data from SAP SuccessFactors Employee Central to SAP ERP for the replication of
absence data has run.

 Note

For more information, refer to the Technical Integration Settings: Configuration Guide, section CPI
configuration for Replication of Time Data from SuccessFactors Employee Central to ERP HCM

Procedure

# Test Step Name Instruction Expected Result

1. Log on Log on to the ERP HCM system as HR The SAP Easy Access page appears.
Administrator.

2. Go to Analyze Application In the SAP Menu on the left side of the The Analyze Application Log page ap­
Log page navigate to SAP Menu Human pears.

Resources Payroll International Tools

Analyze Application Log

or call up transaction SLG1.

Search criteria have been entered.


3. Enter Search Criteria Object: choose PAOC_SFI_PA.

Subobject: choose EE_TIME

Replicating Time Data from Employee Central to ERP HCM: Test Script
Test Procedures PUBLIC 11
# Test Step Name Instruction Expected Result

External ID:

• Option 1: To search for all employments of


an employee, enter the External ID (eight-
digits, include the leading zeros) followed
by an asterisk (*).
• Option 2: To search for a specific employ­
ment per employee, enter the External ID
and User ID in that order separated by a
slash (/).

4. Execute Report Choose Execute. The Display logs page appears.

5. Check Report Output Check the log for errors. In the Application Log the replication of
the absence data has been analyzed.
If the navigation tree contains a line with a red
icon, a problem classified as very important
has occurred.

By double-clicking the red icon, a message


appears, giving more information about the er­
ror.

Choose Details to investigate further.

Drill down with the Glasses button for more


technical information.

Solve the issue.

4.4 Check Replicated Infotype

Purpose

The HR Administrator checks the replicated Infotype to see if the employee’s absence data has been replicated
from Employee Central to infotype Absences in the ERP HCM system.

Prerequisites

The iFlow Replicate Time Off Data from SAP SuccessFactors Employee Central to SAP ERP for the replication of
absence data has run without errors.

Replicating Time Data from Employee Central to ERP HCM: Test Script
12 PUBLIC Test Procedures
Procedure

# Test Step Name Instruction Expected Result

1. Log on Log on to the ERP HCM system as HR The SAP Easy Access page appears.
Administrator.

2. Go to Display HR Master In the SAP Menu on the left side of the page The Display HR Master Data screen is
Data navigate to SAP Menu Human Resources displayed.

Personnel Management Administration

HR Master Data Display

or call transaction PA20.

3. Search Employee In the Personnel No. field use the value help to The system proposes a list of employees
search for the employee by Last name – First matching your search criteria.
name. Choose Enter.

4. Select Employee Choose the appropriate employee. The personnel number of the employee
appears in the Personnel No. field.

5. Select Absences Infotype In the Infotype field enter value 2001 or


Absences.

Choose Enter.

6. Open Infotype Record Choose the Display icon to view the Infotype The Display Absences screen is dis­
record. played.

 Note
Alternatively, you can choose the Overview
icon to obtain the list of all valid records
of this Infotype. To display one of the avail­
able records in this list, select the record
of interest and select Choose.

7. Review Infotype Record Compare Absence type and Absence period Infotype Absences has been checked in
whether it corresponds with what appears in the ERP HCM system.
Employee Central.

Replicating Time Data from Employee Central to ERP HCM: Test Script
Test Procedures PUBLIC 13
5 Monitoring

The Superadmin monitors the integration scenario in the SAP Cloud Integration system.

Check Payload Log for Replication

# Test Step Name Instruction Expected Result

1. Log on Log on to the SAP Cloud Integration The Discover content packages page appears.
system as Superadmin.

2. Access Integration In the Navigation column on the left The Overview page appears.
Packages Design page
choose for Operate and monitor
integration scenarios.

3. Access Integration On the Overview page under Manage The Overview / Manage Integration Content page
Content Integration Content choose the tile All – appears.
All.

4. Search the iFlow On the Overview / Manage Integration The Replicate Time Off Data from SAP
Content page filter for Time. SuccessFactors Employee Central to SAP ERP iFlow
appears.

 Note
If the Status is still Starting and not yet
Started, refresh the Integration Content un­
til the Status has changed. Use Reload content.

5. Access Integration In the Navigation column on the left The Overview page appears.
Packages Design page
choose the icon for Operate and
monitor integration scenarios.

6. Access Monitor On the Overview page choose The Overview / Monitor Manage Processing page

Monitor Message Processing All is displayed, and the Replicate Time Off Data from

Integration Flows Past Hour – Completed SAP SuccessFactors Employee Central to SAP ERP
iFlow with a Status of Completed appears.
Messages .

7. Select the iFlow Select the iFlow. The Replicate Time Off Data from SAP
SuccessFactors Employee Central to SAP ERP iFlow
with a Status of Completed appears with detailed
information.

Replicating Time Data from Employee Central to ERP HCM: Test Script
14 PUBLIC Monitoring
# Test Step Name Instruction Expected Result

8. Go to Attachments In the Attachments block choose the link The Overview / Monitor Message Processing /
Payload 1 After Mapping. Manage Processing Log Attachments page appears.

9. Review the Payload Review the Payload log for replicated The Payload log has been reviewed.
Log Time Off data.

Replicating Time Data from Employee Central to ERP HCM: Test Script
Monitoring PUBLIC 15
6 Process Chains

The process to be tested in this test script is part of a chain of integrated processes.

Preceding Processes

Before testing the activities in this process, you must have completed the following business processes:

Test Process Business Condition

Migrating Data from ERP HCM to Em­ Migration of data from your former system of records, ERP HCM, to your new
ployee Central system of records, Employee Central with all necessary migration reports.

Replicating Data from Employee Cen­ Replication of Organizational and Employee data from Employee Central to ERP
tral to ERP HCM HCM for the use of the payroll system.

Replicating Time Data from Employee Central to ERP HCM: Test Script
16 PUBLIC Process Chains
Important Disclaimers and Legal Information

Hyperlinks
Some links are classified 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.

Videos Hosted on External Platforms


Some videos may point to third-party video hosting platforms. SAP cannot guarantee the future availability of videos stored on these platforms. Furthermore, any
advertisements or other content hosted on these platforms (for example, suggested videos or by navigating to other videos hosted on the same site), are not within
the control or responsibility of SAP.

Beta and Other Experimental Features


Experimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by
SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use
the experimental features in a live operating environment or with data that has not been sufficiently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your
feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

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.

Replicating Time Data from Employee Central to ERP HCM: Test Script
Important Disclaimers and Legal Information PUBLIC 17
www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form


or for any purpose without the express permission of SAP SE or an SAP
affiliate company. The information contained herein may be changed
without prior notice.

Some software products marketed by SAP SE and its distributors


contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for


informational purposes only, without representation or warranty of any
kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP affiliate company products and services are those that are set forth
in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an
additional warranty.

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 affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.

Please see https://www.sap.com/about/legal/trademark.html for


additional trademark information and notices.

THE BEST RUN

You might also like