Business Rule Framework: Rules for Change Processes in Leasing
Use
You use the Business Rule Framework (BRF) to define rules that influence the steps in the change process at item level.
You define actions that control how fields on the user interface are propagated.
The effect of this is that only the field values that you restricted via the BRF are processed via the Application Programming Interface (API) and displayed on the user interface.
The tool offers you maximum flexibility: You can edit the rules shipped in the standard system and create and assign your own rules.
In a contract, you can use rules to influence the following fields, for example:
Change Process
Effective Date
Term
Installment Calculation Procedure
For more information, see Business Rule Framework (BRF) .
Prerequisites
You have activated the Business Rule Framework for use in SAP Customer Relationship Management (SAP CRM): Customizing for Customer Relationship Management → Financial Services → Basic Functions → Business Rule Framework → Activate Business Rule Framework.
If you want to use rules for change processes, you must define these in the following Customizing activity: Customer Relationship Management → Financial Services → Leasing → Change Processes → Basic Settings for Change Processes → Define Rules for Change Processes.
You have the option of changing settings in the Business Rule Framework in Customizing, by choosing Customer Relationship Management → Financial Services → Basic Functions → Business Rule Framework.
Features
Event 0EVENT001(application class:CRM_CHANGE_PROCESS)
In this event, you can store rules for limiting the input fields in the change process. You use expressions to formulate the condition part of the rules. You use actions to define the limitation of the fields. You can therefore define which fields are to be possible on a situation basis.
Expressions
You can use tag expressions to refer to data from the application, for example refer the current change process to the financing item.
You can then perform the following:
Compare or process them further using other expressions. As a result, you formulate a condition for the rules.
Use them in the action for determining field whose values are to be limited.
You can use the following BRF standard expressions in SAP CRM:
|
Implementing Class |
Class Type |
Short Description |
|
0CRM3O001 |
F |
CRM: Boolean expression with three variables |
|
0CRMCE001 |
F |
CRM: CASE-type expression |
|
0CRMCF001 |
F |
CRM: Function module/method expression |
|
0CRMCN001 |
F |
Constant |
|
0CRMDI001 |
F |
CRM: Date interval |
|
0CRMFB001 |
F |
CRM: SAP formula interpreter |
|
0CRMFR001 |
F |
CRM: Simple formula |
|
0CRMFS002 |
F |
Application class for BRF-1O integration |
|
0CRMPM001 |
F |
CRM: Truth table |
|
0CRMRV001 |
F |
CRM: Random number generator |
|
0CRMSM001 |
F |
CRM: Field of a structure |
|
0CRMTB001 |
F |
CRM: Field of a row of an internal table |
Action
The Action for controlled propagation of fields enables you to specify limits for one or more fields. The field is first referenced using a tag expression. You can then include or exclude individual values or intervals for each field. In turn you can refer to expressions.
Standard Customizing
The following rules are shipped in the standard system:
|
Condition |
Action |
Effect |
|
0EXPR003 |
0ACTION001 |
If the change process TERM (termination) is set for the financing item, the BRF automatically change process TERM for the service item and sets the contract end date of the financing item as the effective date. |
|
0EXPR008 |
0ACTION002 |
If the change process TERM (termination) is set for the product bundle item, the BRF automatically sets the change process TERM for the financing item as well. |
Activities
You define your expressions, events, and actions in Customizing, by choosing Customer Relationship Management → Financial Services → Leasing → Change Processes → Basic Settings for Change Processes → Define Rules for Change Processes.
You use application classCRM_CHANGE_PROCESSto define input restrictions and default values.