cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

vishnucta
Active Participant
0 Kudos

Hi Tony,

There is lot of flexibility while you create a service via SEGW using Reference Data Source. Eg: changing a drop down in Fiori Element Filter bar to multi-select by enriching the existing metadata through MPC Classes.

Regards,

Vishnu P

Sean_Zhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

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