Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

In my previous blogs I introduced the capabilities that can be used by the information modeler, data architects or application developers to model the decision table in SAP HANA Studio. Writing business rules in form of decision table from HANA Studio requires knowledge of SQL, which business users do not possess, I here introduce mechanism which are used by Business Users to manage their business rules.

Microsoft Excel is well known tool to Business Users that they use in day-to-day life to manage their business rules and data. Working with excel document to modify the rules have given the users to access, edit and view decision table in an easy-to-use, powerful and handy tool – that you can open from your desktop, phone or web. You do not need to be geeks or technical experts or possess any essential skills to amend rules. 

Some facts about managing business rules using Microsoft Excel -

  • Supported version - Microsoft Excel version 2007 onwards
  • By default, the decision table is exported by name:
       <decision-table-name>_<date>_<time>.xls or xlsx where date format is DDMMMYYYY and time format is HHMMSS [HH is 24 hours]

  • In Microsoft Excel you can -
    • Add or delete rows
    • Change value of the condition and action cells
      • Add or modify static values like change 100 to 2000 or > 3000 etc.
      • Add or modify expression with only static values like ((10 + 20) * 100) etc.
  • In Microsoft Excel you cannot
    • Change cell values to add or modify dynamic expression
    • Change the structure by adding/deleting/modifying the condition or action columns

Here is the flow that is insight to manage decision table using Microsoft Excel. Starting from left in clockwise manner

    1. An information modeler, data architect etc. created the decision table in HANA Studio
    2. He exports the data to local or shared directory in form of Microsoft Excel
    3. Business users access this excel document and modifies the rule
    4. Information modeler, data architect etc. again imports the changed excel data back to decision table
    5. Finally, he activates the decision table to bring in affect the changes at application level

          Figure 8.1 - Flow that shows Import-Export decision table with two personas - Technical developers and Business users

The ability to manage rules using Microsoft Excel can be huge advantage because business users are already aware of this tool and they can update the rules without the need for HANA Studio or any knowledge on technical or database language.