Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Scripted Calculation View - Issues

$
0
0

Hi All,

 

I have created a calculation view and is being used for reports. However the performance isnot where I  like it to be. I also have a sql bult inside the universe because the nature of the application and some complexities. I am trying to move all the codes into HANA. I am trying to creatate ae Scripted view so I can eliminate all the SQL Codes I am mixing with my graphical model.

 

The final model against which I built my universe has a projection, union and aggregation before I created input parameters to it. The projection itself is built on a scripted calc view and this works fine.

 

Now I want to use a CE_PROJECTION very similar to my graphical model but I am having issues. My question is can I create a CE_PROJECTION on a calculation view ?

 

The code I put in is like below....

 

olap1 = CE_OLAP_VIEW("_SYS_BIC"."ZCVS_CALVIEW",["OBJNR", "BUDAT", "MEGBTR"]);

var_out = CE_PROJECTION(:olap1,["OBJNR","BUDAT","MEGBTR"]);

 

I also tried

 

var_out = CE_PROJECTION("_SYS_BIC"."ZCVS_CALCVIEW",["OBJNR","BUDAT","MEGBTR"]);

 

Any ideas?

 

Thank you,

Arthur.


Viewing all articles
Browse latest Browse all 5653

Trending Articles