{"ref":"content:calling-the-sales-order-a2x-odata-v4-api-from-btp-using-a-service-consumption-mo","page":"/content/calling-the-sales-order-a2x-odata-v4-api-from-btp-using-a-service-consumption-mo","json":"/content/calling-the-sales-order-a2x-odata-v4-api-from-btp-using-a-service-consumption-mo.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"calling-the-sales-order-a2x-odata-v4-api-from-btp-using-a-service-consumption-mo","title":"Calling the Sales Order (A2X) OData V4 API from BTP Using a Service Consumption Model","url":"https://community.sap.com/t5/enterprise-resource-planning-blog-posts-by-sap/calling-the-sales-order-a2x-odata-v4-api-from-btp-using-a-service/ba-p/13975202","content_type":"blog","published_on":"source:sap-community","explains":["capability:http-clients"],"summary":"Walks through calling [SAP S/4HANA Cloud Public Edition](external:sap-s4hana-cloud-public-edition)'s Sales Order (A2X) OData V4 API from an ABAP class on [SAP BTP ABAP environment](artifact:btp-abap-environment): a communication arrangement on each side, a Service Consumption Model built in ADT from the API's downloaded EDMX, and a client proxy wired through cl_http_destination_provider=>create_by_comm_arrangement and cl_web_http_client_manager=>create_by_http_destination, the same [HTTP clients](capability:http-clients) pattern for ABAP for Cloud Development. The sample class creates a deep sales order with an item, a text, a partner and a pricing element, reads it back, then updates a field guarded by its ETag.","short":"Sales Order A2X OData V4 API from ABAP on BTP ABAP environment","author":"Katsiaryna_Darapeika","published":"2025-02-06","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"btp-abap-environment-tag"}],"first_seen":"2026-09-27"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 20 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-02-06"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":6335,"unit":"views"},{"value":6,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":6335,"likes":5,"comments":6,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}