SAP Knowledge Base Article - Public

2421048 - Script Error when adding Time Information to an employees record or Cancelling leave

Symptom

  • Application error when adding Time Information to employees Job Information record. The same application error also happens when trying to import the data.
  • Application error when canceling an approved leave

Environment

SAP SuccessFactors Employee Central

Time Off

Cause

If you go to:

  1. In Manage Time Off Structures;
  2. Time Account Type Waiting Period;
  3. Advanced;
  4. Include Inactive = Yes 

This user already has a Time Account Waiting Period ID (set to inactive).

Now when trying to add the time information for this user the system is trying to create a Time Account type Waiting Period,  but the code already exists for this user and is therefore throwing this duplicate error.

NOTE FOR INTERNAL STAFF ONLY: Please refer to the internal memo on this KBA for back-end error logs.

Resolution

  1. Navigate to Manage Time Off Structures;
  2. Access the object Time Account Type Waiting Period;
  3. Find User Record (you may need to click in advanced and select show inactive as "Yes");
  4. Click in Take Action;
  5. Permanently Delete Entry;

You should now be able to assign the Time Information to the user's Job Information and/or Cancel the leave.

Keywords

EMPLOYEE_HRIS_GO_MULTIPLE_ICS_FOR_SAME_EC, ExtCodeInternalIdIntegrityViolationException, Time Account Type Waiting Period, Adding Time Information, Script error, Cancel, Leave , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions