Managing the Conditions List
Use
Conditions list allows defining situations for which a selected business rule is allowed.
Prerequisites
- You have chosen a business object and a business rule for which the conditions are applied.
- You have the SAP _CAF_ADMIN role assigned.
- You have logged on to the SAP NetWeaver Administrator using the following URL: http://<host>:<port>/nwa and navigated to Configuration → Security → Identity Management → Composite Application Framework Authorization Tool and you have opened the Conditions tab page.
Procedure
Adding a New Condition
When more than one condition exists for a business rule, it is valid only if all conditions are true. If two or more conditions over the same attribute exist - the business rule is valid if at least one of them is true.
- Choose New Condition.
A new entry is added to the conditions list.
- Follow the instructions below to modify the condition.
Configuring a Condition
- Select the condition entry you want to modify.
- In the Attribute column, choose the business object attribute whose value you want to check.
- In the Operator column, select the comparison operator.
For more information, see the table below:
Operator Condition Description equal
Attribute = Low Value
not equal
The value ofAttribute is not equal to Low Value.
less than
Attribute < Low Value
less equal
Attribute ≤ Low Value
greater than
Attribute > Low Value
greater equal
Attribute ≥ Low Value
between
Low Value ≤ Attribute ≤ High Value
- In the Low Value column, enter a value with which you want to compare the attribute.
If you are using the between operator, also enter a value in the High Value column.
You can use$CurrentUserName to replace the current user.
For example, you can use this to check if the userId value is equal to the name of the user who is currently logged on.
- Choose Save Business Rules to confirm the changes made.
Removing a Condition
- From the Conditions List, choose the entry you want to delete.
- Choose
with the quick info text Remove.
The condition is removed from the list.
- Choose Save Business Rules to confirm the changes made.