SAP Knowledge Base Article - Public

3839433 - Unable to Cancel Leave Request

Symptom

The user is unable to cancel an existing approved or pending leave request from the Employee Self-Service (ESS) Time Off UI. The Cancel option is greyed out or unavailable, even though the associated Employee Time Record is editable.

Additionally, when an administrator attempts to edit the leave record in the Administer Time UI, the system displays the following validation error:

“Time Type Annual Leave is not assigned for User on DD/MM/YYYY”

Symptoms:

  • The Cancel option is greyed out or unavailable when the user accesses an existing absence record in the ESS Time Off UI.
  • The associated Employee Time Record is editable, but the user cannot cancel the leave request through ESS.
  • When an administrator attempts to edit the absence record in the Administer Time UI, the system displays a validation error indicating that the time type is not assigned to the user on the specified date.

Environment

  • SAP SuccessFactors Employee Central - Time Management

Reproducing the Issue

  1. Log in to SAP SuccessFactors as an employee.
  2. Navigate to the Time Off ESS UI.
  3. Select an existing approved or pending leave request.
  4. Observe that the Cancel option is greyed out or unavailable.
  5. Log in with the appropriate administrative permissions and navigate to Administer Time.
  6. Attempt to edit the corresponding Employee Time Record.
  7. Observe the validation error indicating that the time type is not assigned to the user on the specified date

Cause

The time type associated with the existing leave request is not assigned to the employee's currently active Time Profile.

The leave request was created using a time type associated with the employee's previous Time Profile. Subsequently, a new Time Profile was assigned to the employee through Job Information.

As a result, the existing leave record references a time type that is no longer associated with the employee's current Time Profile. This mismatch can prevent the leave request from being cancelled through ESS and can cause a validation error when an administrator attempts to edit the record in Administer Time.

Resolution

Depending on the leave request status and business requirements, use one of the following options.

Option 1: Update the Time Type via Manage Data

  1. Verify the employee's current Time Profile in Job Information.
  2. Identify a time type assigned to the active Time Profile and valid for the leave dates.
  3. Navigate to Manage Data > Employee Time and update the existing record with the correct Time Type.
  4. Save the changes and verify the record.

Note: If the change triggers an unwanted workflow, proceed with Option 2.

Option 2: Update the Time Type via Employee Time Import

  1. Identify the affected Employee Time record.
  2. Verify that the replacement Time Type is assigned to the active Time Profile and valid for the leave dates.
  3. Prepare and import the updated Employee Time record using the required identifiers. (Refer our KBA 2386922 - Employee Time Import)
  4. Verify the updated record and confirm that the approval status and related data remain as expected.

Important: Employee Time Import may avoid workflow triggering associated with UI-based changes. Validate this behavior in a test environment before applying the change in production.

See Also

2386922 - Employee Time Import

Keywords

SAP SuccessFactors Employee Central, Time Off, ESS, Employee Time, Administer Time, Time Profile, Time Type, leave cancellation, absence record, Cancel option disabled, Employee Time Import, Manage Data, Job Information, workflow trigger, time type assignment validation error, SAP SuccessFactors leave request cannot be cancelled, Cancel option greyed out in Time Off ESS, Unable to cancel approved leave request, Unable to cancel pending leave request, Cancel button disabled for absence record, Employee cannot cancel leave request in ESS, Leave request editable but cannot be cancelled, Existing leave request cannot be edited, Annual Leave cancellation issue, Leave cancellation option missing in Employee Self-Service, SAP SuccessFactors Employee Time Time Profile mismatch, Employee Time time type not assigned to user, Time Type not assigned for user on date validation error, Employee Time record references inactive Time Profile, Time Profile changed in Job Information existing leave request, Time Off cancellation disabled due to Time Type assignment, Administer Time validation error Employee Time, Employee Time Import update Time Type, Manage Data Employee Time workflow trigger, Employee Central Time Off Time Type assignment validation, Time Type Annual Leave is not assigned for User on, Time Type is not assigned for User on, Cancel option greyed out" "Time Off", "Employee Time" "Time Profile" "Time Type", "Administer Time" "validation error", "Employee Time Import" "workflow", Cancel Absence, Cancel leave, Cancel absence record, cancel absence request, cancel leave request, cancel leave record, unable to cancel, cancel greyed out, cancel freezed, cancel button greyed out cancel button, cancel option greyed out, cancel option. , KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem

Product

SAP SuccessFactors HCM Core 2605