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

Re: How to pass the value from XSJS to a table type input parameter in procedure?

$
0
0

Hello Sanampreet,

 

on a HANA system with an SPS >= 9 you can do following for instance:

 

var oConnetion = $.hdb.getConnection();
var oProcedure = oConnection.loadProcedure("MY_SCHEMA", "my_project.procedures::in_param_tt");
var iEmployeeID = 1;
var aSkills = [     { "Skills": "test1" },     { "Skills": "test2" }
];
// call procedure
oProcedure(iEmployeeID, aSkills);

 

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>