SAP Knowledge Base Article - Public

2869704 - Exception While Creating A New Validation In Fiori

Symptom

You're trying to create a new validation in Fiori adaptation, but when you click on the button Apply, an exception is raised with the following message:

Error while applying changes. Only 0 out of 1 changes merged. 

exception_error.jpg

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP Cloud For Customer

Reproducing the Issue

  1. In any document start adaptation.
  2. Navigate to the top hierarchy UI Component.
  3. Drill down into Implementation option.
  4. Drill down into Rules and Validations option.
  5. Click on the button Add.
  6. Select Validation.
  7. Fill in the mandatory fields.
  8. Click on the button Apply.
  9. The exception is triggered.

Cause

There are no rules created to add with the validation. Validation can't be created without a rule.

creation_screen.jpg

Resolution

First create the rule to be used with the validation and then repeat the validation creation process selecting the rule to be used.

Keywords

Validation; Adaptation; Fiori; Rule; Exception; Error; Dump; , KBA , AP-RC-UIF-FLX-FRW , UI Adaptation Framework , How To

Product

SAP Cloud for Customer add-ins all versions