‎2020 Nov 17 2:00 PM
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!!
‎2020 Nov 17 3:03 PM
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
‎2020 Nov 17 5:07 PM
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.
‎2020 Nov 17 4:05 PM
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
‎2020 Nov 17 5:01 PM
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.
‎2020 Nov 17 5:18 PM