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.

Scenario Substeps<br />

Note: If you launch the New Decision Table<br />

dialog from the Quick Launch tab page,<br />

specify the package where you want to save<br />

the decision table.<br />

3. Add the required tables, table type or an information<br />

view to the Selected list.<br />

4. Choose Finish.<br />

Create a decision table from an existing decision table. 1. Choose Copy From.<br />

Note:<br />

Note: You can choose to add the required<br />

data sources to the decision table later by<br />

dragging them from the Catalog node in the<br />

Navigator panel to the Data Foundation<br />

panel.<br />

Note: If you launch the New Decision Table<br />

dialog from the Quick Launch page, specify<br />

the package where you want to save the<br />

decision table.<br />

2. Select the required decision table.<br />

3. Choose Finish.<br />

○ Only an active version of an information view can be used. Any changes made to the information<br />

view are not reflected in the decision table.<br />

○ You can create a decision table using an analytic view only if it has a calculated attribute.<br />

○ If you create a decision table using an analytic view, the analytic view must have a calculated<br />

attribute.<br />

2. Create Joins<br />

○ If you choose to create a decision table based on a table type or an information view, you cannot<br />

add any other data source. This implies that a decision table can be based on multiple tables or a<br />

table type or an information view.<br />

○ You can add only one table type or information view to the data foundation.<br />

○ You can mark table type columns and information view columns only as conditions.<br />

1. If you want to define a relationship between tables to query data from two or more tables, do the following:<br />

134<br />

a. In the editor pane, from the context menu, choose Create Join.<br />

b. In the Create Join dialog, select the required tables, columns, join type, and cardinality.<br />

c. Choose Create Join.<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!