Symptom
Replaced By field in original time sheet is not filled upon declining approval for amendment time sheet
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
Reproducing the Issue
1. Access an approved time sheet.
2. Carry out change on approved time sheet, which will generate amendment time sheet.
3. Submit the amended time sheet for approval.
4. Got to Manage Data and check on the amendment time sheet, you will notice the amendment time sheet is in status 'To Be Approved', and Replaces field is then filled with the external code of the original time sheet.
6. Decline the amendment time sheet workflow request.
7. Go to Manage Data and check the original time sheet, and you will find Replaced By field of original time sheet is null.
Original Time Sheet (a2241fac9d834aa58c0e9069459874f4)
Cause
This is expected behaviour, because the Replaced By field of the originally approved time sheet will only be updated when the amendment time sheet is approved.
Resolution
'Replaced By' field will only be set when the amendment time sheet is in status 'Approved'. Once amendments have been approved, approval status of the original time sheet will be updated to 'Cancelled' and 'Replaced By' filled with the external code of the amendment time sheet.
This is the proper design, because only after the amendment time sheet is approved, the original time sheet is really replaced, so it is correct timing to update the Replaced by field of the original time sheet only once the amendment time sheet is approved.
See Also
Keywords
Time Sheet, Replaced By, Replaces, Blank, Replacement, Approval Status, Amendment, tracking , KBA , LOD-SF-EC-TMS , Time Sheet , Problem