SAP Knowledge Base Article - Public

3596615 - Error occurred when editing Compensation data

Symptom

Error: "java.lang.IllegalStateException: java.lang.IllegalStateException: com.successfactors.db.dao.DAOException: HibernateException on updating instance of type class com.successfactors.hris.bean.eo.EmpPayCompRecurringEO" occurs when editing an existing Compensation Record.

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 SuccessFactors Employee Central

  • Compensation Information

Reproducing the Issue

  1. Go to People Profile Page, navigate to Compensation Information block
  2. Click clock icon, choose a record
  3. Click Edit button, the current Compensation data is as below
     
  4. Change the Pay Component fro BASE_CN to CAR_CN, then add a new BASE_CN
  5. Error pops up when click save button

Cause

Pay Component is a key value when checking duplicate record.

For the existing record, the data has been stored in database thus the error will pop up when the same pay component is added.

Resolution

Instead of changing Pay Component to another and add the same pay component again, please add the new pay component directly.

This error happens only when editing Compensation history record, it will no show up when adding new record.

Keywords

compensation information, compensation, salary, pay component, change, edit, history, system identifier, A different object with the same identifier value was already associated with the session, EmpPayCompRecurringEO  , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core 2411 ; SAP SuccessFactors HCM Suite all versions