Read business partners via SAP S/4HANA Cloud OData API

domain: SAP S/4HANA Cloud OData · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain an OAuth 2.0 client credentials token from the SAP BTP subaccount service instance bound to the S/4HANA Cloud tenant; the token endpoint is listed in the service key under 'uaa.url'.
  2. Set the Authorization header to 'Bearer YOUR_TOKEN' and Content-Type to 'application/json'; also set the Accept header to 'application/json'.
  3. Send a GET request to the API_BUSINESS_PARTNER OData service endpoint, e.g. /sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner, optionally appending $filter, $select, and $top query parameters.
  4. Parse the JSON response body; business partner records are in the 'd.results' array (OData v2) or 'value' array (OData v4 style), with fields such as BusinessPartner, BusinessPartnerFullName, and SearchTerm1.
  5. For paged results follow the '@odata.nextLink' or '__next' property in the response to retrieve subsequent pages until no next link is present.

Known gotchas

Related routes

Create a sales order in SAP S/4HANA via OData API
SAP S/4HANA Cloud OData · 5 steps · unrated
Configure and test SAP OData v4 service on SAP Gateway with $filter, $expand, and deep insert
sap-s4hana · 5 steps · unrated
Read production order status and confirm a goods receipt for a production order in SAP S/4HANA using the OData v2 API (API_PRODUCTION_ORDER_2_SRV)
api.sap.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans