0% found this document useful (0 votes)
812 views34 pages

Replicating Data From EC To ERP HCM Test Script

This document provides steps to test replicating employee and organizational data from SAP SuccessFactors Employee Central to SAP ERP HCM. The test covers hiring an employee, running replication reports, checking the replication status, and verifying the replicated data in ERP HCM.

Uploaded by

Muhammad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
812 views34 pages

Replicating Data From EC To ERP HCM Test Script

This document provides steps to test replicating employee and organizational data from SAP SuccessFactors Employee Central to SAP ERP HCM. The test covers hiring an employee, running replication reports, checking the replication status, and verifying the replicated data in ERP HCM.

Uploaded by

Muhammad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

PUBLIC

SAP Best Practices for SAP SuccessFactors Employee Central Integration


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

Replicating 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 Data from Employee Central to ERP HCM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

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

3 Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

4 Test Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5 Test Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1 Hire an Employee. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.2 Replication Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Replicate Organizational Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Replicate Employee Master Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Replicate Organizational Assignments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.3 Status Check of Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Status Check of Organizational Data Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Status Check of Employee Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Status Check of Staging Area for Organizational Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Status Check of Staging Area for Employee Organizational Assignments. . . . . . . . . . . . . . . . . . .25
Analyze Application Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.4 Check Replicated Infotypes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

6 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

7 Process Chains. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Replicating Data from Employee Central to ERP HCM: Test Script


2 PUBLIC Content
1 Replicating Data from Employee Central
to ERP HCM

This guide provides a test of scope item Replicating 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 data from your new system of records, Employee
Central, to ERP HCM, 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 Infotypes.

The following steps will be covered:

• Hire an Employee
• Replication Reports
• Status Check of Replication
• Check Replicated Infotypes

The scope item Migrating Data from ERP HCM to Employee Central provides localized data. You can run this test
with any of the following countries:

Brazil China France Germany India Italy

Portugal Spain Switzerland Netherlands United Kingdom United States

Replicating Data from Employee Central to ERP HCM: Test Script


Replicating Data from Employee Central to ERP HCM PUBLIC 3
2 Overview

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

Report/Action/Trans­
Process Step Business Role System action Expected Results

Hire an Employee Administrative Super SAP SuccessFactors Add New Employee An Employee has been
[page 10] User
Employee Central hired.

Replicate Organiza­ HR Administrator ERP HCM RH_SFIOM_ORG_OBJ_ The staging area tables
tional Data [page 14] REPL_QUERY are updated.

Replicate Employee HR Administrator ERP HCM EC­ The report for Repli­
Master Data [page PAO_EE_ORG_REPL_Q cation for Employee
16] UERY Master Data has been
processed.

Replicate Organiza­ HR Administrator ERP HCM RH_SFIOM_PROC_EE_ The report for Replica­
tional Assignments ORG_ASS_RPRQ tion for Organizational
[page 18] Assignments has been
processed.

Status Check of Or­ HR Administrator ERP HCM RH_SFIOM_RE­ The Status of the
ganizational Data Rep­ SET_QRY_ADM Queries for the Organ­
lication [page 21] izational Objects has
been checked.

Status Check of HR Administrator ERP HCM ECPAO_EE_ORG_RE­ The Status of the


Employee Replication SET_QRY_ADM Queries for the Em­
[page 22] ployee Master Data
and Org. Assignment
has been checked.

Status Check of Stag­ HR Administrator ERP HCM RH_SFIOM_VIEW_OR The Replication Re­
ing Area for Organiza­ G_STRUC_RPRQ quests for Organiza­
tional Objects [page tional Objects have
23] been displayed.

Status Check of Stag­ HR Administrator ERP HCM RH_SFIOM_VIEW_EE_ The Replication Re­
ing Area for Employee ORG_ASS_RPRQ quests for Employee
Organizational Assign­ Organizational Assign­
ments [page 25] ments have been dis­
played.

Replicating Data from Employee Central to ERP HCM: Test Script


