Symptom
You are running Compound Employee API queries and you noticed that the response return no data.
However, when looking at the response payload, you see that it contains a hasMore=true value.
Environment
Compound Employee API
Cause
API user was granted restricted target population access to Compound Employee API through RBP "Employee Central Compound Employee API (restricted access)".
Resolution
This issue usually occurs when the permission "Employee Central Compound Employee API (restricted access)" with a restricted target population is set for the API user.
The response is returned as blank because all records that would be returned on that page do not match the target population set to the API user. So the records that match the target population could still be returned in subsequent pages when using queryMore operation.
Keywords
compound employee api, no data, blank, empty, hasMore=true, hasMore, restricted access, target population , KBA , LOD-SF-INT-CE , Compound Employee API , Problem
SAP Knowledge Base Article - Public