Symptom
- A default value rule is set via Adaptation mode to change a field of the "Date/Time" type.
- When this rule is triggered, the error "Please enter a valid start date; is no valid format." or similar is shown.
- If the document is saved, the Date may go to 01.01.1970 - this is the Date
Environment
SAP Cloud for Customer
Reproducing the Issue
- Configure a default value rule for a "Date/Time" field using Adaptation mode.
- Trigger the rule.
- Observe the error message "Please enter a valid start date" or similar.
- Save the document and check if the date defaults to
Cause
- The error typically occurs due to a rule configured for a "Date/Time" field.
- The calculated value results in an invalid date or a date in the past, often caused by unsupported arithmetic operations.
Resolution
- Review the rule logic thoroughly for any errors in the calculation.
- 2. Ensure the calculated value does not result in an invalid or past date.
- 3. Avoid using arithmetic operations for "Date/Time" fields as they are not supported in the rule editor.
Keywords
Date field error, invalid date format, default value rule issue, rule logic error, impossible date calculation, past date error, SAP Cloud for Customer, Adaptation mode, Date/Time field configuration, arithmetic operation issue, invalid start date, date reset to 1970, rule editor limitation, date calculation error, date formatting issue, invalid date error, unsupported operations, invalid default date, invalid rule configuration, invalid date logic, error message, invalid input , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , Problem
Product
SAP Cloud for Customer core applications all versions
SAP Knowledge Base Article - Public