4 PUBLIC Overview
Report/Action/Trans­
Process Step Business Role System action Expected Results

Analyze Application HR Administrator ERP HCM SLG1 The Application Log to


Log [page 26] analyze the Replication
of Organizational and
Employee Data has
been checked.

Check Replicated Info­ HR Administrator ERP HCM PA20 Organizational Data,


types [page 27] Personal Data and Ad­
dress Data of the new
hired Employee has
been checked in the
ERP HCM system.

Replicating Data from Employee Central to ERP HCM: Test Script


Overview PUBLIC 5
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

ERP HCM Payroll HR Administrator A System Admin Role is re­ Test user: <userid>
quired. An example is:
Password: <password>
SAP_AIO_CUSTOMER_IT_AD­
MIN-S

SAP SuccessFactors Employee Administrative Super SAP BestPractices Super Ad­ Test user: <userid>
Central User min
Password: <password>

Replicating Data from Employee Central to ERP HCM: Test Script


6 PUBLIC Prerequisites
Business Conditions

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

Business Condition

1. Position Management has been implemented.

2. Employees have been hired.

3. Departments have been set up.

4. Positions have been created.

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

Replicating Data from Employee Central to ERP HCM: Test Script


Prerequisites PUBLIC 7
4 Test Data

The organizational structure and master data of your company have been created in your system during
implementation. The organizational structure reflects the structure of your company and includes the
company, cost center and location in the system. The master data reflects employee specific data.

Use your own master data or the following sample data to conduct this test.

Section Object Data Comments

Hire an Employee Hire date (will be Start date in <fill the


ERP HCM) mandatory fields>
First Name

Last Name

Gender

Position

City

State

Replicate Organiza­ Transformation Template SBP_OM_EC_ERP With this SAP Best Practices solution,
tional Data Group for Organizational we deliver a Transformation Template
Object Replication Group SBP_OM_EC_ERP which con­
tains a specific set of mappings. This
mapping information is used when
transferring data between Employee
Central and ERP HCM.

Replicate Employee Transformation Template SBP_EE_EC_ERP With this SAP Best Practices solution,
Master Data Group for Employee we deliver a Transformation Template
Replication Group SBP_EE_EC_ERP which con­
tains a specific set of mappings. This
mapping information is used when
transferring data between ERP HCM
and Employee Central.

Replicate Organiza­ Employee ID <use your data>


tional Assignments
Manager Employee ID

Status Check of Or­ Transformation Template SBP_OM_EC_ERP With this SAP Best Practices solution,
ganizational Data Rep­ Group we deliver a Transformation Template
lication Group SBP_OM_EC_ERP.

Replicating Data from Employee Central to ERP HCM: Test Script


8 PUBLIC Test Data
Section Object Data Comments

Status Check of Em­ Transformation Template SBP_EE_EC_ERP With this SAP Best Practices solution,
ployee Replication Group we deliver a Transformation Template
Group SBP_EE_EC_ERP.

Status Check of Stag­ EC Obj. ID <use your data>


ing Area for Organiza­
tional Objects

Status Check of Stag­ Employee ID <use your data>


ing Area for Employee
Organizational Assign­
ments

Analyze Application Object ECPAO_IN


Log

Check Infotypes Organizational Assignment Infotypes 0001,


0002, 0006

Replicating Data from Employee Central to ERP HCM: Test Script


Test Data PUBLIC 9
5 Test Procedures

Following the next steps you will walk through:

• Hire an Employee: The HR Administrator hires an employee in Employee Central.


• Replication Reports: The replication reports include Employee Data, Organizational Data, and Foundation
Objects such as Legal Entities, Pay Components, Pay Component Groups, and so on.
• Status Check of Replication: How to check the status after the data replication. Reports, the Staging Area,
and the Application Log Analyzing Tool are described.
• Check Replicated Infotypes: The HR Administrator checks if the employee and organizational data have
been replicated into the appropriate Infotypes in the ERP HCM system.

 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.

