Symptom
You wish to round a time valuation result for payroll purposes
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Environment
Successfactors Employee Central Timesheet
Resolution
- Configure Object Definitions for the Time Valuation Results object
- Make correction and add a new Save rule
- Configure rule similar to the provided example, changing parameters to suit your business scenario
- This rule rounds a specific time valuation result pay type (DROTS) down to the nearest 15 minutes.
The multiplications are used as time is stored in a decimal value as hours. Multiplying by 4 ensures that whole numbers signify a 15 minute block
This rounded result is then again multiplied by 0.25 resulting in a value stored in hours but rounded
You can adjust the factoring depending on your requirement, for example multiplying by 2/0.5 for the nearest 30 minutes or no multiplication to round to the nearest hour.
IMPORTANT NOTE: This rounding will not be visible in the timesheet UI, only in manage data
Keywords
KBA , LOD-SF-EC-TMS , Time Sheet , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors Time Tracking all versions
SAP Knowledge Base Article - Public