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.

specifying target currency and deselect Enable for Conversion checkbox, the target currency<br />

field is cleared because input parameters can be used only for currency conversion.<br />

c. To specify exchange rate type, in the Exchange Rate Types dialog, select the Type as follows:<br />

Type Purpose<br />

Fixed To select exchange rate from the currency table<br />

TCURW.<br />

Input Parameter To provide exchange rate input at runtime as input<br />

parameter.<br />

d. To specify the date for currency conversion, in the Conversion Date dialog, select the Type as follows:<br />

Type Purpose<br />

Fixed To select conversion date from the calendar.<br />

Attribute To select conversion date from one of the attributes<br />

used in the view.<br />

Input Parameter To provide conversion date input at runtime as input<br />

parameter.<br />

e. To specify the schema where currency tables are located for conversion, in the Schema for currency<br />

conversion, select the required schema.<br />

f. To specify the client for which the conversion rates to be looked for, in the Client for currency<br />

conversion, select the required option.<br />

e. From the dropdown list, select the required value that is used to populate data if the conversion fails:<br />

Option Result<br />

Fail In data preview, the system displays an error for<br />

conversion failure.<br />

Set to NULL In data preview, the value for the corresponding records<br />

is set to NULL.<br />

Ignore In data preview, you view the unconverted value for the<br />

corresponding records.<br />

4. If you want to associate a measure with a unit of measure other than currency, do the following:<br />

a. Select the value Quantity with Unit of Measure in the Measure Type dropdown list.<br />

b. In the Quantity Units dialog , select the required Type as follows:<br />

Type Purpose<br />

Fixed To select a unit of measure from the unit tables T006<br />

and T006A.<br />

Attribute To select a unit of measure from one of the attributes<br />

used in the view.<br />

c. Select the required value, and choose OK.<br />

5. Choose OK.<br />

Note: You can associate currency or unit of measure with a calculated measure, and perform currency<br />

conversion for a calculated measure by editing it.<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. 131

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

Saved successfully!

Ooh no, something went wrong!