SAP Knowledge Base Article - Public

3400672 - How to prevent approved Single Record Approval record from being edited or deleted

Symptom

There is business requirement to prevent any change or deletion on an already approved single record approval recording. 
This KBA explains how it can be done and what the current limitation is.

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

Resolution

  • Scenario 1: The Time Sheet is in To Be Submitted status
    • Prevent change on approved SRA recording
      This can be achieved via a save rule like below in Employee Time Sheet Entry object definition

      This rule prevents any change by the employee on any approved single record approval. You can further adjust the rule based on your business requirement.

    • Prevent deletion on approved SRA recording:
      This can be achieved by a delete rule like below in Employee Time Sheet Entry object definition



      This rule prevents deletion on any approved single record approval. You can further adjust the rule based on your business requirement.
      Attention: In delete rule, it does not check on the time type now. This is currently a known limitation.

  • Scenario 2: The Time Sheet is in To be Approved status
    • When the time sheet is submitted and pending approval, the time sheet itself is not in editable mode. You will have to withdraw the time sheet to make any change. And once the To be Approved is withdrawn, it becomes To be Submitted status.
      So by default, there is no option to delete or change an approved single record approval record in a To be Approved time sheet. 

  • Scenario 3: The Time Sheet is in Approved status
    • There is known limitation that currently it is not possible to prevent change or deletion of SRA record on an approved time sheet. 
      As workaround, you can consider using Time Recording Admissibility to prevent amendment on approved time sheet.

Keywords

SRA, single, record, approval, approved, attendance, request, workflow, submitted, time sheet, timesheet, tms, ttr, edit, update, change, delete, deletion, removal, remove, amendment, admissibility, MDF-83788, time, type , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , 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
SRA change.png
SRA delete.png