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

Re: HANA xs "update" procedure causing error in the .xsodata service

$
0
0

Hi Michael,

 

I did not know these operations are described under Chapter 7.1.6.12 Custom Exits for OData Write Requests in the dev guide.

 

Thank you very much for your tip, there was indeed a problem with the number of parameters. I'd like to clarify though, for future reference, that the syntax for declaring multiple IN parameters is as follows (at least when declaring types in a .hdbdd model) :

 

PROCEDURE

  "_SYS_BIC"."p1941225060trial.myinstance.perslist.procedures::updatePerson" (

   IN newtab "_SYS_BIC"."p1941225060trial.myinstance.perslist.data::mymodel.procedures.pers",

       oldtab "_SYS_BIC"."p1941225060trial.myinstance.perslist.data::mymodel.procedures.updPers",

  OUT outtab "_SYS_BIC"."p1941225060trial.myinstance.perslist.data::mymodel.procedures.errors"

  )

 

as opposed to the examples offered by the dev manual, i.e:

 

PROCEDURE

  "ODATA_TEST"."sample.odata::beforeupdate" (

   IN new "sample.odata::table",

   IN old "sample.odata::table",

   OUT error "sample.odata::error"

  )

 

Thanks a lot, once again Michael.

 

Regards,

Istvan.


Viewing all articles
Browse latest Browse all 9165

Trending Articles