Before executing the following process steps, we recommend verifying and possibly adapting the content
of the delivered Mappings.

For more information, refer to the following Workbook or Configuration Guide:

• Replication Workbook Replicating Data from Employee Central to ERP HCM


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

5.1 Hire an Employee

Purpose

The HR Administrator hires an employee in Employee Central.

Prerequisites

You must have run through all Migration Reports described in Test Script Migrating Data from ERP HCM to
Employee Central.

A position for which the employee is to be hired has been created. The position must be assigned to your
country to be available in the New Hire wizard. Additionally, the position must have a status of Active on the
hiring date of the employee.

Replicating Data from Employee Central to ERP HCM: Test Script


10 PUBLIC Test Procedures
Procedure

# Test Step Name Instruction Expected Result

1. Log on Log on to the Employee Central instance as The Home page is displayed.
Administrative Super User.

2. Go to the Org Chart From the Home drop-down select Company The Org Chart: <your name> screen is
screen Info and go to the Org Chart tab. displayed.

3. Add New Employee On the Org Chart: <your name> screen, select You are directed to the My Employee File
application and the Add New Employee
the Add New Employee icon located on screen is displayed.
the top right of the screen.

4. Enter Identity Information In the Identity section fill in at least the manda­
for new Employee tory fields.

 Note
Hire Date: Normally, hiring data are en­
tered for a successful candidate whose
employment starts in the future. Never­
theless, to test the scope items delivered
in this SAP Best Practices solution imme­
diately, we recommend using as a hire
date today's date or an earlier date.

Company: Since you want to assign the


employee to a certain position, make sure
the company you select here is the same
as the company you selected while creat­
ing the particular position. Else, that posi­
tion will not be available for selection in
the Target Position block of the Job Infor­
mation section.

5. Continue Choose Continue. The Personal Information section in the


Add New Employee screen is expanded.

6. Enter Personal Informa­ In the Personal Information block of the


tion for new Employee Personal Information section fill in at least the
mandatory fields.

 Note
Show <#> more fields: To obtain the com­
plete list of fields, you might need to select
the Show <#> more fields.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 11
# Test Step Name Instruction Expected Result

7. Continue Choose Continue. The Job Information section in the Add


New Employee screen is expanded.

8. Enter Position Information In the Target Position block of the Job


for new Employee Information section fill in at least the manda­
tory fields:

 Note
Position: select your formerly created po­
sition from drop-down. Several fields re­
lated to organizational information and job
information will be auto-populated from
that position based on a propagation rule
configured in the instance.

After having selected the position, you can se­

lect the View Org Chart icon next to this


field to view details on the position in the org
chart.

9. Continue Choose Continue. The Compensation Information section


in the Add New Employee screen is ex­
panded.

10. Enter Compensation Infor­ In the Compensation Information block fill in at


mation for new Employee least the mandatory fields.

11. Submit Data Choose Submit or Continue, both options have A success message is generated by the
system informing you about the hire date
the same result.
of the new employee. You may choose
to view the employee’s profile, add hiring
data to another new employee, or simply
return to the home page.

Replicating Data from Employee Central to ERP HCM: Test Script


12 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

12. View Employee Profile Choose the View profile of <new employee You are directed to the Employee Files
name> link. page of the newly hired employee.

Make a note of at least the following hir­


ing data, to be able to check it in the ERP
HCM system later:

• Hire date (will be Start date in ERP


HCM)
• First Name
• Last Name
• Gender
• Position
• City
• State

 Note

Similar to the hiring process described above you may create data for scenarios such as:

• an employee's termination
• organizational or pay changes
• an employee's rehire

You can include the used data in the following replication process.

5.2 Replication Reports

Following the next steps you will walk through the replication reports for employee and organizational data:

• Replicate Organizational Data


• Replicate Employee Master Data
• Replicate Organizational Assignments

