SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Create Decision Table based Rules

Create decision table type business rules to calculate bonus percentage based on eligibility dates and assignment factor of bonus plan custom business object.

Overview

🎓 beginner 20 min. ABAP ExtensibilityBeginnerSAP Business Technology PlatformSAP S 4hana Cloud

You will learn

  • โœ”How to create decision table based business rules Rule entity is the technical representation of a simple business rule to be applied to a business case. It defines a business logic that, once evaluated against live data, leads to a decision. A rule includes one or more conditions, and outputs that triggered upon satisfaction of the condition or conditions. Rules can be adapted to the increasing complexity of business cases by combining any number of rules to a rule set.Rule can be of different type like decision table rule or text rule.
Unknown U Unknown March 21, 2023
Created by March 21, 2023
Contributors

Prerequisites

Steps

Intro

Rule Expression Language is an expression language which enables to define condition and result values in decision table and text rule.


For more information, you can read the help documentation:

Rule

Rule Expression Language

Step 1 Create decision table
โ€”

  1. Switch to Rules tab.

  2. Click + to add rule.

    create rule
    create rule

  3. In the New Rule popup, enter the following:

    • Name: ELIGIBLE_BONUS_PERCENTAGE or any name of your choice

    • Type: Decision Table

  4. Click Create.

    enter rule props
    enter rule props

  5. In the Details tab, enter the following values:

    • Label: Bonus Percentage Eligibility Rule or any label of your choice

    • Description: Calculate minimum bonus percentage based on custom business object of S/4HANA (which is: bonus plan) or any description of your choice

    enter rule props
    enter rule props

Step 2 Configure decision table settings
+
Step 3 Define conditions and result expressions
+
Step 4 Activate decision table
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Create decision table 2. Configure decision table settings 3. Define conditions and result expressions 4. Activate decision table

Learn more →