Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Passing local params in hdbfunction as calc view input parameters

$
0
0

Hello Isuru,

 

why you are not using the syntax of your second example with the local variables?

select_kpi =    SELECT    date,    SUM(kpi) AS kpi    FROM "sap.sample.db::CVKF_BUSINESSLOGIC" (      'PLACEHOLDER' = ( '$$IP_STARTDATE$$', :lv_from_date),      'PLACEHOLDER' = ( '$$IP_ENDDATE$$', :lv_to_date)  
 )  
GROUP BY date; 


Or


select_kpi =    SELECT    date,    SUM(kpi) AS kpi    FROM "sap.sample.db::CVKF_BUSINESSLOGIC" (      PLACEHOLDER.'$$IP_STARTDATE$$' => :lv_from_date,      PLACEHOLDER.'$$IP_ENDDATE$$' => :lv_to_date)  
 )  
GROUP BY date;  



Regards,

Florian


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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