SAP Knowledge Base Article - Public

2794361 - Application Error When trying to edit or cancel a leave request.

Symptom

You are trying to cancel a Leave request and you are getting the following application error.

KB1.jpg

Also you have noticed that you are not able to click in "Submit" even after making changes in the leave.

KB2.jpg


"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 (EC) - All Versions

Reproducing the Issue

  1. Select the Employee;
  2. Go to Administer Time;
  3. Try to cancel the leave and the application error happens;
  4. Now try to edit the leave and the Submit button is grayed out; 

Cause

There is a business rule that was deleted from the system but is still referenced in the time type.

When you create Take Rules currently the system allows you to delete this rule without first deleting it from the time type configuration which then corrupts the time type.

KB3.jpg

Resolution

  1. Take note of the time type you are trying to request;
  2. Go to Manage Time Off Structures;
  3. Select your Time Type;
  4. Click in Take Action > Make Correction;
  5. Scroll down to the session Take Rules;
  6. If you see a record like the image provided in the "Cause" then click in the trash can;
  7. Save your changes and the error will be fixed.

Keywords

getRule() FINGERPRINT: 9e834eb2216512ffec11e31e3d9f7c7f26b988ef Submit not available in leave; cannot submit a leave change cannot cancel leave submit button grayed out , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions