Compound Employee API
Compound Employee API
The Compound Employee application programming interface (API) for SAP Success Factors Employee Central is used to
extract employee data out of Employee Central.
The Compound Employee API is based on the Simple Object Access Protocol (SOAP).
It replicates employee master data from Employee Central to SAP systems, payroll systems, and benefits
systems.
The API returns all requested data of an employee in a single call providing a
hierarchically structured response.
The query response comprises all time slices of all entities specified in the
request. You can apply filters in the query request.
The API replicates only data that has been approved in Employee Central.
In this mode, the API returns the data as it was on the snapshot date, considering all changes, corrections, and
deletions.
In this mode, the API only returns employee data that was created, changed, or deleted since the last
replication.
In contrast to full transmission, consumers only get the changed data for an employee including the previous values, with a
clear indication on how to process the data.
A maximum SOAP message size (HTTP content size) can’t exceed 5 MB.
By default, a maximum of 200 rows is returned in a single query or query More method.
This number can be set to a value from 1 to 800 by specifying the max Rows parameter in
the query method. Reach best performance by setting the max Rows parameter to at least
400 or more.
3) Maximum Number of Employees
Due to performance limitations, we recommend that you don't retrieve more than 20,000 employees per integration
process run.
The maximum number of objects that can be exposed by the API is limited to 50,000 instances of an individual MDF object
or composite sub object per call. In case this number is exceeded, the API aborts the call and shows an error message
containing the object type in question and the limit applied.
Ensure that you don't replicate employees many times although their data hasn't changed. Use the last_modified_on
parameter to transfer only employees that have changed since the last process run.
Please note that for last_modified_on queries, it’s only possible to select data changes for up to a maximum of three
months into the past. Any date further in the past isn’t considered.
If you want to select multiple employees, don't query them one by one. Avoid selecting single employees, in particular with
a high request frequency.
A common use case here is to query data of the employees' managers. Use the associated_employee_information segment to
get the managers along with the employees, instead of querying this data separately.
Avoid triggering a large number of queries in parallel. Too many parallel queries can have a negative
impact on performance and can put the stability of your integration at risk.
API calls without a last_modified_on select parameter lead to a full extraction of employees, regardless of whether data
has changed since the last replication run. We recommend that you only use such calls in initial load scenarios or when
requesting the segment Employee Data Replication Element in order to fetch entries from the Employee Central Data
Replication Monitor.
Don't carry out mass updates (for example, using imports) in parallel with a data extraction run performed by the API. Or
else employees might not be picked up due to deferred storage on the database. Meaning that the data hasn't yet been
stored, but extraction is already running.
The API query call specifies the entities to be returned plus the selection criteria.
In each call, query More you need to specify the session ID provided by the first query response.
Query Parameters
The <param> tag contains parameters that control the behavior of the CompoundEmployee API.
Server Paging:
API Metadata Access:
The Compound Employee API also operations that returns its Metadata.