28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

● You can choose to create parameters and use them as conditions or actions. The values you provide<br />

to the parameters at the runtime determine which data records are selected for consumption. For<br />

more information regarding how to use parameters, Using Parameters in a Decision Table [page<br />

139].<br />

● You can export decision table data to an excel sheet using context menu option Export Data to Excel in<br />

the Decision Table view. You can also import decision table data from an excel using context menu<br />

option Import Data from Excel in the Decision Table view.<br />

● You can arrange the condition and action columns of the decision table depending on how you want<br />

them to appear. For more information, see Changing the Layout of a Decision Table [page 139].<br />

6. Optional Step: Validate Decision Table<br />

1. To set the rules that you want to use for validation do the following:<br />

a. Choose Window Preferences .<br />

b. In the Preferences dialog box, expand Modeler Validation Rules .<br />

c. In the Validation Rules view, select Decision Table checkbox to check for all the rules during validation.<br />

d. If you want to check for individual rules, select the required rules.<br />

e. Choose OK.<br />

2. In the decision table editor, choose Validate in the editor toolbar .<br />

Note: In the Job Log section, you can see the validation status and detailed report of the decision table<br />

7. Activate Decision Table<br />

1. Choose File Save .<br />

2. From the context menu of the decision table, choose Activate.<br />

Note: You can choose to save and activate the view from the editor using .<br />

Result: On successful activation, a procedure corresponding to the decision table is created in _SYS_BIC schema.<br />

The name of the procedure is in the format, /. In addition, if a parameter<br />

is used as an action in the decision table, the corresponding table type is created in _SYS_BIC schema. The name<br />

of the table type is in the format, //TT.<br />

Remember: If in a decision table, parameters are used as conditions then corresponding IN parameters<br />

are generated. Also, if the parameters are used as actions then an OUT parameter is generated.<br />

8. Execute Decision Table Procedure<br />

1. To execute the decision table procedure perform the following steps as required:<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up the Analytic Model<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!