Symptom
An API query is trying to retrieve purged user data via the Compound Employee API.
Environment
SAP SuccessFactors HCM
- Compound Employee
Reproducing the Issue
- User data is purged from the system
- The user runs the Compound Employee query to retrieve the data
- No results are returned for the purged user
Cause
- When a single/the only employment is purged, the person is also purged and the CE API query will return nothing.
- If multiple employments existed, and the purge of a single employment was successful, the person is still returned + a DRTMPurgeStatus record with the relevant information about employment purge.
Resolution
Returning purged records is not supported behavior via the CE API, i.e. if the complete person is purged, there is no possibility to return any data.
The data is deleted from DB during the purge and therefore if an employee's master data is completely purged, the API no longer returns any data for this employee.
If the data is partially purged – for example, if an entity such as address information is purged – the API doesn't return any information about the purged records.
See Also
Keywords
Compound Employee, purged, DRTMPurgeStatus, SFAPI , KBA , LOD-SF-INT-CE , Compound Employee API , LOD-SF-INT , Integrations , Problem