on 06-09-2016 4:45 PM
Hi ,
We are trying to do currency conversion on measures in a SQL scripted calculation view in HANA (SPS10 and SPS11). We have all the required tables (TCURR , TCURC etc) in the required schema.
The Decimal shift and Currency options are disabled in SQL scripted HANA view where as I am able to see them in Graphical Calculation view . Is there any parameter I have to turn on to enable these options in SQL scripted view? Please find below the screenshots of the issue I am facing. Any thoughts?
On a measure present in Scripted view :
In Graphical view:
Regards,
Sindhoora
Hi Sindhoora,
As far as I know currency conversion not supported in script based calculation view, but you can achieve the same in Graphical Calculation view.
Regards,
Shireesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currency conversion is do supported in SQLScript Calculation view
SELECT CONVERT_CURRENCY(amount=>price,
"SOURCE_UNIT_COLUMN" =>source_unit,
"SCHEMA" => 'SYSTEM',
"TARGET_UNIT_COLUMN" => target_unit,
"REFERENCE_DATE" =>'2013-09-23',
"ERROR_HANDLING"=>'set to null',
"CLIENT" => '000') as converted
FROM sample_input;
CONVERT_CURRENCY - SAP HANA SQL and System Views Reference - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.