Show TOC

Managing the Conditions ListLocate this document in the navigation structure

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.

  1. Choose New Condition.

    A new entry is added to the conditions list.

  2. Follow the instructions below to modify the condition.

Configuring a Condition

  1. Select the condition entry you want to modify.
  2. In the Attribute column, choose the business object attribute whose value you want to check.
  3. 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

  4. 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.

  1. Choose Save Business Rules to confirm the changes made.

Removing a Condition

  1. From the Conditions List, choose the entry you want to delete.
  2. Choose with the quick info text Remove.

    The condition is removed from the list.

  3. Choose Save Business Rules to confirm the changes made.