SAP Knowledge Base Article - Public

3211938 - Error When Cancelling Pending Leave Request

Symptom

When employee tries to cancel the pending leave request, below error is raised:

"Sorry, you cannot cancel this absence request yet. It might have been created by someone else (for example, an admin or manager), or the status might have switched from approved back to pending because of recent changes. Either way, you have to wait until an admin or manager has approved the most recent changes to the absence request before you can cancel it."

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 - Time Off

Reproducing the Issue

  1. Navigate to ESS UI / as an Admin from Admin Workbench.
  2. Try to cancel the pending leave request,
  3. Error occurs: "Sorry, you cannot cancel this absence request yet. It might have been created by someone else (for example, an admin or manager), or the status might have switched from approved back to pending because of recent changes. Either way, you have to wait until an admin or manager has approved the most recent changes to the absence request before you can cancel it"

Cause

This is a standard validation triggered if cancellation workflow is active for the Time Type. With this validation we make sure that the employee cannot cancel an Absence bypassing the cancellation workflow. 

  1. Absence was created and approved.
  2. Employee edits that absence and submit-> The status is set to pending.
  3. Now employee tries to cancel the leave request - Error raised.

Resolution

Approver needs to decline the workflow request, so that employee time status will be set to "Declined".

Keywords

Time Off, Unable to cancel time off request, Unable to cancel absence request, leave request error, TIMEANDLABOR_ERROR_CANCEL_FAILED_WAS_APPROVED, Sorry, you cannot cancel this absence request yet. It might have been created by someone else (for example, an admin or manager), or the status might have switched from approved back to pending because of recent changes. Either way, you have to wait until an admin or manager has approved the most recent changes to the absence request before you can cancel it , KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem

Product

SAP SuccessFactors Employee Central 2505