Symptom
- A user with multiple employments is purged using Data Retention Time Management (DRTM) and needs to be reactivated.
- When attempting to reactivate the user via Basic Import, the import job completes successfully; however, the user is not reactivated in the system.
- When attempting to reactivate the user via Basic Import, the system sends an email with "unique constraint violated" error, saying that the personIdExternal already exists in the system.
Environment
SAP SuccessFactors HCM Suite
Reproducing the Issue
- Purge the user having multiple assignments using DRTM Master Data Purge.
- Reactivate the user using Basic Import.
- The Basic Import is successful however, the user is not reactivated on the instance.
Cause
- The user to be reactivated has multiple employments
- The user has Global Assignments (GA)/Concurrent Employments (CE) condition.
Resolution
1. Scenario for user with a single employment:
- If a person only has one employment, the Basic Import job can re-active soft purge user for this condition.
- To reactivate the purged user with one employment, refer the KBA 2392094 - Re-activate a Purged User Via Employee Import Feature.
2. Scenario for user with multiple employments:
- If the person has multiple employments, reactivation via Basic Import is not supported.
- The recommended approach is verify whether the user has Global Assignments or Concurrent Employments using the Data Inspector Tool. Select as Entity: TABLE_EMP_EMPLOYMENT_INFO and Filter: Person ID.
- If multiple employments are confirmed, perform a Hard Purge using System Identifier Purge and then recreate the user and employment records after the hard purge. Refer to KBA 2392076 - System Identifier Purge - User Permanent or Hard Purge
NOTE: all employments needs to be purged for the process to work, OR it is necessary to keep each employment under a different Employee ID (UDF) and Person ID (Biographical Info).
See Also
Keywords
Reactivate User, Soft Purge, Hard Purge, Multiple Employments, Global Assignment, Concurrent Employment, DRTM, Employee Central, sfsf, successfactors, employeeID, personID, employee ID, personIdExternal, change, activate, re-hire, reactivate, unique constraint violated, , KBA , LOD-SF-PLT-DRM , Data Retention Management , Problem
SAP Knowledge Base Article - Public