Use
Rules can be used in the utilities product to dynamically model commercial requirements. Some examples of there usage are:
Checks
Derive values
Expand hierarchical products
Rules are technically epresented using BRFplus functions. For more information about using BRFplus, see the SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw731. In the SAP Library, choose .
Technical Characteristics
When a new rule is created, the system generates a BRFplus function in the respective compatible application.
In the standard system, a top expression that returns a result is expected for the function.
The following table explains the possible attributes:
Attribute | Description |
Function Name | Technical name of the function This cannot be modified and is defined as follows: UT+Application usage_ Attribute name_Creation date Example of possible entries for attribute ATTR1: UTCV_ATTR1_01012013 |
Function Description | Description of the function Default value is Application usage + Product + Attribute |
Top Expression | This defines whether a top expression is created. Selection Options:
|
Application Name | Name of the application in which the new function is generated. For more information, see General Procedure for Using BRFplus. |
Indicator | This indicates whether a function can be used for all products or for a specfic product only. The default value here is |
Note
During replication of utilities contracts, the system does not evaluate and execute any rules or functions during the download from the SAP ERP System to the SAP CRM System.
Working with Rules
Assign
You can assign rules when you create a new product. If you want to use rules, you must assign these using the search function. Note that rules with the Reusable
indicator can be used for all products.
Delete
You use the Delete
icon in the assignment group to delete the assignment of a rule to a product. If the actual rule is to be deleted, you can only do this from the BRFplus workbench.
Note
Before deleting rules, consider whether you can reuse them.
Redefine
Redefinition is supported for some rule types in conjunction with modeling components, such as the product module or reference product. This means that one of the rules inherited by a module can be replaced with a new local rule.
Activate and Save
You cannot use a rule before you have saved and activated it.
Regenerate
If you require additional context parameters following the initial generation of a new function, you can add these using the function Enhance Context.
An example of this is a situation where an additional attribute is subsequently added to a product, and the current function is to respond to the value of this attribute.