SAP Knowledge Base Article - Public

2254894 - How to fetch multiple events of a compensation information from a compound employee API

Symptom

Compound Employee API is unable to retrieve all compensation information records with same effective start. Only the record with the latest update is returned, if multiple records exist for the same time slice.

For below example, only highlighted record will get picked up by CompoundEmployee API.

 comp-2.png

Environment

Successfactors EmployeeCentral System

Cause

  • For effective dated tables that have a sequence counter, only the record with the highest sequence counter will be returned, if multiple records exist for the same time slice (this affects the subsegments of job_information, compensation_information and paycompensation_recurring).
  • In above example, job information with sequence counter 2 will be returned by Compound EmployeeAPI.

Resolution

  • Compound Employee API provides a SFAPI parameter "resultOptions" which can be used to pick all the job events with same effective start date.
  • Set SFAPI Parameter value as resultOptions=allCompensationChangesPerDay.

Keywords

KBA , LOD-SF-INT-EC , EC SF API/OData Entities , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Core 1511