Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Call Procedure from .XSodata Service

$
0
0

Hello Forum,

I want to call a procedure when i add something to an odata service.

 

I created the procedure like this. I removed the custom logic. It works when i call the procedure in the sql console with "call <"Schema Name">."example3":

 

create PROCEDURE <"Schema Name">."example3"

LANGUAGE SQLSCRIPT AS

BEGIN

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

  Write your procedure logic

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

*

*
*
*

END

 

 

Now i want to tell the OData Service that he should use the procedure by adding the "create using.." Statement like this:

 

service{

"S0016089493"."Survey" as "Survey"

    create using <"Schema Name">."example3";

}

 

 

 

The console throws a systax error stating that "<"Schema Name">."example3" is incorrect or misaplaced.

 

 

I googled a lot, read in the forum and took a look at the documentation but i don't find the mistake.

Greetings,

Oliver


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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