SAP Knowledge Base Article - Public

2536705 - SFOData.EmpJob returns Null data when filtered for the employee

Symptom

  • SFOData.EmpJob entity is queried with UserId filter for employee
  • Null data is returned for the same

Environment

Successfactors

Reproducing the Issue

Request:

https://<API_URL>/odata/v2/EmpJob?$select=userId,emplStatus&$format=json&$filter=userId eq 'abc'

Response:

{
"d" : {
"results" : [

]
}
}

Cause

JobInformation for this employee is not present, hence the "Null" response.

Resolution

  • This is expected behavior of SFOData.EmpJob entity
  • This entity returns data only when the JobInformation is present for the Employee

Keywords

  • SFOData.EmpJob returns null data
  • EmpJob entity does not return data in the response
, KBA , sfodata.empjob returns null data when fi , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Core all versions