Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Odata service project programmatically.

umeshram
Discoverer
1,533

Hello All,

Can we create Odata service by a custom program?

Please tell me if you came across such requirement and how did you achieve it.

Class-method name or other supporting ABAP objects will also be helpful.

Thanks in advance!!

5 REPLIES 5
Read only

CarlosRoggan
Product and Topic Expert
Product and Topic Expert
0 Likes
1,297

Hello,

the Backend-Service seems to do exactly what you want.
However, it is not possible to extend the generated service with custom code
See here for a series of blogs and links to documentation

Kind Regards,
Carlos

Read only

0 Likes
1,297

I am looking for exposing a standard cds view as an odata service like we create a SEGW project and provide cds as a reference data. I want to do same activity by a custom program because in my case I want to do this on runtime.

Read only

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Likes
1,297

It is not clear for me what you are looking for exactly.

OData development in SAP Backends is available for ages.

https://blogs.sap.com/2017/12/12/odata-service-development-options/

But I am not sure what you mean by "Can we create Odata service by a custom program?".

Best regards,

Andre

ceterum censeo RAP esse utendam
Read only

0 Likes
1,297

I want to create a custom program where I can create Odata service for standard CDS views. In short, I want to expose various standard cds views as an odata service on runtime. I am aware of standard API provided by SAP, Here I am talking about standard CDS views of basic type.

Thanks for your response, I hope this is clear.

Read only

developerone
Contributor
0 Likes
1,297

Interesting. I would like to know the purpose 🙂