This is a procedure you only execute once. After setting up the replication the reports will run on their own and
only need to be triggered manually if errors occur.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 13
5.2.1 Replicate Organizational Data

Purpose

This report is used to replicate Organizational Objects such as Business Unit, Division, Department, Job
Classification and Position from 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 Program Execution In the menu bar of the SAP Easy Access page The ABAP: Program Execution page ap­

navigate to More System Services pears.

Reporting or call up transaction SA38


Program Execution.

3. Enter Program Name Enter program The Create and Execute Organizational
RH_SFIOM_ORG_OBJ_REPL_QUERY and Object Replication Query report selection
choose Execute. appears.

4. Enter Selection Criteria Transformation Template Group: select


under Select Query Pa­ SBP_OM_EC_ERP
rameters
 Note
With this SAP Best Practices solution, we
deliver a Transformation Template Group
SBP_OM_EC_ERP which contains a spe­
cific set of mappings. This mapping infor­
mation is used when transferring data be­
tween Employee Central and ERP HCM.

Full Transmission Start Date: Enter the date


when you start to use Employee Central as
the master system of organizational data. En­
sure that all the different replications use the
same FTSD.

Replicating Data from Employee Central to ERP HCM: Test Script


14 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

5. Enter Selection Criteria EC Org. Object Type and EC Org. Object ID:
under Select Specific Ob­ Leave the values blank if you like to run
jects the replication report for all organizational ob­
jects. If you like to restrict the object type
and/or organizational objects, then enter spe­
cific values.

6. Enter Selection Criteria Change Date: You can restrict this selection to
under Select Objects with organization objects that were changed after
Data Changes After a specific date by specifying the date. If not,
leave the date blank.

7. Enter Selection Criteria Initiate Full Load: Enable this checkbox if you
under Initiate Full Load would like to trigger a full load manually. Trig­
gering a full load resets the modified date to
January 1, 2000 and extracts all data changed
after this date.

8. Enter Selection Criteria Enable Payload Logging: Enable this checkbox


under Logging if you would like to transfer extended log infor­
mation.

9. Execute Report Choose Execute. The relevant replication requests have


been selected. The statisctics of the quer­
ies can be checked using transaction
SFIOM_RESET_QRY_ADM.

After processing, the staging area tables


are updated.

Messages triggered by the program are


written to the standard application log. To
check the messages, call up transaction
Analyze Application Log (SLG1).

10. Check Staging area Call up transaction Check the status of the update in the
SFIOM_VIEW_ORG_REQS to check the re­ Status Text column of the record. Mes­
cords in the staging area. Choose the record sages triggered by the program are writ­
line items to be processed and select Process ten to the standard application log. To
Selected Requests. check the messages, select the record
and select Application Log. You can also
call up transaction Analyze Application
Log (SLG1) to view the messages.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 15
5.2.2 Replicate Employee Master Data

Purpose

This report creates and sends a query to replicate employee master data from Employee Central to ERP HCM.

 Note

If you have set the related parameter in the configuration of Employee Master Data and Org. Assign. Query
(V_ECPAO_QRY_CFG) Customizing view, it also requests the transfer of the employees’ organizational
assignments (such as employee-department or employee-manager assignments) from Employee Central.

Access this Customizing Activity via: Personnel Management Integration Settings for SuccessFactors
Employee Central Business Integration Builder Employee Data Integration Define Parameters for
Employee Master Data and Org. Assignment Query

The query runs for all employees specified by the selection criteria, based on the Transformation Template
Group.

Usually, you schedule the program to run in the background as a batch job. You can use a suitable variant and
choose any time intervals that suit your specific requirements.

You can also run the program manually. This is described in the following section.

Prerequisites

You have established the required settings for the Business Integration Builder in Customizing.

Access these Customizing Activities via: Personnel Management Integration with SuccessFactors Employee
Central Business Integration Builder .

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.

Replicating Data from Employee Central to ERP HCM: Test Script


16 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

