Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Invalid parameter type in signature of procedure "xxxxx". Only table types are allowed.

$
0
0

File: insertar.hdbprocedure

 

PROCEDURE "NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::insertar" (IN id VARCHAR(40), name VARCHAR(40) )

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER as

  --DEFAULT SCHEMA <default_schema_name>

  --READS SQL DATA AS

BEGIN

/*****************************

  Write your procedure logic

*****************************/

 

insert into "NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::mytable" values (id, name);

 

 

END;

 

 

File: samples_procedure.xsodata

service {

          "NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::mytable" as "Samples"

          create using "p1009230trial.server.CDS_test.Productos::insertar";

}

 

 

What can be the problem?

 

Error:

 

08:02:56 >> File p1009230trial/server/CDS_test/Productos/samples_procedure.xsodata saved successfully.

08:02:56 >> Error while activating:
Invalid parameter type in signature of procedure "p1009230trial.server.CDS_test.Productos::insertar". Only table types are allowed.


Viewing all articles
Browse latest Browse all 3285

Trending Articles



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