Skip to Content
0
Feb 21, 2014 at 12:43 PM

CE Function : CE_CALC_VIEW - running with placeholders

457 Views

Hi Experts ,

I am bit stuck in specifying placeholders in a graphical calculation view.

I created one graphical calcualtion view which has 2 mandatory input paramters(PLANT & DATE).

  • How use CE Function to access the cal view with placeholders ?
  • how can i use direct select statement to fetch data from calculation view with dynamic placeholders (I am trying to fetch calculation view inside a procedure)
SELECT  "YYYYMM", 
      "DebitCreditCode",
sum("AmountInCompanyCodeCurrency") AS "Amount" FROM "_SYS_BIC"."TurnOverValue_BugFix/ABCDEFG_L1"
('PLACEHOLDER' = ('$$PLANT$$', '0001'), 'PLACEHOLDER' = ('$$TO_DATE$$', '201401')) 
GROUP BY 
"DebitCreditCode", 
"YYYYMM";

Here, i need to replace '0001' and '201401' with dynamic values. I tried bot ":variable_name' and "variable_name". Both raise error.

Thanks in advance ,

Sreehari V Pillai