Overview
A client-mode connector for a curated manufacturing and plant-maintenance slice of SAP S/4HANA Cloud OData APIs on the Business Accelerator Hub:BASE_ADDRESS is the tenant host root (https://{tenant}-api.s4hana.cloud.sap). Endpoints carry /sap/opu/odata/sap/.... Topics use erp/sap-s4hana-cloud/<object>/<verb>.
S/4HANA Cloud OData requires a real tenant and either a communication-user (Basic) or OAuth 2.0 client-credentials Bearer token. Mutating calls need an
X-CSRF-Token (fetch with Fetch first). This template has not been verified against a live tenant.Basic Syntax
Events
Auth
OAuth Bearer (client credentials access token):string
required
OAuth 2.0 access token from the S/4HANA Cloud / BTP token endpoint (client credentials). Prefer a Hub secret. Never commit the token.
string
required
Production plant code for Getproductionordersbyplant (
ProductionPlant OData filter).string
Production order key for Getproductionorder.
string
required
Value from the
X-CSRF-Token response header after Fetchcsrf. Required on all POST events.- Create Communication Arrangements for the needed scenarios (e.g. production / confirmation, material document, maintenance
SAP_COM_0397). - Create a communication user or OAuth client; obtain Basic credentials or an access token.
- Set
BASE_ADDRESStohttps://{tenant}-api.s4hana.cloud.sap. - Fetch CSRF, then call GET/POST events with placeholders filled.
{payload}; fetch CSRF first):
Try it
- Replace
YOUR_TENANTinBASE_ADDRESSand add the connector on a lab broker. - Publish token + plant JSON to
erp/sap-s4hana-cloud/production-order/get. - Subscribe to
erp/sap-s4hana-cloud/production-order/get/response. - For POSTs: call
erp/sap-s4hana-cloud/csrf/fetchfirst, then publish withcsrf_tokenand body fields.
Recorded factory probes without a tenant: Accelerator Hub overviews HTTP 200, Help Portal HTTP 200, sandbox OData unauthenticated HTTP 401, placeholder tenant host unreachable. Live tenant smoke is still required before status ready.

