Symptom
- Purge job fails due to error message ""User xxxxxx could not be purged. When a purge task does not include all employments for a person, then at least one assignment of type “ST”.
- Customer wants to purge an user with multiple assignments.
Environment
SuccessFactors HCM Suite
Reproducing the Issue
-> Go to Data Retention Management and create a new purge request
- Select "Purge Inactive User
- Select users for purge
- Criteria selected for the request:
- User is active in a recruiting process
- User represents the main employment tied to a person with global assignment or concurrent employment; however, not all users belonging to that person are included in the purge rule.
- Add approver -> Click 'Launch Immediately -> become self and Go to Purge Request Monitor > Requests Pending Final Approval and approve the request
- In the same screen, go to 'Purge Progress & Results'
- Once the request is completed, click "View Result" and download the complete report
- Open the UserObjectType.csv file and see the error message reported. "User xxxxxx could not be purged. When a purge task does not include all employments for a person, then at least one assignment of type “ST”
Cause
There is another user linked to the same person ID.
Resolution
You need to use the Data Inspector tool to find the other assignment under the same Person ID,as per below:
- Go to Admin Center > Data Inspector
- Select the table Table_EMP_EMPLOYMENT_INFO > select Users Sys ID equals to > add the target User ID
- On the column "Person ID", copy the information
- Now, change the criteria to "Person ID" equals to > add the Person ID you copied.
Now, you'll see all the assignments under this Person ID. You need to check the user status before deciding how to proceed.
To check the user status:
- Go to Admin Center > Data Inspector
- Select the table Table_USERS_SYSINFO > select Users Sys ID equals to > add the User ID from the other assignment.
- Now, on the column "Valid", you'll have the user status.
If the status is "x", the user is already soft purger, and you need to hard purge it before purging the other assignments. If the status is "f", the user is inactive and needs to be soft purged. For other user status, please check KBA 3375924 - How To check User Status Via Data inspector - SAP for Me.
See Also
Keywords
Product
Attachments
Pasted image.png |
Pasted image.png |
Pasted image.png |
Pasted image.png |
Pasted image.png |
Pasted image.png |