2. Go to Program Execution In the menu bar of the SAP Easy The ABAP: Program Execution page appears.

Access page navigate to More

System Services Reporting or


call up transaction SA38 Program
Execution.

3. Enter Program Name Enter program The Create and Execute Employee Master Data
ECPAO_EE_ORG_REPL_QUERY and Org. Assignment Query page appears.
and choose Execute.

4. Enter Selection Criteria for Transformation Template Group: se­


Extraction Template Group lect SBP_EE_EC_ERP

 Note
With this SAP Best Practi­
ces solution, we deliver the
Transformation Template Group
SBP_EE_EC_ERP which con­
tains a specific set of mappings.
This mapping information is used
when transferring data between
ERP HCM and Employee Central.

5. Enter Selection Criteria for External Employee ID: choose the ap­
Select Specific Employees propriate employees from your Em­
ployee Central instance.

 Note
If the Person ID in Employee Cen­
tral has leading zeros, make sure
to enter the full ID including all
leading zeros.

6. Enter Selection Criteria Change Date: leave empty, to not


for Select Employees with restrict the selection to employees
Data Changes After whose master data (or organiza­
tional assignments if applicable) was
changed after a specific date

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 17
# Test Step Name Instruction Expected Result

7. Enter Selection Criteria for Enable Payload Logging: Select the


Test and Logging checkbox.

 Note
Select this checkbox to transfer
extended information. We recom­
mend selecting the check box.

Test Mode: select the check box to


carry out a test run.

8. Execute Report Choose Execute. The report is carried out in test mode.

If the test has run without errors, you can carry


out the production run.

9. Choose Back Choose Back. The report with its selection criteria appears
again.

10. Enter Selection Criteria for Test Mode: Unselect the checkbox.
Test and Logging

11. Execute Report Choose Execute. The report is carried out in production mode.

The program updates table ECPAO_QRY_ADM


(Administration of Employee Master Data and
Org Assign. Query). It stores an entry for each
run of this program, that is, for each query.

The program also updates table EC­


PAO_QRY_ADMDT (Selection Parameters for
EE Master Data and Org. Ass. Query) with the
parameters you entered on the selection screen
of this program.

Messages triggered by the program are written to


the standard application log. To check the mes­
sages, call up transaction Analyze Application Log
(SLG1) and enter object ECPAO_IN.

5.2.3 Replicate Organizational Assignments

Purpose

This section is a follow-up to Replicate Employee Master Data [page 16].

Replicating Data from Employee Central to ERP HCM: Test Script


18 PUBLIC Test Procedures
If you have set the related parameter in the Customizing View Configuration of Employee Master Data
and Org. Assign. Query (V_ECPAO_QRY_CFG), it also requests to transfer the employees’ organizational
assignments (such as employee > department or employee > manager assignments) from Employee Central.
These data are stored in the staging tables in ERP HCM.

Access this Customizing Activity via: Personnel Management Integration with SuccessFactors Employee
Central Business Integration Builder Employee Data Integration Define Parameters for Employee Master
Data and Org. Assignment Query.

The report in this section is used to process replication requests for organizational assignments in the staging
area and to post the results to the database in the ERP HCM system.

Organizational assignments replicated from Employee Central are first stored in the staging area in ERP HCM.
Based on the information in these replication requests, this program creates the employees' assignments or
relationships to managers, cost centers, organizational units, jobs, and positions in the ERP HCM system.

Usually, you schedule the program to be run in the background as a batch job. It is triggered whenever
replication requests are written to the staging area tables. In addition to the background jobs that are
registered on the events, we recommend that you schedule a periodical background job, which picks up all
replication requests that couldn't be processed yet.

You can also run the program manually. This is described in the following section.

You can replicate assignments of employees to:

• Managers
• Cost centers
• Departments
• Divisions
• Business units
• Job classifications
• Positions

 Note

Position assignments are replicated if Position Management is enabled in Employee Central. We


assume that Position Management is enabled.

Prerequisites

