Usage of Expand Entity in OData Service Consumption Model
Explains how to use OData's $Expand option when SAP BTP, ABAP EnvironmentSAP BTP ABAP environmentSAP's ABAP runtime on BTP: ABAP systems developed in the ABAP Cloud model on SAP HANA Cloud, for cloud apps, OData services and side-by-side extensions of SAP S/4HANA.sap official, btp consumes a remote service through a generated client proxy, the way HTTP clientsHTTP clientsCalling 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.SAP and community, unassessed describes it, using stubs ABAP Development Tools for EclipseABAP Development Tools for EclipseSAP's Eclipse plugins for ABAP: source, dictionary and CDS editors, Project Explorer, Outline and ABAP Unit, calling ADT resources on the connected system.sap official, abap 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.
Where it sits
Who is behind it
Properties
About this work
Details
Graph
Source
History
- 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