Rule Builder

Use

You use the rule builder to create and edit rules.

Integration

The rule builder is technically based on the Business Rule Framework plus (BRFplus), and is available for the following:

  • Loyalty management

    You create rules in the Loyalty Reward Rule Group and Loyalty Reward Rule applications, using the Version assignment block.

  • Territory management

    You create rules in the Territory application, using the Rules assignment block

  • SAP Real-Time Offer Management (RTOM)

    You create rules in the Campaign application for marketing, using the various rules assignment blocks such as Event Rules.

You create the following objects with the rule builder:

  • rule policies

  • rule sets

  • rules

Prerequisites

You have performed the following:

  • You have defined any additional rule conditions and rule actions you require in Customizing for Customer Relationship Management under Start of the navigation pathCRM Cross-Application Components Next navigation step Rule Builder Next navigation step Define Rule Policy TypesEnd of the navigation path.

  • If creating rules for loyalty management, you have created a loyalty program.

  • If creating rules for territory management, you have made settings for rule policies in territory management.

  • If creating rules for RTOM, you have made settings in Customizing for Customer Relationship Management under Start of the navigation pathMarketing Next navigation step Marketing Planning and Campaign ManagementEnd of the navigation path.

Features

The following features are available:

  • Formulas and variables

  • Rule simulation and consistency checks

  • Ability to transport rules to other systems

  • Version handling

    Rules can have multiple versions. Only one version can be valid at any point in time.

  • Rule statement

    The system stores the rule statement in BRFplus as a decision table or decision tree with rule conditions.

  • Choice of rule creation environments

    When creating rules, you can work in a rule table or a rule flow environment. The rule table allows you to create rules within a structure of rows and columns, and is available for loyalty management, real-time offer management, and territory management. The rule flow environment uses a graphical user interface and is available for loyalty management and real-time offer management. You choose your environment by using the Rule Flow/Rule Table toggle button. You must select the environment before you start creating the rule, because you cannot switch between them after you have saved the rule.

    The rule flow environment provides the following flowchart-style tools and drag-and-drop functionality:

    • Toolbar containing decision and action elements that you can drag and drop on the canvas

    • Delete and copy functions

    • Zoom slider for the canvas

    • Option to align elements on the canvas

    • Option to toggle the grid on or off in the canvas

    • Option to toggle the Details window on or off in the canvas

      This window provides information on the element that is currently selected.

    • Option to toggle the Navigation window on or off in the canvas

      This window provides a visual overview of the rule flow, which can be useful for more complicated rules.

    • Canvas area to create the rule flow

    • Floating toolbar on the canvas with options for selecting, navigating, and resizing

To use the rule flow environment, you must activate the business function Infrastructure (CRM_INF_1).

To use the enhanced functions, you must activate the business function Loyalty Productivity (CRM_LOY_PROD).

To use SAP Real-Time Offer Management, you must activate the business function SAP Real-Time Offer Management (CRM_RTOM_1).

Activities

Rule definition hierarchy

There are no technical restrictions to the number of rules you can create in a rule policy. However, we recommend that you only fill your rule policy with logically related rules to keep it concise.

Rule policy

The rule policy is a collection of logically related rule sets. Each rule policy has a rule policy type.

Rule set

The rule set is a collection of logically related rules.

Rule statement

The rule statement is a list of conditions that make up a rule.

Rule definition structure

To create new nodes to structure your rules, you can choose one of the following:

  • Rule set

  • Rule set with template

You can subsequently add rules or another rule set.

Options for defining rules and rule sets

Selection

Rule Definition

Additional Actions

Rule

  1. Create a rule.

  2. Set the rule parameters (rule conditions and rule actions) that you want to be available for the rule definition.

  3. Define the rule with the rule parameters you selected.

You can do the following with the rule:

  • Check for consistency

  • Simulate

  • Release

  • Edit

  • Transport

  • Revise

Rule with template

You use an existing rule as a template for your rule.

Rule set

You can insert another rule set in the rule hierarchy.

You must define rules.

Rule set with template

You use an existing rule set as a template for your rule set.

Rule Transport

For loyalty management and real-time offer management, after defining rules, you must transport them so that there are no inconsistencies in the destination host. The system administrator has to execute the transaction CRM_FDT_TRANS.