The employees and managers themselves must have been previously replicated. In addition, the mapped cost
center organizational unit, job, and position must already exist in the ERP HCM system. The parameter to
replicate organizational assignment along with employee master data must have been set in the Configuration
of Employee Master Data and Org. Assign. Query (V_ECPAO_QRY_CFG) Customizing view.

Access this Customizing Activity via: Personnel Management Integration with SuccessFactors Employee
Central Business Integration Builder Employee Data Integration Define Parameters for Employee Master
Data and Org. Assignment Query.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 19
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 Program Execu­ In the menu bar of the SAP Easy The ABAP: Program Execution page appears.
tion Access page navigate to More System

Services Reporting or call up trans­


action SA38 Program Execution.

3. Enter Program Name Enter program The Replicate Employee Org. Assignments from
RH_SFIOM_PROC_EE_ORG_ASS_RPRQ EC to ERP Org. Mgmt page appears.
and choose Execute.

 Note
You can call up this program using
transaction SFIOM_PROC_ORG_ASS.

4. Enter Selection Crite­ Fill in the fields Employee ID and/or


ria Manager Employee ID according to your
needs.

Mark the checkbox Processing of failed


requests to only process failed replication
requests.

5. Execute Report Choose Execute. The relevant replication requests have been se­
lected. After processing, the staging area tables
are updated.

Refer to staging area results as described in


Status Check of Staging Area for Employee
Organizational Assignments.

 Note
You can also execute organizational assign­
ment requests from the staging area.

Messages triggered by the program are writ­


ten to the standard application log. To check
the messages, navigate to transation Analyze
Application Log (SLG1).

Replicating Data from Employee Central to ERP HCM: Test Script


20 PUBLIC Test Procedures
5.3 Status Check of Replication

Following the next steps the HR Administrator checks if the employee and organizational data have been
replicated with the appropriate infotypes in the ERP HCM system.:

• Status Check of Organizational Data Replication


• Status Check of Employee Replication
• Status Check of Staging Area for Organizational Objects
• Status Check of Staging Area for Employee Organizational Assignments
• Analyze Application Log

5.3.1 Status Check of Organizational Data Replication

Purpose

This report checks the status of the queries for the Organizational Object, especially for the Transformation
Template Group SPB_OM_EC_ERP..

Prerequisites

The report for replication for Organizational Assignments has run.

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 Program Execution In the menu bar of the SAP Easy Access page The ABAP: Program Execution page ap­

navigate to More System Services pears.

Reporting or call up transaction SA38


Program Execution.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 21
# Test Step Name Instruction Expected Result

3. Enter Program Name Enter program The Reset Organizational Object


RH_SFIOM_RESET_QRY_ADM and choose Replication Query page appears.
Execute.

 Note
You can call up this program using trans­
action SFIOM_RESET_QRY_ADM.

4. Check Report Output Check if the status of the quer­ The status of the queries for the Organi­
ies for Transformation Template Group zational Objects has been checked.
SPB_OM_EC_ERP is set to Successful.

 Note
If the status is not successful mark the ap­
propriate query and choose Delete Query.

5.3.2 Status Check of Employee Replication

Purpose

This report checks the status of the queries for the Employee Master Data and Org. Assignment, especially for
the Transformation Template Group SBP_EE_EC_ERP-

Prerequisites

The report for replication of Employees has run.

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.

Replicating Data from Employee Central to ERP HCM: Test Script


22 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

2. Go to Program Execution In the menu bar of the SAP Easy Access page The ABAP: Program Execution page ap­

navigate to More System Services pears.

Reporting or call up transaction SA38


Program Execution.

3. Enter Program Name Enter program The Reset Employee Master Data and
ECPAO_EE_ORG_RESET_QRY_ADM and Org. Assignment Query page appears.
choose Execute.

 Note
You can call up this program using trans­
action ECPAO_RESET_QRY_ADM.

