Configure SAP S/4HANA Enterprise Event Enablement to publish production-order business events to SAP BTP Event Mesh and consume them in a subscriber application
In the SAP Fiori launchpad, open the 'Enterprise Event Enablement' app; create a new channel and point it to your SAP BTP Event Mesh service instance by providing the service key credentials (messaging URL, client ID, client secret, token URL).
Add topic bindings in the channel configuration; for production order events use topic patterns such as sap/s4/1.0/MM/ProdOrder/Changed/v1 — the exact topic names are defined in the Business Event Catalog.
Activate the channel; S/4HANA will now publish CloudEvents 1.0-formatted JSON payloads to Event Mesh whenever the bound business object changes.
In BTP Event Mesh, create a queue and subscribe it to the topic using a topic subscription; configure the queue's access credentials for your consumer application.
In the consumer application, use the Event Mesh REST API (or AMQP) to poll or push-subscribe the queue; parse the CloudEvents envelope to extract the business object key (e.g., ManufacturingOrder number) and call back to S/4HANA OData APIs for full payload.
Handle duplicate delivery by storing and checking the CloudEvents 'id' field — Event Mesh guarantees at-least-once delivery, not exactly-once.
Known gotchas
The Enterprise Event Enablement channel only publishes the event metadata (keys), not the full business object payload — consumers must make a separate OData read call to fetch current field values, which introduces a possible race condition if the object changes again before the read.
Topic namespace in Event Mesh is case-sensitive and must exactly match the topic name configured in S/4HANA; a mismatch causes silent drop of events with no error surfaced in the S/4HANA channel monitoring app.
Event Mesh service instances created under the 'dev' plan have message retention and throughput caps that are unsuitable for production manufacturing volumes — use the 'standard' plan or SAP Advanced Event Mesh for high-frequency event streams.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp