Skip to main content
Technical Preview

Overview

A client-mode connector for a curated manufacturing and plant-maintenance slice of SAP S/4HANA on-premise / ECC OData APIs exposed through SAP Gateway: BASE_ADDRESS is the Gateway host root (https://{host}:{port}). Endpoints carry /sap/opu/odata/sap/.... Topics use erp/sap-s4hana-onprem/<object>/<verb>.
Service naming: Hub/SDK use API_WORK_CENTERS (not API_WORK_CENTER_SRV) and API_MAINTENANCEORDER (not API_MAINTENANCEORDER_2_SRV). Activate services in /IWFND/MAINT_SERVICE and confirm entity sets with $metadata on your host. Older ECC may expose classic PP/PM Gateway names — adjust after metadata check. Mutating OData calls need X-CSRF-Token. This template has not been verified against a live Gateway host.

Basic Syntax

Events

Auth

OAuth / SAML Bearer access token:
Or Basic Gateway user on config (Hub secret):
CSRF on POST:
string
OAuth 2.0 / SAML bearer access token for Gateway. Prefer a Hub secret. Never commit the token. Omit when using Basic on REST_API_CONFIG.
string
required
Plant code for Getproductionordersbyplant, Getworkcenters, and Getpmorders filters.
string
Production order key for Getproductionorder.
string
required
Value from the X-CSRF-Token response header after Fetchcsrf. Required on all POST events.
High-level setup (no secrets in the template):
  1. Activate the OData services in /IWFND/MAINT_SERVICE (and confirm with Gateway Client /IWFND/GW_CLIENT).
  2. Create a Gateway user (Basic), OAuth/SAML bearer client, or X.509 client cert.
  3. Set BASE_ADDRESS to https://{host}:{port}.
  4. Fetch CSRF, then call GET/POST events with placeholders filled.
GET production orders by plant smoke payload:
GET work centers / PM orders use the same shape (plant). POST maintenance notification (connector body is {payload}; fetch CSRF first):

Try it

  1. Replace YOUR_HOST / YOUR_PORT in BASE_ADDRESS and add the connector on a lab broker.
  2. Publish token + plant JSON to erp/sap-s4hana-onprem/production-order/get (and optionally work-center/get / pm-order/get).
  3. Subscribe to the matching /response topics.
  4. For POSTs: call erp/sap-s4hana-onprem/csrf/fetch first, then publish with csrf_token and body fields.
Recorded factory probes without a Gateway host: Accelerator Hub product/overview pages HTTP 200, SAP Gateway Help Portal HTTP 200, placeholder host unreachable. Live Gateway smoke is still required before status ready.
Last modified on October 21, 2026