SAP Knowledge Base Article - Public

2373096 - Compound Employee API not fetching data for Contingent workers

Symptom

Trying to query the Contingent Workers using Compound Employee API with filters in the WHERE clause as follows-

  • person_id_external='XXXXXX' (where 'XXXXXX' is the employee id external for the contingent worker)
  • employee_class='C' (where employee class for contingent workers is defined as 'C')

but the response always comes as follows-

CEAPI_Response.JPG

Environment

  • SuccessFactors

Cause

The mandatory filter to fetch the Contingent Worker data is missing in the query

Resolution

We need to append the below filter criteria in the CE API query and then all the Contingent Workers' data will be returned by the API-

"isContingentWorker='true'" or "isContingentWorker IN 'true','False'"  to pick up both Contingent and Permanent Employees.

Keywords

  • Contingent worker
  • Temporary Employees 
  • Compound Employee
  • Contingent 
, KBA , LOD-SF-INT-API , SF API & Adhoc API Framework , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Suite all versions