SAP Knowledge Base Article - Public

2707155 - Error XX is not a Valid Value for this Field. Enter a Valid Value

Symptom

  1. You are getting an error while trying to enter a value in the code field of a custom fine tuning activity: XX is not a Valid Value for this Field. Enter a Valid Value, where XX is a the code value entered in the field.
  2. The value you are trying to enter in any of the column in the custom fine-tuning activity is getting removed on Saving the activity, after entering a value.

Environment

  • SAP Cloud Application Studio
  • SAP Business Bydesign
  • SAP Cloud for Customer

Reproducing the Issue

  1. Login to frontend UI.
  2. Navigate to Business Configuration work center.
  3. Select Implementation Projects view.
  4. Open the Activity list.
  5. Find and open the custom finetuning activity.
  6. Click on Add Row button to add a new value.
  7. When you enter a value in the code field, error appears.

Cause

If the UI is modified by you and the CCTS type is set as code then you will not be able to add a new row from the fine tuning activity.

Resolution

  1. Login to SDK.
  2. Open the relevant solution.
  3. Navigate to the BC view component of the fine tuning activity.
  4. Double click on the file to open it in the UI designer.
  5. Select the field where you have entered the value in the UI.
  6. Go to the properties tab and check the CCTS type which is maintained as code.
  7. Go to Data Modeling and select the content of the field i.e. Root - BC_SETS - Code- Content
  8. Change the CCTS type from Code to Text in the Properties
  9. Save and Activate.
  10. Deploy Business Configuration of the solution.
  11. You will be able to add rows.

See Also

As a pre-requisite you can check the below KBA if all the settings are maintained properly or not:

2692866 - Unable to Find the Custom Fine Tuning Activity in the Implementation Project

Keywords

Enter a Valid Value Unable to add row Custom fine tuning activity not working Error while adding new row Value is not getting saved in custom finetuning activity Value is getting vanished on saving the custom finetuning activity unable to save values in custom BCO Not able to save values in custom BC SET , KBA , ccts type as code , unable to add row , enter a valid value , unable to save custom finetuning activit , values are getting erased on saving bco , AP-RC-BDS-BC , ByDesign Studio Business Configuration , AP-RC-BDS-UI , ByDesign Studio UI Generation , Problem

Product

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