Hi Guys,
I'm trying to create Calc view via CE function and written a code for the same below.
Not sure why I'm getting syntax error or attribute error:-
ot_products = CE_COLUMN_TABLE("SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::products", ["ProductId","Category","NameId"] );
ot_purchaseorderitem = CE_COLUMN_TABLE("SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::purchaseOrderItem", ["ProductId","GrossAmount","Quantity","Currency"] );
ot_purchaseorderitem1 = CE_PROJECTION(:ot_purchaseorderitem, ["ProductId","GrossAmount","Quantity","Currency" AS "crcy"] );
var_out = CE_JOIN (:ot_products,:ot_purchaseorderitem1,["ProductId"], ["ProductId","Category","NameId","GrossAmount","Quantity","Currency"] );
error I'm getting:-
Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: Attribute not found in column table: Currency: line 11 col 129 (at pos 824)nSet Schema DDL
Pls help
Thx