Symptom
- An application error is appearing when hiring New Employee Using auto-generate Person ID Rule.
- The application error id would be accompanied by: an application Error
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 SuccessFactor HXM Suite
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Go to Add New Employee Wizard
- Add New Hire Record
- Save
- Result: an application error
Cause
New UserID or Person ID Auto-generate by Business Rule is already in Used in the system.
Resolution
- Review User directory File (UDF)
- Go to Employee Export
- Export User directory File or UDF
- Filter UserID or Person ID
- Select the latest: UserID or Person ID
- Review Auto generate Person ID
- Go to Manage Data
- Select: Sequence
- Check Latest Current Id
- Compare User directory File (UDF) UserID or Person ID and latest Auto generate Person ID
- Update the sequence "setEmpIdNumber" via Manage Data to the current value +1
Keywords
sf, success factors, EC, New Hire, Manage Pending Hire, Exception caught: could not insert: [com.successfactors.hris.bean.eo.PersonEO], unique constraint violated: Table(PER_PERSON), Index(UC_PER_PERSON_KEY), Sequence, Manage Data, MDF Sequence object, Business Rule, auto-generate Person ID, Person ID, Add New Employee Wizard, User directory File, UDF, current , KBA , LOD-SF-EC-HIR , Hire & Rehire Wizards , Problem