SAP Knowledge Base Article - Public

3388691 - How to prevent absence change based on Time Recording Admissibility

Symptom

As of 2311 release, it is now possible to prevent retroactive change on past time sheets via Time Recording Admissibility configuration. Details in WNV page Calendar in Time Recording Admissibility can be referred to. 

But the Retractive Change Restriction setting in Time Recording Admissibility does not impact the absence request, change or cancellation.

For example, 
Based on the configuration in below Time Recording Admissibility, it is not allowed to change time sheet before Oct. 01, 2023, as of Oct. 13, 2023.

In the time sheet UI, if we select some date on or before Sep. 30, 2023, we will get correct result that the Record buttons are grey for Working Times, On-Call Times and Allowance.
But the Create button is still enabled for Absences in Time Sheet UI and you can also request leave from here without issue. Also for the existing absence, you can also edit and cancel it from Time Sheet UI.

To sum up, the Time Recording Admissibility configuration does not restrict absence creation, edition, nor cancellation.

This KBA explains how to restrict absence change based on Retractive Change Restriction setting in Time Recording Admissibility.

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
  • SAP SuccessFactors Time Tracking

Cause

This is the current design. 

Resolution

It is possible to restrict absence change based on Time Recording Admissibility configuration through an Absence Validation rule. Function Check If Retroactive Changes Allowed in Period() can be used to check whether retroactive change is allowed based on the Time Recording Admissibility configuration.

Steps below can be followed, but as per how the business rule should be configured is dependent on customer's actual business need. Below business rule is just sample for your reference.

  1. Create an Absence Validation rule, for example like in below screenshot.
  2. Assign above Absence Validation rule to the absence time type that you want to prevent change based on Time Recording Admissibility configuration.
  3. After above configuration, it will NOT deactivate the Create or Edit buttons for absence in Time Sheet UI.
    But you will not be able to create, edit, cancel the absence of the time type with the Absence Validation rule assigned in Take Rule section, and the error message defined in the rule will show up in the Edit Absence popup.

See Also

3388607 - Retroactive Change Restriction section does not show in Time Recording Admissibility

Time Recording Admissibility

Creating Admissibility Rules That Define When Amendments Are Permitted

Check If Retroactive Changes Allowed in Period

Keywords

TIM-37360, b2311, time, retro, prevent, ess, mss, admin, restrict, amend, approve, 2h, 2023, payroll, absence, create, edit, cancel, UI, take, rule , KBA , LOD-SF-TTR , Time Tracking , LOD-SF-EC-TIM , Time Off , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Time Tracking all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png