From SEGW to @OData.publish: Expose Your CDS View as OData in S/4HANA
Walks through exposing an ABAP CDSABAP CDSThe modelling layer of ABAP Cloud — view entities, projections and annotations defined above database tables, delivered with the platform rather than installed.sap official, abap view as an ODataODataExposing data and operations through OData, including the service model, metadata and protocol versions clients require. Version differences affect which clients can consume a service and which query features they can use.SAP and community, narrow by design service in an on-premise S/4HANA system by adding the @OData.publish: true annotation, then registering and activating the generated service in SAP Gateway (transaction /IWFND/MAINT_SERVICE) before testing it with $filter, $top and $count. It sets this against the manual route through transaction SEGW, since the annotation generates the service, its navigation properties and its OData properties straight from the CDS view without a Service Builder project.
Where it sits
Who is behind it
Properties
About this work
For odata
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · abap-development-tag.
For your agent
- Ref
content:from-segw-to-odata-publish-expose-your-cds-view-as-odata-in-s-4hana- JSON
- /content/from-segw-to-odata-publish-expose-your-cds-view-as-odata-in-s-4hana.json
- MCP
- Connecting an agent