SAP Knowledge Base Article - Public

2916802 - No data Shown When Assigning Rule to Field

Symptom

You Cannot See List Of Rules When Assigning Rule to Field

Environment

Cloud For Customer

Reproducing the Issue

 For Example:

  1. Navigate to Contracts Workcenter.
  2. Open any Contract.
  3. Click on User Icon and Start Adaptation.
  4. Select a field and click on the Rule Link below it's Set as Visible property in the Adaptation Panel.

No Data is shown.

AssignRule.png

Cause

The rule needs to be first created within the same Business Object before you can apply it to a field.

Resolution

In the Adaptation Panel:

  1. Drill all the way back to the Parent Level UI Component where you will see options Implementation, Description and UI View Area.
  2. Choose Implementation.
  3. You will have the option for Rules and Validations. Choose this and then click on Add Button.
  4. Here you can add your Rule and Apply. In this case, I have named the Rule TEST.

Next time you try to reproduce the issue, The created Rule will now appear when assigning Rule.

RuleTest.png

Keywords

Rule, No Data, Assign, Add, Assignment, Property, Visible, Mandatory, Read Only , KBA , AP-RC-UIF-FLX-FRW , UI Adaptation Framework , Problem

Product

SAP Cloud for Customer core applications all versions