Skip to Content

Should I use an OData server or a custom XSJS service implemenation?

Jan 26, 2017 at 01:17 PM


avatar image
Former Member

We are on a SAP HCP. For our application we need to provide a Web API. We are unsure wheather to use an OData Service or a custom XSJS service implementation for this.

A few things we need to accomplish. All items also need to do a certain user authorization.

  • Select data from the database
  • Writing data into the database
  • Providing API functions that don't perfrom CRUD operations on the database, but for example send data to another server in the background

In my understanding an OData service would only fit the first two items, but does not provide a way to do anything that is not database (CRUD) related. Is this correct?

Are there any best practices for this scenario? Any suggestions and pointings in the right direction are welcome.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Masayuki Sekihara
Jan 30, 2017 at 09:15 AM

Hi Eike,

Take a look at OData CRUD from XSJS-Outbound API.


Masa / SAP Technology RIG

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Masa,

thanks for your reply. I looked into your post and I wonder why they acutally use oData behind XSJS. What is the advantage of this? Why not using the database Procedures directly from XSJS with the $.hdb API?

Thanks in advance,