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

Re: How to call HANA store procedure with table variables in xsjs?

$
0
0

Hi,

pc.setInteger(10, ProfessionalHigh);
if(pc.execute()) {  //<----- Avoid this a wrap in side try - catch
var businessData = [];

You may not want to check the return value of pc.execute() if you know what the procedure returns already. If the execution fails, the pc.execute() is expected to throw an exception.

Regards,

Dinu


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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