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.

 2019_08_09_05_48_03_Engineer_Assistant.png

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

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

Compound Employee API, multiple events of compensation information , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Core 1511