Symptom
Validation Rule does not work as expected on Cancel Action and only works for Save action
Environment
SAP Cloud for Customer
Reproducing the Issue
- Navigate to the required screen ( eg: an Opportunity screen ).
- Start Adaptation mode.
- Create a Validation Rule for a field OR create a Rule for a Change Property ( such as Mandatory, Visibility etc.) using Rule Editor.
- Save and Apply your changes.
- Enter Edit mode for the screen.
- Click on Cancel button instead of Save Button.
- The error message set by the Rule does not come up.
Cause
Validation Rules work only for onSave action means only when clicking Save button.
Resolution
This is expected behaviour.
Keywords
Rule not working, Validation Rule not working, Rule not working on Cancel , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , Problem
Product
SAP Cloud for Customer add-ins 1805 ; SAP Cloud for Customer add-ins 1808 ; SAP Cloud for Customer add-ins 1811