Symptom
When you CREATE/EDIT any extension field of any BO (Account, Ticket etc) there are certain scenarios where on click of save an error shows up - "Specified text 0000000000...... has exceeded its length"
Environment
SAP Cloud for Customer
Reproducing the Issue
- Login to C4C.
- Go to the given BO workcentre (the one containing an extension field).
- Open the TI or detail page.
- click on edit.
- select a value for extension field.
- Click on Save.
- Error occurs - "Specified text 0000000000...... has exceeded its length".
Cause
This scenario is mostly occurs in case of an extension field of type calculated and contains an operand field (extension field of type PDI, KUT)
example - System is saving a 60 characters field of type ID into a 40 characters field of type SHORT_TEXT which then leads to this error.
This scenario can also occur if the field data types are different.(Ex- ID to LONG_TEXT).
Resolution
It is recommended that you create a KUT/PDI field with an appropriate size. In this case, you need to create a calculated field that is compatible with the size of fields used as operands.
Keywords
field exceeded its length, calculated field, operand field, Specified text, has exceeded its length , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , Problem