Symptom
You are executing an HR operation with a certain employee, but the same is failing with error message "Time model valid between DD1.MM1.YYYY1 and DD2.MM2.YYYY2" (where DD1.MM1.YYYY1 stands for an actual date which is before DD2.MM2.YYYY2).
Environment
SAP Business ByDesign
Reproducing the Issue
This can happen on different HR operations, but here is an example of how it can be reproduced when trying to terminate an employee:
- Go to the Personnel Administration work center.
- Access the Regular Tasks view.
- Open the option Terminate Relationship with Employee.
- Select the relevant employee.
- Provide necessary information for the mandatory fields Last Working Day and Termination Category.
- Click Save.
- Error occurs.
Cause
This issue can occur when an employee is assigned to a work schedule that does not cover an employee's entire time profile. For example, the work schedule can be valid from a certain date (the date DD1.MM1.YYYY1 in the error message), but the employee's time profile starts on an earlier date. This means that, although the employee's time profile begins earlier than that, the employee's time model is only valid in the period where it overlaps with the work schedule's validity. While the employee's time model is in this inconsistent state, some HR operations cannot be completed.
Generally, it's not possible to assign a work schedule that does not cover the employee's time profile start date; that is: a work schedule that either starts at the same date or before the beginning of the employee's time profile validity. This means such a scenario usually occurs if the work schedule is edited after being assigned to the employee.
Resolution
Check the involved work schedule and take necessary action to ensure that there is not gap between the work schedule's validity and the employee's time profile validity, which would in turn set the employee's time model back to a consistent state.
Keywords
Time Model, Valid Between, Time Profile, Work Schedule , KBA , SRD-HR-PAD , Personnel Administration , How To