SAP Knowledge Base Article - Public

2830824 - Application Error Occurred While Using Auto-generate Person ID Rule During Add New Employee

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

  1. Go to Add New Employee Wizard 
  2. Add New Hire Record
  3. Save
  4. Result: an application error

Cause

New UserID or Person ID Auto-generate by Business Rule is already in Used in the system.

Resolution

  1. Review User directory File (UDF)
    1. Go to Employee Export
    2. Export User directory File or UDF
    3. Filter UserID or Person ID
    4. Select the latest: UserID or Person ID
  2. Review Auto generate Person ID
    1. Go to Manage Data
    2. Select: Sequence
    3. Check Latest Current Id
  3. Compare  User directory File (UDF) UserID or Person ID and latest Auto generate Person ID
  4. Update the sequence "setEmpIdNumber" via Manage Data to the current value +1

ID1Dependent.png

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

Product

SAP SuccessFactors Employee Central all versions