4. Check Report Output Check if the status of the quer­ The status of the queries for the Em­
ies for Transformation Template Group ployee Master Data and Org. Assignment
SBP_EE_EC_ERP is set to Successful. has been checked.

After a successful completion of the data


 Note
transfer (Organizational Data Replication
If the status is not successful, mark and Employee Org Assignments), check
the appropriate query and choose Delete the data in the Staging area.
Query.

5.3.3 Status Check of Staging Area for Organizational


Objects

Purpose

Organizational Objects are replicated into a staging area in the ERP HCM system. This report displays
replication requests for organizational objects from Employee Central with the corresponding organizational
objects in the ERP HCM system (if available).

The program displays replication requests referring to the following Employee Central object types and their
corresponding ERP HCM object types:

Employee Central Object Type ERP HCM Object Type

Department Organizational Unit

Division Organizational Unit

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 23
Employee Central Object Type ERP HCM Object Type

Business Unit Organizational Unit

Job Classification Job

Position Position

Prerequisites

The report for replication of Organizational Assignments has run.

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 Program Execution In the menu bar of the SAP Easy Access The ABAP: Program Execution page ap­

page navigate to More System Services pears.

Reporting or call up transaction SA38


Program Execution.

3. Enter Program Name Enter program The Display Organizational Object


RH_SFIOM_VIEW_ORG_STRUC_RPRQ and Replication Requests page appears.
choose Execute.

 Note
You can call up this program using transac­
tion SFIOM_VIEW_ORG_REQS.

4. Check Report Output Select your EC Obj. ID. The replication requests for organiza­
tional objects are displayed.
To manually process your selected replication
request, choose Process Selected Requests.

Replicating Data from Employee Central to ERP HCM: Test Script


24 PUBLIC Test Procedures
5.3.4 Status Check of Staging Area for Employee
Organizational Assignments

Purpose

Employee Organizational Assignments are replicated into a staging area in the ERP HCM system. With this
report you display the replication requests for employee organizational assignments from Employee Central.

Prerequisites

The report for replication of Employees has run.

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 Program Execution In the menu bar of the SAP Easy Access page The ABAP: Program Execution page ap­

navigate to More System Services pears.

Reporting or call up transaction SA38


Program Execution.

3. Enter Program Name Enter program The Display Employee Org. Assignment
RH_SFIOM_VIEW_EE_ORG_ASS_RPRQ Replication Requests page appears.
and choose Execute.

 Note
You can call up this program using trans­
action SFIOM_VIEW_REQUESTS

4. Check Report Output Select your Employee ID. The replication requests for Employee
Organizational Assignments have been
To manually process your selected replication
displayed.
request, choose Process Selected Requests.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 25
5.3.5 Analyze Application Log

Purpose

This function is used to analyze the logs and their messages and to get more information about them.

Prerequisites

The report for replication of Organizational and Employee Data has run.

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 page The Analyze Application Log page ap­
Log navigate to: pears.

SAP Menu Human Resources

Payroll <your continent> <your

country> Utilities Analyze Application

Log

or call up transaction SLG1 Analyze


Application Log.

3. Enter Search Criteria In the Object field choose ECPAO_IN. The Analyze Application Log page ap­
pears.

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

Replicating Data from Employee Central to ERP HCM: Test Script


26 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

5. Check Report Output Check the log for errors. The Application Log to analyze the rep­
lication of Organizational and Employee
If the navigation tree contains a line with a red
Data has been checked.
icon, a problem classified as very important
has occurred.

By double-clicking the red icon, a message


text appears, giving more information about
the error.

Choose Details to investigate further.

Drill down with Glasses for more technical in­


formation.

Solve the issue.

5.4 Check Replicated Infotypes

Purpose

The HR Administrator checks whether the employee and organizational data of the new hired employee is
replicated from Employee Central into the appropriate Infotypes in the ERP HCM system.

Prerequisites

