I have a problem with running a generated PAL procedure on HCP Cloud edition. I used wrapper, HCP_AFL_WRAPPER_GENERATOR, and I am able to run it using SQL query
CALL _SYS_AFL.NEO_62G0J0********_PAL_ANOMALY_DETECTION_PROC
I am familiar with the following documentation: SAP HANA Cloud Platform
I try to run procedure using XSJS code.
XSProc.setTempSchema("NEO_62G0*****"); var procedure = XSProc.procedureOfSchema("_SYS_AFL", "NEO_62G0J******_PAL_ANOMALY_DETECTION_PROC"); var data = getConvertedData(inputData); return procedure(data);
and i got an error
Failed to execute action: InternalError: dberror(Connection.prepareCall): 1281 - wrong number or types of parameters in call: P1 is not bound: line 1 col 17 (at pos 16)
The same code works on ordinary HANA instance, so data model and JS implementation i assume to be ok. Do you know where the problem might be?