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

XSJS select query from calculation view with input parameter

$
0
0

Dear friends,

       I am create an XSJS to select data form calculation view with input parameter. In this way ,it works:

 

var query1 = "SELECT TOP 200 \"SO\", \"ORDER_TYPE\", \"FISCAL\", \"SALE_AREA\", \"COMPANY_CODE\", \"PC\",\"AMOUNT\" " +

              "FROM \"_SYS_BIC\".\"Kevin_Demo.UI5_DEMO1/CAL_SO\" " +

              " ('PLACEHOLDER' = ('$$I_ORDER_TYPE$$', 'YBB1'), 'PLACEHOLDER' = ('$$I_FISCAL_YEAR$$', '2014')) " +

              "GROUP BY \"SO\", \"ORDER_TYPE\", \"FISCAL\", \"SALE_AREA\", \"COMPANY_CODE\", \"PC\",\"AMOUNT\" ";

 

        But now I want to get the input parameter form my UI5  textfield, then this values will as my placeholder value, how do I write my query ?

 

         Thanks for your sincerely answer.

 

Best Regards

Zhang


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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