DECISION TABLE:

Decision table is a powerful feature for formulating the rules in a business or an organization. The decision tables are quite simple and easy to understand. Decision tables are used mainly because of their visibility, clearness, coverage capabilities, low maintenance and automation fitness. The business rules are structured in a table form which comprises of columns and rows. Column represents the action and condition. And row represents the values for the rules.

There are two columns,

  1. Condition Column – Definition of the rule
  2. Action Column – Operation to be done when the conditions met.

Usage:

For example, in an E-commerce company, the managers planned to sell the old stocks since its end up in paying money for inventories. There is a way to attract the customers to buy more products by giving discounts. The manager may want to give the discount for specific customers first who are buying products frequently. There comes our decision table to help. In this case we can create the decision table based on the customer sales to give discounts.

Scenario:

In our scenario, we identified the list of Shipper ID eligible for discounts. And add a special discount to those identified shippers in the decision table. We can use the decision table in views to do the discount rules.

Sample Decision Table:

1. Right click the Package and New -> Decision Table.

SAP_HANA_Studio

SAP_HANA_Studio_Decision_Table

2. Click the Data Preview to view the results.

SAP_HANA_Studio_Decision_Table_Data_Preview