Symptom
When you create a Determination that populates a custom field of type DATE by adding a Duration field to a Date field, the system throws an error similar to:
“INTERNAL: Error: Error while evaluating assignment ({closeDate} + {extensions/ZDurationField}) in determination XYZ for property extensions/ZABC of instance "".”
Clarifications:
- The expression {closeDate} + {extensions/ZDurationField} is an example of the assignment.
- XYZ refers to the Determination name.
- The failure occurs when the Duration contains time components (hours, minutes, seconds) instead of only year/month/day components.
Read more...
Environment
- SAP Sales Cloud Version 2
- SAP Service Cloud Version 2
Product
SAP Sales Cloud Version 2 all versions ; SAP Sales Cloud and SAP Service Cloud Version 2 all versions ; SAP Service Cloud Version 2 all versions
Keywords
date determination, duration addition, iso‑8601 duration, PnYnMnD, PnDTnHnMnS, date plus duration, add operation not supported, error while evaluating assignment, duration with time components, hours minutes seconds, Y M D only, determination assignment, extensibility administration, custom field date, external hook, duration conversion, date calculation error, invalid duration format, supported duration format, date vs datetime, rounding hours to days, leap year handling, month rollover, SAP determination error, internal error evaluating assignment
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview