Symptom
Unable To Purge User with multiple Employment
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Environment
Employee central - Concurrent Employment
Reproducing the Issue
- Rehired a user using a "Rehire with New Employment"
- Terminate user Via - MSS Take action
- purge user
- Go to Purge monitor export result
Result: User XXXXXXX could not be purged because it is a Main Assignment. You have several options. You can change the person’s Main Assignment in Manage Data, or you can purge the Main Assignment along with all other users for the person, or you can purge all other users for this person before the Main Assignment
Cause
Issue with the deployment and the tables for purging.
Resolution
Step1: Enable Concurrent Employment Management
- Go to "Manage Employee Central Settings" in Admin Center
- Enable the "Concurrent Employment Management"
- Wait for a few minutes for the feature settings to refresh
- Apply the same steps in Option A
Once the purge is successful, you can disable the feature: Concurrent Employment Management Go to admin center
- Manage Employee Central Settings
- enable or disable: Concurrent Employment Management
Step 2: Create Secondary Assignments
- Navigate to Manage Data
- Create New --> Secondary Assignments.
- Enter Effective Start Date: The Hire/Rehire date of employment (the active one or that you want to be the main)
- Define Person Id external, this can be found in the biographical info, sometimes it is named personId on the UI (the active one or that you want to be the main)
- Define Externalcode, can be any unique string (Any text or/and number string that will make sense to your business scenario)
- Enter Employment/UserId, select employment (the inactive one or the one to become secondary)
Step 3: Purge user
- See 2585473 - ##### Belongs to EC Data Thus Can't Be Purged / There is data for this user in Employee Central (EC)
See Also
2749427 - Unable To Permanently Purge user after a Soft Purge
Keywords
User XXXXXXX could not be purged because it is a Main Assignment. You have several options. You can change the person’s Main Assignment in Manage Data, or you can purge the Main Assignment along with all other users for the person, or you can purge all other users for this person before the Main Assignment, , KBA , LOD-SF-EC-CON , Concurrent Employment , LOD-SF-EC-DRM , Data Retention Management - (DRM & DRTM) EC Data Only , Problem