Skip to Content

Consume cds via Odata.abap = true? or segw map import?

May 11, 2017 at 01:02 AM


avatar image
Former Member

Dear experts,

as i know, we can publish odata via Odata annotation, or import cds into segw.
my understanding is 'cds + odata annotation' is better then using 'cds + segw',

is that correct?



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

1 Answer

Sean Zhang
May 12, 2017 at 06:25 AM

Hi Tony,

You have to take this case by case.

@OData.publish: true is used to expose a single CDS as a OData service.

while adding CDS to SADL OData Service in SEGW, you could add multiple CDS into one SADL service.

however, you could only expose one CDS as one standalone OData by @OData.publish: true.

in the meantime, if a CDS view is marked as @Analytics.query:true, you could not add that in SADL Odata by Exposures via SADL.

so there is actually no clear better way but you could choose based on your scenario.

Best Regards,


10 |10000 characters needed characters left characters exceeded