Skip to Content
avatar image
Former Member

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

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?

Thanks.

Tony.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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,

    Sean

    Add comment
    10|10000 characters needed characters exceeded