cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create a rule in FIORI Client (C/4)

former_member656724
Discoverer
0 Likes
2,507

Hello,

we try to create a field rule in Fiori Client by adaption mode. But unfortunately we cannot create a rule, we only can choose an existing rule.

Screenshot 1: Select "Rule" in the Point "Set as visible"

Screenshot 2: There will be no Option to create a rule

As in the update 1908 the rule editor will be a beta feature. Does SAP forget it in 1911 while the HTML5 will be not available anymore? Have anyone an idea how to create a field rule in Firoi Client?

Thank you so much,
Patrick

Accepted Solutions (1)

Accepted Solutions (1)

Bharathraj_A
Active Participant

Hi Patrick Albarus,

Follow the Steps as mentioned below(https://apps.support.sap.com/sap/support/knowledge/public/en/2858436.)


1.Select any element in the main screen and then select the parent element until you reach the “UI Component” element (topmost element).
2. From there drill down to “Implementation” and “Rules and Validations

How-To_Fiori_5.png

Regards,
Bharathraj

Thanks a lot!

Answers (3)

Answers (3)

DAcker
Contributor
0 Likes

@bharath.raj5dhruv.mehta

How to add a validation rule in the fiori UI? If I click on Add - Validation, in the screen no add button is visible...

Bharathraj_A
Active Participant

Hello deborah.albrecht2,

Hope this helps you.

1.If u want to activate /deactivate the existing Validation Rules, then select the Validations in " Rules and Validations". There you can activate/Deactivate the the Validations Rules.

Screen Print 1:



2. If you want to create a new validations Rule,
a. create a rule, path: Add-->Rule-->Write the Logic and apply .
b.Click on Add icon and select " Validations" in Rule and Validation Screen. Fill the Validation Name, description, Message Severity,..Message and select the Rule(created in a step) and click on apply.


Regards,

Bharathraj

dhruv_mehta
Active Contributor

Hi deborah.albrecht2 As Bharath Suggested , follow those steps and it works.

In order to reaco to Rules and Validation , you need to go to Implementation of that view. *( i think its the only point missing in bharath's answer ).

Just Got to any view area in adopation and hit on back until you see the implementation and then go in the implemantion and click on rules and validations.

former_member656724
Discoverer
0 Likes

Thank you guys for the fast help 🙂

dhruv_mehta
Active Contributor
0 Likes

1 .First click on Rule to add existing rule as you already know it.

2. For creation of new Rules

fo to relavent UI component and implementation and add new Rules in Rules and Validations.

BR

Dhruvin