SAP Knowledge Base Article - Public

3716596 - empCompensationGroupSumCalculatedNav fields are not returning value or returning incorrect value

Symptom

You are querying data from Employee's compensation data and you have noticed that for some or all employee the values returned are not correct or don't even exists.

Example Using Integration Center:

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

Environment

  • SAP SuccessFactors Employee Central
    • OData API

Reproducing the Issue

  1. Create an Integration center job or an OData API call in EmpCompensation entity.
  2. Make a navigation to empCompensationGroupSumCalculatedNav.
  3. Notice that the values you retrieved do not match the real values in the compensation history of the employee or they are returned as blank.

Cause

EmpCompensationGroupSumCalculated is an entity that returns the compensation transient fields. These fields don't actually fetch any database record, they get their values through a calculation that is done during the API call runtime.

The API user requires a specific permission to do these calculations.

Additionally, in order to have the calculated values, the "HRIS PayComponentGroup Sums Sync" job has to be scheduled to run.

Resolution

Permission

First, please ensure that the API user running the API call has the permission below:

  • Employee Data > Access for all Calculated Fields of Compensation Information with OData API

Scheduled Job

Now, you need to ensure that the job "HRIS PayComponentGroup Sums Sync" is being executed in your SF instance. Please follow these steps:

  1. Go to Schedule Job Manager.
  2. Create a schedule for "HRIS PayComponentGroup Sums Sync".



  3. You can select in action "Run now", this will trigger the job immediately.
  4. After that, the values should appear as expected:

Keywords

EmpCompensationGroupSumCalculated, HRIS PayComponentGroup Sums Sync, EmpCompensation, OData, API, Employee Central, calculation, calculated, Access for all Calculated Fields of Compensation Information with OData API , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT-INC-ODATA , ODATA API In Integration Center , Problem

Product

SAP SuccessFactors HCM Suite all versions