An employee has been hired in Employee Central and the replication reports for employee and organizational
data have been run without errors.

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.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 27
# Test Step Name Instruction Expected Result

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 up transaction PA20.

3. Select Employee In the Personnel no. field use the value help to Infotypes with green check marks inform
search for the newly-hired employee. Choose about data stored in the system.
ENTER .

4. Check Infotype Organiza­ Select Infotype Organizational Assignment Organizational data of the new hired em­
tional Assignment (IT0001). ployee has been checked in the ERP
HCM system.
Choose the Display icon to view the Info­
type record.

Check to see whether the Start field contains


the correct start date you entered during the
Hiring Process in the Employee Central in­
stance.

Check to see whether the Position field con­


tains the position you entered during the Hir­
ing Process in the Employee Central instance.
Check the fields related to the Enterprise
structure or the personnel structure as well.

Choose Back.

5. Check Infotype Personal Select Infotype Personal Data (IT0002). Personal data of the new hired employee
data has been checked in the ERP HCM sys­
Choose the Display icon to view the Info­ tem.
type record.

Check to see whether First name and Last


name contain the names you entered during
the Hiring Process in the Employee Central
instance. Check the fields related to Gender as
well.

Choose Back.

Replicating Data from Employee Central to ERP HCM: Test Script


28 PUBLIC Test Procedures
# Test Step Name Instruction Expected Result

6. Check Infotype Addresses Select Infotype Addresses (IT0006). Address data of the new hired employee
has been checked in the ERP HCM sys­
Choose the Display icon to view the Info­ tem.
type record.

Check to see whether Address data such as


City and State contain the data you entered
during the Hiring Process in the Employee
Central system. Check the fields related to
Communication data as well, if you entered
them during Hiring.

Choose Back.

 Note

Additionally, you may check the infotypes:

• 0007 – Planned Working Time


• 0008 – Basic Pay
• 0014 – Recurring Payments/Deductions
• 0015 – Additional Payments
• 0021 – Family Member/Dependents
• 0105 – Communication

 Note

Additionally, you may check the relationships between the Organizational Objects for their correctness:

• Position – S
• Job – C
• Organizational Unit – O

For this call transaction PP01 and enter the correct Plan Version, Object Type and Object ID. Choose
infotype Relationships and then Overview.

Replicating Data from Employee Central to ERP HCM: Test Script


Test Procedures PUBLIC 29
6 Troubleshooting

This section describes a few common issues that can occur during replication testing, and how the errors can
be resolved.

No Entry in Table T510 for Key <xyz>

Error

Reason

The error message IndVal of wage type 1001: No entry in table T510 for key <xyz> occurs due to an incorrect
combination of PayScale area/type/group in the Job Information.

Solution

Review the entries and value mapping entries for these fields. Additionally, review table T510 to check if the
wage types are relevant for these pay scale combinations.

Subtype Field <ABCDE> not Mapped for Infotype

Warning

Reason

The warning messages Subtype field <ABCDE> not mapped for Infotype <1234> occur because all fields
that are hardcoded directly in the field mapping tool and not explicitly mapped are treated as subtypes. The
process is the same for all cloned subtypes. Therefore, warning messages for all fields using subtypes occur.

Solution

This does not lead to any issues in migration or replication and can be ignored.

Replicating Data from Employee Central to ERP HCM: Test Script


30 PUBLIC Troubleshooting
7 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 process:

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.

Succeeding Processes

After completing the activities in this test, you can continue testing the following business process:

Test Process Business Condition

Replicating Time Data from Employee Replication of time data from Employee Central to ERP HCM for the use of the
Central to ERP HCM payroll system.

 Note
This test process is valid for country
United States only.

Replicating Data from Employee Central to ERP HCM: Test Script


Process Chains PUBLIC 31
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 Data from Employee Central to ERP HCM: Test Script


32 PUBLIC Important Disclaimers and Legal Information
Replicating Data from Employee Central to ERP HCM: Test Script
Important Disclaimers and Legal Information PUBLIC 33
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