Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: XSJS: query from calculated view with input parameter

$
0
0

Hello Charles,

 

"?" cannot be used for input variable placeholders as for placeholders for e.g.  in where conditions (... where FIELD1 = ? ) which are set by the corresponding set methods of the statement object (using the "old" $.db database interface).

 

You can do following:

var sInputIDValue = 'your value';
conn.prepareStatement("SELECT * FROM \"_SYS_BIC\".\"com.example/VIEW\" ('PLACEHOLDER' = ('$$INPUT_ID$$','" + sInputIDValue + "')");


Best Regards,

Florian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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