on 06-09-2014 10:34 PM
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.
Hi,
Do you really want the SOURCE_UNIT_COLUMN same as the TARGET_UNIT_COLUMN? One does not get the error you report if they are different or if you specify one as a constant using SOURCE_UNIT or TARGET_UNIT.
Regards,
Dinu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.