{"ref":"content:calling-the-sales-order-a2x-odata-v2-api-from-btp-using-a-service-consumption-mo","page":"/content/calling-the-sales-order-a2x-odata-v2-api-from-btp-using-a-service-consumption-mo","json":"/content/calling-the-sales-order-a2x-odata-v2-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-v2-api-from-btp-using-a-service-consumption-mo","title":"Calling the Sales Order (A2X) OData V2 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-v2-api-from-btp-using-a-service/ba-p/13973685","content_type":"blog","published_on":"source:sap-community","explains":["capability:http-clients"],"summary":"Walks through ABAP's Service Consumption Model for OData V2 in [ABAP Development Tools for Eclipse](artifact:sap-adt-eclipse): generating a client proxy from the Sales Order (A2X) API's downloaded EDMX, then using it from an ABAP console class to create a deep sales order with items, texts, partners and pricing elements, read it back and patch a field. The client itself is built the way [HTTP clients](capability:http-clients) describes for [SAP BTP ABAP environment](artifact:btp-abap-environment): a communication arrangement resolved through `cl_http_destination_provider=>create_by_comm_arrangement`, handed to `cl_web_http_client_manager=>create_by_http_destination`, reaching the inbound SAP_COM_0109 scenario configured on the [SAP S/4HANA Cloud Public Edition](external:sap-s4hana-cloud-public-edition) side.","short":"Sales Order A2X OData V2 API via a Service Consumption Model","author":"Katsiaryna_Darapeika","published":"2025-02-04","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-04"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":5511,"unit":"views"},{"value":0,"unit":"comments"},{"value":7,"unit":"likes"}]},"signals":{"views":5511,"likes":7,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}