Organizational Structure Replication
In SAP ECC, the data replication process utilizes Simple Object Access Protocol (SOAP) web service
protocols for organizational structure data requests where a web service request with a preconfigured
organizational object data query is sent to SAP Cloud Platform Integration. SAP Cloud Platform
Integration reads the query parameters and initiates a data extraction request to Employee Central via
an OData API call.
Based on the data selection query originating from your on-premise SAP system, Employee Central will
then send a response consisting of organizational structure raw data records back to your on-premise
SAP system in the staging area. The organizational structure raw data is then converted into
organizational management infotypes either immediately via event-based processing or at regular
intervals via a scheduled background program. The replication process supports both mass replication
and delta replication.
Organizational Structure Replication Overview
high-level task list:
1. The configuration of Employee Central configuring the technical user
2. The configuration and deployment of the SAP Cloud Platform Integration prepackaged organizational
structure iFlow.
3. SAP ECC activities include activating SOA Manager related web services, configuring the Employee
Central to SAP ECC system infotype field mapping using the Business Integration Builder (BIB) framework
for generic object replication with generic processing, and configuring background jobs.
(navigate to transaction SPRO Personnel Management à Integration with SuccessFactors Employee
Central à BIB à Org. data integration)
For employee data and organizational assignment replication scenarios, use these web services are SAP
SuccessFactors Employee Central to SAP ERP Employee Data and Organizational Assignment and ERP to
Employee Central Confirmation v2.
Both organizational data and employee data replication scenarios use the BIB integration framework for
data field mappings between Employee Central and SAP system.
Web Services Used by Organizational Data Replication
Object Type Object Name
Consumer proxy getOrganisationalObjectReplicationQuery_Out
rovider proxy OrganisationalObjectReplicationResponse_In
rovider proxy OrganisationalObjectReplicationNotification_In
Web Services Used by Employee Data Organizational Assignment Replication
Object Type Object Name
Consumer proxy getEmployeeMasterDataAndOrgAssignmentBundleReplicationQuery_Out
rovider proxy EmployeeMasterDataReplicationConfirmationBOut
rovider proxy EmployeeMasterDataAndOrgAssignmentBundleReplication Request_In
Two web service object types are involved in the replication scenarios: the consumer proxy object type
or the provider proxy object type
Importing metadata from Employee Central
Creating Value Mapping Details
Creating a Transformation Template Group
Transformation Template Setup
As part of the BIB framework, transformation template groups in SAP ecc system are provided. These
template groups are collections of fields and value mappings grouped by transformation templates.
Transformation template groups are assigned to specific Employee Central instances by their system IDs.
The data integration is performed for each transformation
spro
Personnel Management -Integration with SuccessFactors Employee Central - Business Integration
Builder-Organizational Data Integration -Define Field Mapping for Organizational Data - New Entries.
Running the Replication Process OM
The process of replicating organization data comes with two subprocesses in your SAP ecc system:
1. The organization object replication request begins with a trigger from SAP system using
program RH_SFIOM_ORG_OBJ_REPL_QUERY to send a query to replicate organizational objects
from Employee Central to SAP system through a staging area.
2. The second process uses program RH_SFIOM_PROC_ORG_STRUC_RPRQ to post the organizational
objects from the staging area into SAP ecc system Organizational Management (OM) tables. On the
program selection screen, you can restrict the object types to be read to specific organizational object
types and post to database tables
organizational object replication from Employee Central uses a staging area in SAP ECC, where
replication requests are stored before updates are made in the database
You can use a generic, configuration-based processing for all organizational objects replicated
from Employee Central. Or you use an object-specific processing – but only for the default objects
(business units, divisions, departments, job classifications, positions).( SFSFI SPOMP switch In ECC)
Replication requests are stored in these tables in generic:
SFIOM_GENRQ_HD
SFIOM_GENRQ_DP
SFIOM_GENRQ_DFLD
Replication requests are stored in the main table SFIOM_RPRQ_OSI and the following additional tables
Object-Specific Processing
SFIOM_RPRQ_OSIDT
SFIOM_RPRQ_OSXT
SFIOM_RPRQ_TEXT
SFIOM_RPRQ_OSCXT
The key mapping for organizational object is stored in the Organizational Structure Item Key Mapping
(SFIOM_KMAP_OSI) table in SAPECC.
This key mapping is created whenever an organizational object is replicated to SAP ECC. If no key
mapping is maintained in the SAP ECC system, new organizational objects are created during the initial
full load from Employee Central and also during delta replication whenever you create a new object in
Employee Central and replicate it to SAP ECC.
Running the Replication Process PA
The employee data and organizational assignment replication process includes two subprocesses in your
SAP system.
1. The employee data and organizational assignment replication request begins with a trigger from
your SAP system using program ECPAO_EE_ORG_REPL_ QUERY
This program sends a query to replicate both the employee data and the organizational assignment
data from Employee Central to your on-premise SAP system with the direct updating of employee
personnel information data in infotypes.
However, organizational assignment data is inserted in a staging area at the same time. After the
first program has completed, notice that the organizational assignment details, such as
organizational unit, job, and position, will be blank. This data will be populated by the second
program.
2. program RH_SFIOM_PROC_EE_ ORG_ASS_RPRQ, posts the organizational assignment data from
the staging area into OM tables in SAP system to update the values in the organizational
assignment infotype 0001, such as the employee’s organizational unit, job, and position.
The same program can be used manually or via background scheduling jobs through
After running both the employee and organizational assignment programs, the employee data will
be maintained and replicated from Employee Central to SAP system
Programs and Transaction Codes for Organizational Data Replication
For this And this This program is used ... Which you can access
replication action ... using this transaction
scenario ... code ...
Create and Create and Execute Organizational Object
send query Replication
to replicate Query (RH_SFIOM_ORG_OBJ_REPL_QUER
Organizational objects
data for Y)
organization
al objects
from Employ
ee Central
Reset the Reset Query Administration SFIOM_RESET_QRY_A
status Table (RH_SFIOM_RESET_QRY_ADM) DM
to Failed if
the query
Organizational objects
remains in
the Sent stat
us for a
longer
period of
time
Programs and Transaction Codes for Organizational Data Replication
For this And this This program is used ... Which you can access
replication action ... using this transaction
scenario ... code ...
Process Replicate Organizational Objects from EC SFIOM_PROC_ORG_O
replication to SAP ERP Org. BJ
Organizational objects
requests in Mgmt (RH_SFIOM_PROC_ORG_STRUC_RP
the staging RQ)
area and
post the
results to the
database
Organizatio
Display Display Organizational Object Replication SFIOM_VIEW_ORG_RE
nal objects
replication Requests (RH_SFIOM_VIEW_ORG_STRUC_ QS
requests RPRQ)
Organizatio
Delete Delete Organizational Object Replication
nal objects
replication Requests (RH_SFIOM_DEL_ORG_STRUC_R
requests PRQ)
Process Replicate Employee Org. Assignments SFIOM_PROC_ORG_A
Organizational assignments
replication from EC to SAP ERP Org. SS
requests in Mgmt (RH_SFIOM_PROC_EE_ORG_ASS_RP
the staging RQ)
area and
post the
results to the
database
Display Display Employee Org. Assignment SFIOM_VIEW_REQUES
Organizational
assignments
replication Replication TS
requests Requests (RH_SFIOM_VIEW_EE_ORG_ASS
_RPRQ)
Organizatio Delete Delete Employee Org. Assignment
nal replication Replication
assignments requests Requests RH_SFIOM_DEL_EE_ORG_ASS_R
PRQ
Organizatio Check the Display Employee Organizational SFIOM_CHK_EE_ORG_
nal replicated Assignment
Programs and Transaction Codes for Organizational Data Replication
For this And this This program is used ... Which you can access
replication action ... using this transaction
scenario ... code ...
assignments assignments Replications (RH_SFIOM_CHECK_EE_ORG_ ASS
for a specfic ASS)
employee