Symptom
- Purge Inactive User or DRTM Master Data job are completed with the status Completed with error" and "Completed with empty report"
- This KBA contains information on the Purge Reports statuses "Completed with error" and "Completed with empty report" in the data retention management tool
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
Reproducing the Issue
- Login to the customer instance
- Go to Data Retention Management
- Create New Purge Request
- Select a purge request type of your choice
- Add approver
- Schedule or Launch immediately
Resolution
We have two statuses ("Completed with error" and "Completed with an empty report") in purge reports to make them more helpful:
- The "Completed with error" status indicates there are errors that are preventing some data from being purged
- The "Completed with empty report" status indicates that no data was purged based on the criteria in the request. This can either be the criteria chosen when submitting the purge job or there is a missing information for the user that is required to DRTM Master Data job (such as country, exitDate, etc).
For any submitted purge request, you will see the following statuses:
- For Completed with error: You can view the errors under "view results" section and correct the errors accordingly.
- For Completed with an empty report: Review the purge request criteria again and resubmit. If still not working, review the user information to ensure they fulfill the criteria to be purged. Please refer to below:
- Purging Inactive Users with DRTM - Ensure the user has a Country and exitDate in UDF, and also the user's Country and the Retention Policy should be maintained for DRTM Master Data under Manage Data.
- Configuring Data Retention Times - Ensure the time retention is configured in the tenant.
- To have the time retention configured for DRTM Master Data, please update the below:
- 1. Manage Data -> Select Country/Region -> Country -> Data Retention Enabled as 'Yes'
- 2. Manage Data -> DRTM Master Data Purge -> Select 'User (User)' -> Add Country and Retention Policy.
- To have the time retention configured for DRTM Master Data, please update the below:
- Ensure the user requesting the purge have all the permissions required as per KBA: 2615360 - DRTM Master Data Purge for Inactive Users - SAP for Me.
- Ensure the below check boxes are not selected while creating the DRTM Master Data Purge request created on the instance:
Note: if the user is already inactive in the instance, then to update the country/exitDate information via employee import you need to either reactivate the user or select the option "Process inactive employees" under More Options... next to Basic Import dropdown in the import set up (KBA ref.: 2618227 - Update Username of an Inactive User through Basic Import - SAP for Me).
Please note that if you submit a request and on the Preview report and/or Complete report file it shows that "PROCESS STATUS" field was "EXCLUDED", the status over the Purge Request Monitor will still show as "Completed" instead of "Completed with errors" or "Completed with empty report".
See Also
2615360 - DRTM Master Data Purge for Inactive Users - SAP for Me
2088065 - Legacy Purge - Data Retention Management - SAP for Me
Keywords
new purge status - purge request monitor - STE-11141, sf, purge, empty, no report, Empty Report , KBA , LOD-SF-PLT-DRM , Data Retention Management , How To
SAP Knowledge Base Article - Public