cancel
Showing results for 
Search instead for 
Did you mean: 

HANA XS Odata Function Imports

Former Member
0 Kudos

Hi all,

I am new in the domain of XS Odata services. I had created an OData service on an on-premise system, and as per OData v2.0 specs, I could use Function Imports or Service Operations, which are basically functions you can call on your service with a GET operation (see here for further information). Now we are trying to migrate on an HDB.

I am testing on a trial HANA MDC system, have been working directly on the SAP HANA Workbench, and have been following tutorials to know how to expose an XS OData service, and I know that with Calculated Views you can call stored procedures from your service, but this does not allow for operations as precise as in SAP Gateway (with ABAP coding). I have seen that it's not possible to define a "get using" as it is possible with "create using" and other CRUD operations.

So here we go : do these function imports exist on HDB based XS OData service ? If not, do you know of any equivalent or workaround ?

Thank you in advance for your answers,
Max.

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hello Max,

no Function Import support is implemented so far.

You could create and XSJS service doing your job.

Regards,

Florian

Former Member
0 Kudos

Thank you for your answer,

I will look into it then.

Regards,
Max

Answers (0)