Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7761

Syntax Error or missing attribute- on CE function

$
0
0

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


Viewing all articles
Browse latest Browse all 7761

Latest Images

Trending Articles



Latest Images

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