SAP Knowledge Base Article - Public

3373666 - Inactive User Purge Failed with Error: "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”

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

  1. Select "Purge Inactive User
  2. Select users for purge
  3. 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.
  4. Add approver -> Click 'Launch Immediately -> become self  and Go to Purge Request Monitor > Requests Pending Final Approval and approve the request
  5. In the same screen, go to 'Purge Progress & Results'
  6. Once the request is completed, click "View Result" and download the complete report
  7. 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:  

  1. Go to Admin Center > Data Inspector
  2. Select the table Table_EMP_EMPLOYMENT_INFO > select Users Sys ID equals to > add the target User ID
  3. On the column "Person ID", copy the information
  4. 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: 

  1. Go to Admin Center > Data Inspector
  2. Select the table Table_USERS_SYSINFO > select Users Sys ID equals to > add the User ID from the other assignment.
  3. 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

sf, purge monitor, report, fail, job, 
, KBA , LOD-SF-PLT-DRM , Data Retention Management , LOD-SF-EC-DRM , Data Retention Management - (DRM & DRTM) EC Data Only , Problem

Product

SAP SuccessFactors Platform all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png