Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding oData.publish to SAP standard CDS

kim_ternstrm
Explorer
0 Kudos
1,071

We want to expose some standard CDS views as oData service on our Yard system.

They do not have the "@oData.publish: true" annotation.

How do I add this ? Do I change the standard CDS, or do I extendt it with nothing but the single line with annotation. Or are there other solutions ?

There are tons of guides how to expose own created CDS by adding the annotation and using transaction /IWFND/MAINT_SERVICE to add the OData service to the service catalog of the SAP Gateway hub, but I have not found any on how to do it with SAP standard CDS

1 REPLY 1
Read only

ThorstenHoefer
Active Contributor
0 Kudos
790

Hi,

have you tried to create a SEGW Project and add teh CDS View as reference?

https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/1809BW.001/en-US/8d54f4f592794f98b647c2...

Regards
Thorsten