SAP Knowledge Base Article - Public

2821225 - Unable to Cancel Leave Request When the Request Submitted by Admin

Symptom

An employee is receiving an error message when attempting to cancel a Leave Request Workflow that has been entered by an admin user - "You cannot cancel this pending request because it was approved before your changes. Please wait until the request has been processed by the approver." or  “Sorry, you cannot cancel this absence request yet. It is possible that it was created by someone else (e.g., an administrator or manager), or that the status has changed from approved to pending due to recent changes. In either case, you have to wait until an administrator or manager has approved the most recent changes to the absence request before you can cancel it.” 

Environment

SAP SuccessFactors Employee Central - Time-Off

Reproducing the Issue

  1. Enter a Leave Request for an employee as an Admin that triggers a workflow
  2. Proxy as the employee and attempt to cancel the Leave Request
  3. Receive the following error:

"You cannot cancel this pending request because it was approved before your changes. Please wait until the request has been processed by the approver." or  “Sorry, you cannot cancel this absence request yet. It is possible that it was created by someone else (e.g., an administrator or manager), or that the status has changed from approved to pending due to recent changes. In either case, you have to wait until an administrator or manager has approved the most recent changes to the absence request before you can cancel it.” 

Cause

These are standard validation errors that can be triggered if cancellation workflow is active for the Time Type. With these validations we make sure that the employee cannot cancel an Absence bypassing the cancellation workflow. If an employee creates an Absence that goes to status Pending, the employee can cancel that Absence without a cancellation workflow. However, if the Absence was approved, the employee should not be able to cancel the absence via two-step changes.

Example:

  1. Absence was created and approved.
  2. Employee edits that absence -> The status is set to pending.
  3. Employee cancels the pending absence -> The status would be set to cancelled without approval workflow.

As concrete criteria for the firs point we check it the absence was created either by an Admin or if there was an approved workflow for that Absence.

Resolution

The employee cannot cancel the absence. The approver needs to either approve or reject the workflow.

Keywords

cancel leave request, submitted by admin, admin leave request, workflow, TIM-9881 , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions