Symptom
- When approving workflows or saving correct / edit changes in an MDF object, the system returns an error message: "The new start date cannot be later than the end date. Please enter a date earlier than or equal to MM/DD/YYYY."
- In Workflows, the issue may occur even when the start date and end date being saved in the data appear to adhere to the logic. This could happen when a new timeslice is Inserted before the workflow got approved.
Environment
- SAP SuccessFactors HCM
Cause
- The error is due to expected behavior in the system when the Start Date is being modified / changed. The system does not allow changes to the Start Date beyond the previous or next record in the sequence.
Resolution
- Cancel the current workflow and create a new one with appropriate dates.
- Adjust the start date of the next record to a later date, creating room for the current record's end date.
Note that this scenario is for Edit / Correct. In case of Insert operation, mostly it is allowed in Custom MDF to enter a date later than the most previous / next record but other modules might have a code which does not allow to insert before the first record.
Even if the object is set to "Multiple Changes per day" this will still apply. When correcting or editing the Start Date of a record, it should always be set somewhere before the most previous / next record's start date.
See Also
Keywords
workflow approval error, start date later than end date, custom MDF object, effective date error, workflow pending approval, date validation error, SAP SuccessFactors, custom object workflow. , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , Problem
SAP Knowledge Base Article - Public