Skip to Content

how do I create a OData service?

Sep 25, 2017 at 06:56 AM


avatar image


I'm currently working on an app implementing SAP Cloud Platform SDK for iOS, and I'm
fairly new to coding on swift and hana cloud platform. I've followed tutorials and practicals, and all of them seem to use some sort of sample OData service linked to their applications, but I cant find any materials on how to create these OData services. Is there a way to create OData services using the web-based workbench?

Thanks alot in advance!

10 |10000 characters needed characters left characters exceeded

Your question is how you create an OData service and not how you generate the proxy for the OData service?

What backend you are using?


Hi! im currently using sap hana cloud database as my backend.
I'm currently stuck on creating an OData service, an example of it which I found in one of the tutorials would be this sample OData

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Florian Pfeffer
Sep 25, 2017 at 01:11 PM

With "SAP HANA Cloud Database" I assume that you mean a SAP HANA Database via SAP Cloud Platform.

For that you only have to do a little search in the official documentation and you will find following:

- For XS Classic: OData Service Definitions

- For XS Advanced (e.g. used via Cloud Foundry): Maintaining OData Services in XS Advanced

Please check that links and the chapters they are pointing to. They give you all the information you need.


PS: I also adjusted the tags, because SAP CP SDK for iOS was not really appropriate for your question (it is not real question regarding the iOS SDK).

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks! It seems that the practicals I followed all uses the old hana <shared> database instead of hana mdc, which confused me haha