BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Usage of Expand Entity in OData Service Consumption Model

Explains how to use OData's $Expand option when SAP BTP, ABAP Environment consumes a remote service through a generated client proxy, the way HTTP clients describes it, using stubs ABAP Development Tools for Eclipse generates from the service's $metadata. The expanded association only comes back from get_business_data when the caller supplies its own ABAP type that redeclares the association as a nested table, in place of the generated CDS entity type. The same workaround still applies from release 2311 on, where the consumption model generates flat ABAP types rather than abstract CDS entities.

written for ABAP Platform 2311

Where it sits

Explains
HTTP clientsABAPHTTP clientscapabilityCalling an HTTP API outside the system from application code, with the request, the credential and the response handled by a client each time the call is made. Serving HTTP is the other direction, and where the address and the credential are kept is [destinations](capability:destinations).
Source
reachable

Who is behind it

alrikxauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
5,491

More on this4

Group by
Piece, what it offersStill applies
Also explainingHTTP clients4
Invoking Business Agent Foundation Agents from ABAP: A Step-by-Step Guide
SAP Community, tanmay_0117
nothing recorded
Outbound Integration from SAP BTP, ABAP to SAP S/4HANA Cloud via Service Consumption Model
SAP Community, Pramathesh_t_s
nothing recorded
Calling the Sales Order (A2X) OData V4 API from BTP Using a Service Consumption Model
SAP Community, Katsiaryna_Darapeika
nothing recorded
Calling the Sales Order (A2X) OData V2 API from BTP Using a Service Consumption Model
SAP Community, Katsiaryna_Darapeika
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsHTTP clientscapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communityabap-cloud-tag
discovered viaSAP Communitybtp-abap-environment-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · abap-cloud-tag, SAP Community · btp-abap-environment-tag.
For your agent
Ref
content:usage-of-expand-entity-in-odata-service-consumption-model
JSON
/content/usage-of-expand-entity-in-odata-service-consumption-model.json
MCP
Connecting an agent