SAP Knowledge Base Article - Public

2760663 - You receive an error message "Your entry is too long. Do not enter more than X character(s)." while maintaining data in a UI field.

Symptom

You have maintained some value in the OVS field, and while doing so you receive the following error message:

"Your entry is too long. Do not enter more than X character(s)."

Meanwhile OVS works as expected and displays desired values.

Environment

  • SAP Cloud Application Studio
  • SAP Hybris Cloud For Customer
  • SAP Business ByDesign

Reproducing the Issue

  1. Please navigate to the Work Center "ABC". (ABC refers to the name of the Work Center)
  2. Navigate to the view "DEF". (DEF refers to the name of the view)
  3. You may either open a specific Thing Inspector or Quick Create or neither.
  4. Input a few characters into the OVS field and observe the errror message being raised.
  5. Meanwhile your OVS still displays the value as it should.

Cause

Used OVS has a parameter "XYZ" and its configuration is maintained as "True", however this value in the SAP back-end is considered as "X",

Same goes for value maintained as "False" where in the SAP back-end it is displayed as " ".

To fix this discrepancy you have the change the value to either "X" or " " depending on the use case.

Resolution

To check whether this is the case and to apply appropriate solution please follow the below outlined steps:

ui_changes.png

Open the UI Designer and navigate to the affected screen:

  1. Select the required field and switch to the "Extensibility Explorer" tab.
  2. Select the anchor of this field. (You might have to check different anchors depending on the configuration)
  3. Press "Change ID-Field Configuration" in the Extensibility Explorer.
  4. Scroll down to the field name and expand the OVS clicking on the 3 dots.
  5. Check the value of the parameter, if it's value is "True" change it to "X".

Keywords

UI Designer, True, False, X, OVS, Your entry is too long. Do not enter more than X character(s). , KBA , AP-RC-UIF-RT , UI Framework Runtime , How To

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions