SAP Knowledge Base Article - Public

3641259 - Employee Time Sheet approval status reverts to pending after manually change the Approval status to "Approved" via MDF import

Symptom

  • Time sheet approval status was changed to "Approved" manually via MDF import, but the system reverted the status back to "Pending Approval" or "Pending". 
  • New Time Sheet is generated after time sheet data is directly changed in DB. 

Environment

  • SAP SuccessFactors Employee Central - Time Sheet
  • SAP SuccessFactors Time Tracking

Reproducing the Issue

  1. Export the time sheet.
  2. Modify the approval status to "Approved".
  3. Import the modified file back into the system.
  4. Observe that the time sheet approval status is reverted to "Pending" or "Pending Approval" by the system later.

Cause

Upon manual change to the Employee Time Sheet object, the timeSheetHash field was cleared.
During the daily Time Management job execution, the Generate Time Sheet job detected a hash mismatch and treated the time sheet as requiring recalculation, resulting in the status change.

Resolution

This is expected system behavior.
The timeSheetHash field is calculated by the time management backend job to ensure the time sheet data is intact and valid.
It's strongly not recommended to manipulate the time sheet data directly from the DB.
Please refer to the following SAP documentation for guidance on automatic submission and approval of time sheets:

See Also

Keywords

time sheet approval status, mdf import, pending approval, generate time sheet job, timeSheetHash, recalculation, automatic submission, workflow approval, hash mismatch, time sheet import, approval status revert, tms, to be submitted, to be approved, amendment , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , How To

Product

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