SAP Knowledge Base Article - Public

3660127 - Error pops up when correcting hire date via hire date correction tool

Symptom

When attempting to correct hire date via hire date correction tool and click on save, error pops up. The error message is "cannot invoke "String.equals(Object)" because the return value of "com.successfactors.hris.api.bean.eo.IEmpEmploymentInfoEO.getAssignmentType()" is null".

Environment

SAP SuccessFactors Employee Central

Cause

The user has a concurrent assignment which has been soft purged and its assignment type is null.

To find the affected ID, follow the steps:

  1. Go to Data Inspector and open Table_PER_PERSON
  2. Filter by Person ID External and add the person-id of the affected user (available in Biographical Information portlet)
  3. Take the Person ID value (internal one available in one of the columns)
  4. Open Table_EMP_EMPLOYMENT_INFO
  5. Filter by Person ID and find the one with Is EC Record value = 0
  6. Copy the User Sys ID and open Table_USERS_SYSINFO
  7. Filter by User Sys Id to confirm. If username displays "PURGED_RECORD_" in the beginning, this is the one that must be purged.

Resolution

Perform hard purge for the assignment without assignment id.

  1. Go to Data Retention Management
  2. Access System Identifier Purge
  3. Select Purge inactive users listed in a CSV file
  4. Download the file and fill it with the affected user ID.
  5. Upload it and proceed with the hard purge.

See Also

KBA 2392076 - Permanently deleting users (Hard Purge)

Keywords

Cannot correct hire date, assignment type is null, soft-purged user, concurrent assignments soft purged, hire date correction error, error preventing hire date correction, IEmpEmploymentInfoEO.getAssignmentType()" is null  , KBA , LOD-SF-EC-HIR-HDC , Hire Date Correction Tool , How To

Product

SAP SuccessFactors Employee Central 2505 ; SAP SuccessFactors HCM Core 2505