SAP ABAP for HANA


Expose CDS View as an OData Service

ABAP on SAP HANA: Part XV. Expose CDS Views as OData Service through Annotation

Would you be surprised if we say, OData Services can be created without going to transaction SEGW?

You heard it right. CDS Views can be exposed as OData Services with just one magical Annotation line.

CDS itself was already powerful and with this feature it is like cherry on top of the icing.

Please check how we can create an OData Service from a CDS View, Register and Consume it in just 7 steps.