Symptom
You would like to make use of UI Rules and Validations while adapting a custom screen.
Environment
- SAP Cloud for Customer
- SAP Cloud Applications Studio
Reproducing the Issue
Prerequisites:
-
- You have created an add-on on the Studio.
- You have created a custom BO.
- You have created custom screens or an EC.
- You have created the required extensibility anchors for the UI components.
Reproducing the issue:
- Navigate to the custom screen.
- Start Adaptation mode.
- The option to create the rule is missing.
Cause
UI rules are supported for certain screens.
Resolution
The adaptation rules are supported only in the TI, QC and QV/QT screens.
One possible workaround for other screens is to create a Calculation Rule to control the field behavior on the UI Designer.
See Also
SAP blog post: How to dynamically control a field behavior on a custom screen
SAP Help Portal: Define Dynamic Behavior of a Field
Keywords
PDI, SDK, UI, rule, validation, behavior, dynamic, field, custom, EC, start , KBA , AP-RC-UIF-DT , UI Framework Designtime , AP-RC-UIF-FLX , Page Layout & Key User Configuration , How To
SAP Knowledge Base Article - Public