SAP Knowledge Base Article - Public

3225953 - Employee Time Sheet status Cancelled With Workflow Status as Approved

Symptom

“Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“

Status of Employee Time Sheet in Manage Data shows as 'Cancelled' although the Workflow status is shown as 'Approved'

Environment

SAP SuccessFactors Employee Central – Time Sheet

Reproducing the Issue

  1. Employee records timesheet.
  2. Employee's Timesheet is sent for approval from the Manager.
  3. Manager approves the timesheet of the Employee.
  4. After approving, Manager amends (saves) the time on behalf of employee.
  5. Manager submits it again.
  6. Check statuses of workflow (Manage Workflow Requests) and Employee Time Sheet object in Manage Data.

Cause

Standard System Behavior

Resolution

  1. Employee records time (say 6 hours) on 18th July 2022 and Submits 
  2. Manage Workflow Requests – Request is sent for approval.
  3. Proxy as Manager.
  4. Manager approves the request.
  5. After Approving the request (as per above), Manager decides to reduce number of hours for this employee i.e. 4 hours (shown below)
    Changes the recording time from 06:00 to 04:00 hours


  6. There is no need to approve this request again as the Manager has done the changes. Hence the status of the timesheet will be Approved (instead of To be Approved)
  7. Manage Workflow Requests > Shows Approved Status


  8. Manage Data > Employee Time Sheet (Shows Cancelled Status)
    9b5d6e4f20cd4b61911dd5f8b583527a 

  9. Replaced By d605011553344eae96e307dd9eaa9005

See Also

For the second scenario of time sheet, the current situation is the following. 
 
First, the time sheet 9b5d6e4f20cd4b61911dd5f8b583527a was recorded and approved (That is the workflow with the now cancelled valuation results). 

Later, an amendment was done (our logic is to not change approved data, hence, the old time sheet is still in the system but in cancelled state). 

The amended time sheet (d605011553344eae96e307dd9eaa9005) was then eventually approved which triggers a cancellation of the other time sheet for the same period. These time sheets are also linked with the “replaces” and “replaced by” fields.
 
The workflows can only reference one time sheet, so when the workflow of the Old time sheet is opened it will now show cancelled although the workflow once was approved.

Keywords

KBA , LOD-SF-EC-TMS , Time Sheet , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions

Attachments

Pasted image.png
Pasted image.png