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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Type Description<br />

Empty Use this when the value of a parameter could be anything of<br />

the selected data type.<br />

Procedure<br />

Consider a sales order physical table with column headers as follows:<br />

ID Name Supplier Model Price Quantity<br />

If you want to evaluate Discount based on the Quantity and Order Amount, you can create two<br />

parameters, Order Amount and Discount. Use Quantity and Order Amount as the condition, and Discount<br />

as the action. The sample decision table could be:<br />

Quantity Order Amount Discount<br />

>5 50000 10<br />

>=10 100000 15<br />

1. Create a Parameter<br />

1. In the Output pane, right-click the Parameters node.<br />

2. From the context menu, choose New and do the following:<br />

a. Enter a name and description.<br />

b. Select the required data type from the dropdown list.<br />

c. Enter the length and scale as required.<br />

d. Choose the required Type from the dropdown list.<br />

e. Choose OK.<br />

Note: If you have selectedStatic List for Type, choose Add in the List of Values section to add<br />

values. You can also provide an alias for the enumeration value.<br />

2. Use Parameter as Condition or Action<br />

1. In the Output pane, expand the Parameters node.<br />

2. Right-click a parameter, choose Add As Conditions/ Add as Actions.<br />

6.4 Managing Object Versions<br />

6.4.1 Switching Ownership of Inactive Objects<br />

Use this procedure to take over the ownership of the inactive version of an object from other users' workspace.<br />

140<br />

P U B L I C<br />

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

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

Setting Up the Analytic Model

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

Saved successfully!

Ooh no, something went wrong!