Currency Conversion in Hana
Currency Conversion in Hana
Hello Everyone, In this document, I tried to explain "Currency Conversion" functionality. Through this, I am trying to provide the general functionality and idea about the Currency translation in SAP HANA. Note: While using this option you need to replicate the standard table into SAP HANA that are TCURR, TCURC, TCURX, TCURF, TCURT, TCURV . If these standard tables are not available then you will not be able to perform Currency Conversion.
Procedure:
1. Create an Analytical view Right Click on Analytical View > New
Select Schema under the Schema for conversion having all the relevant tables used for currency conversion. Click Finish
Select Decimal data type with length 13,2 Double click on the desired measure for it to appear in the expression editor. Either type in the minus sign or double click on the Operator.
Click OK.
Note: you can select either attribute or fixed Currency according to the requirement. In this example, I am using USD that is fixed currency and Currency that is an attribute.
Hope it is helpful. Thanks for reading the document. Regards, Neha Singla
2060 Views Tags: hana, modeling, sap_hana
15 Comments
Thanks for the information... But a small correction, in first step you mentioned creating an attribute view, wherein you are actually creating an analytic view
Like (0)
o
Neha Singla Apr 29, 2012 7:41 AM (in response to Neelesh Jain)
o
Neha Singla Apr 29, 2012 1:17 PM (in response to Ravi Shankar)
Thanks Ravi..
Like (1)
Hello Neha, I liked the "Note" part, it was helpful. Thanks a lot. Excellent writeup. Regards, Krishna Tangudu
Like (0)
o
Neha Singla Apr 29, 2012 1:16 PM (in response to Krishna Tangudu)
Thanks Krishna..
Like (0)
Are there any specific authorisations required to perform this operation? I still get the error message for Session Client, even though the DB admin has set it.
Like (0)
o
Neha Singla Jun 1, 2012 7:34 AM (in response to Brendan Hetherington)
Hello Brendan, Thanks for reading my post. Please follow the following step: 1. Goto Catalog > Authorization > Users > SYSTEM (here i am using SYSTEM is my user, in your case it might be differnet) 2. Open the User Profile by double clicking on the SYSTEM 3. Under the session client please enter the value, in my case i am entering 800. now you can able to perform currency translation. Hoope it is useful. Regards, neha
Like (0)
Hello Neha, The document was really helpful. I would like to know if all the tables(TCURR, TCURC, TCURX, TCURF, TCURT, TCURV) need to be replicated or if we have some of those tables in a schema, then can that schema be used for currency conversion? Please guide me here. Thanks,
Prasath.
Like (0)
o
Anooj Behanan Sep 6, 2012 3:14 PM (in response to Prasath Vettrinathan)
Hi Prasath, To answer this point - Yes you can create the above tables with data in any schema and use that schema for currency conversion within your analytic view. Thanks, Anooj
Like (0)
HI Neha IN the step 7 of currency conversion ... if I want a most recent transaction date to be considered instead of a fixed date, how would I set it ?
Like (0)
o
Brendan Hetherington Nov 8, 2012 12:15 PM (in response to Vivek RR)
As long as you have the date as an object in your model you can use that, when you click on the Date option, the Date Mapping window gives options of Fixed, Attribute and Input parameter, choose Attribute and you the relevant date from your data foundation, obviously if you don't have the date you require you will need to add it to your foundation. This allows you to pick up a date from the transaction and use that as your conversion date.
Like (0)
Hi Neha, I was working on this thing the other day and your document was really of great help. And i noticed that, the Default Client has to be set to 100 in the properties tab of the analytical view. without that i was not getting the options in the box where i was supposed to select from and to currency. Thanks and regards, Rudrabhupal PB.
Like (0)
Hi Everyone, When i was working on conversion of Indonesian currency to USD, i observed that the final view output is different from the value i manually calculated using the present market rate of USD wrt IDR(Indonesian currency). The difference was that the view output value was about 1000 times bigger than the manually calculated value. Interestingly the value maintained in the TCURR table for this specific conversion in the FFACT('Ratio for the "From" Currency Units') column was 1000. SO does this FFACT column value play any role in the conversion, if so how should i use this value while implementing the conversion on HANA? For that, I need to understand how the currency conversion takes place at the backend of HANA. and what the columns in "TCURR" table mean. Can someone please explain or help me on this? Thanks and regards,
Rudrabhupal PB.
Like (0)
o
Tobias Mller Mar 19, 2013 8:50 AM (in response to Rudrabhupal B)
Hi Rudrabhupal, have a look at http://www.saptechies.com/currency-translation-faq/ or sap note 783877 in order to understand the way FFACT and TFACT are beeing considered. Regards, Tobias Mller