SAP Knowledge Base Article - Public

3700296 - The User entity response in the SF Odata API is empty, even though the RBP is correct.

Symptom

The User entity response in the SF Odata API is empty, even though the RBP is correct.

"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 HCM suite

  • SF Odata API User Entity

Reproducing the Issue

Empty response when querying: {{URLTest}}User?&$format=json

Cause

Same userId field is added in the 'Manage Business Configuration' > Employee Profile > User Info

Resolution

1. Remove the userId from userinfo-element via data model in the provisioning:

<userinfo-element id="userId" type="varchar" required="false" reportable="true">
    <label xml:lang="en-US">User ID</label>
    <label xml:lang="en-GB">User ID</label>
  </userinfo-element> 

2. Refresh the SF Odata metadata.

Please notes:

1. The userinfo element cannot remove it from SF UI, the removal is only supported through the provisioning.
2. We default to using the userId from the Standard Element, please do not create duplicate fields in the User Info section, as this may prevent the API from functioning properly.

See Also

  • KBA 3602575 - user skipped in IAS/IPS due emails & familyName missing
  • KBA 2171588 - OData API Metadata Refresh

Keywords

IPS job skipping, missing emails, missing family name, OData API, duplicate userId configuration, Empty User, Empty name in SCIM , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Core 2511