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

How do I pass parameters to an Analytic View inside a Calc View CE script or GUI?

$
0
0

SELECT "RESPONSIBILITY_UNIT", "_BIC_GFIOPSEG" AS "GFIOPSEG", sum("GFIKFAIN") AS "GFIKFAIN"

FROM "_SYS_BIC"."sap.bw/DHRBFLANYC13"

GROUP BY  "RESPONSIBILITY_UNIT", "_BIC_GFIOPSEG"

with parameters ('PLACEHOLDER'=('$$RESPUNIT$$','RBFL0029'))

 

WORKED… So my Analytic View is working….

 

I have created an analytic view “RBFLANYC13” that excepts an input parameter “RESPUNIT” and I want to use it 3 times in a calculation view passing it a different value for RESPUNIT each time and then union the results together…

 

How do I pass the RBFLANYC13 the value for the RESPUNIT parameter from a calc view?

 

Do I put it I the CE_OLAP_VIEW or the CE_PROJECTION?

                What is the syntax?

 

How do I do it form the graphical calc view screens?

 

                RBFL0029 = CE_OLAP_VIEW("sap.bw/DHRBFLANYC13"

                , ["GFIKFAIN"

               , "GFICONTRY"

               , "_BIC_GFIRPTORG"

                , "_BIC_GFIOPSEG"

                , "_BIC_GFIBRFORM"

                , "RESPONSIBILITY_UNIT"

               ]);

 

                FILTERED_RBFL0029 = CE_PROJECTION(:RBFL0029

               , ["GFIKFAIN"

               , "GFICONTRY"

               , "_BIC_GFIRPTORG" AS "GFIRPTORG"

               , "_BIC_GFIOPSEG" AS "GFIOPSEG"

               , "_BIC_GFIBRFORM" AS "GFIBRFORM"

               , "RESPONSIBILITY_UNIT"

               ]);

 

Thanks

Doug Hoover

douglas.hoover@sap.com


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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