Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

CONVERT_CURRENCY IN SELECT NOT EXECUTING

$
0
0

I am trying to execute the following query.

 

select productid, category,  CONVERT_CURRENCY("AMOUNT"=> price,  "SOURCE_UNIT_COLUMN"=> currency,  "SCHEMA" => 'SAP_HANA_DEMO',  "TARGET_UNIT_COLUMN"=> currency,  "REFERENCE_DATE"=> '2013-09-23',  "CLIENT"=>'000'  ) as "afterconver"
from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Products";

I am getting the below error.


SAP DBTech JDBC: [2048]: column store error: # required attributes: 5, # attributes in itab: 5, requested column index: 5 at function __copy_trex_field_NString__()

 

Appreciate all the help.

 

Thanks.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>