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