SAP Knowledge Base Article - Public

2233953 - Time Off issue while applying back dated leaves

Symptom

Scenario:

System is not allowing to submit a back dated leave.

 

When we try to apply past date leaves the system keeps on loading, blocking the whole page.

But when we apply current or future date leaves, it gets applied successfully.

Requirement:

Employees able to apply for past dated, current and future leaves.

Employees should not be able to cancel past dated leaves.

Employees should not be able to cancel past dated leaves (such as ileave's start and end date).

 

Note for PS and CS:  Rule example in Time off handbook, last page - 26.3.6.3 No Change of Time Off in the Past

Environment

SuccessFactors Employee Central V2

Time off

 

Cause

 

Business rule to prevent cancellation of back dated leaves attached to Employee Time object, were getting triggered even when trying to apply back dated leaves.

The intention of the business rule was only to prevent cancellation of leaves taken in past, and not to prevent applying back dated leaves.

The rule logic had to be fixed such that the conditions work only during cancellation.

It was modified so that it doesn't trigger during applying past date leave nor while admin is editing/modifying the past dated leave details.

But still the past leaves start and end date is editable by the employees and we need to restrict it.

prevent cancell leave rule.jpg.png

 

Resolution

The prevent cancel leave rule should be added as a take rule in all the required time types, not in the Employee Time Object definitions, for it to work properly only while applying leaves.

take rule.png

Keywords

Employee Central Time off Backdated Leave Leave Cancellation Take Rule , KBA , time off , take rule , backdated leave , employee central , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors HCM Core all versions