Symptom
It is currently technicaly not supported to raise error on the flexible period time containers in time valuation.
Environment
SAP SuccessFactors Time Tracking
Reproducing the Issue
When configuring Flexible Period Time Container with Error message type in time valuation, the below Error is displayed:
"Time container groups with a flexible period definition are not allowed"
Cause
Time Container only supports "Alert and Warning" or "Alert and Error" message types currently.
But both are Alert which will not block the saving of the time recording, instead the recording can be saved but with an alert raised.
It currently does not support "Error" message type that would prevent the saving action.
Resolution
1) Currently, there is no workaround for Time Tracking customers regarding using Error message on flexible period time valuation.
However, there is an influence request on the same requirement:
Please read the details of this Influence request and vote on the below enhancement idea if you face such requirement.
https://influence.sap.com/sap/ino/#/idea/324069/?section=sectionDetails
Although blocking the saving with Error is not possible now, "Alert and Error" message type may be considered to block the time sheet submission.
"Alert and Error" still allows the saving on time sheet, but it prevents the time sheet from being submitted.
In this way, although we cannot stop the unexpected value from being saved in time sheet, we can at least stop the unexpected value from being submitted or approved for following up business flows like payroll.
2) Regarding using Time Collectors:
As described in SAP Help Page Setting Up Time Valuations for Time Collectors please keep in mind that Customer can only create "Warnings" based on time collectors if SAP SuccessFactors Time Tracking is activated in Provisioning.
Select an appropriate message type.
-- If you want to create an error message, select Error.
-- If you want to create a warning, select Alert and Warning.
Note: You can only create warnings based on time collectors if SAP SuccessFactors Time Tracking is activated in Provisioning.
See Also
KBA 3376017 - Flexible Periods in Time Valuation
SAP Help on Flexible Periods in Time Valuation
SAP Help on Setting Up Time Containers for Flexible Periods
SAP Help on Setting Up Time Valuations for Time Collectors
SAP Help on Raising Alerts for Flexible Periods
SAP Help on Using Errors or Warnings in Time Valuation
Keywords
Time container groups with a flexible period definition are not allowed, limitation, time container, error, warning and alert, message, 2nd, level, valuation, flexible, period, error, asynchronized, tv, save, saving, block, timesheet, sheet, time, tracking, submission, submit, prevent , KBA , LOD-SF-TTR , Time Tracking , LOD-SF-TTR-TMS , Time Sheet , Product Enhancement