S/4HANA Cloud
Create SAP S/4HANA Cloud Extensibility instance from BTP from JSON config:
{ "options": { "management": true, "messagingrest": true, "messaging": true }, "rules": { "topicRules": { "inboundFilter": [ "${namespace}/#" ] } }, "emname": "S4P", "namespace": "sap/S4HANAOD/S4P" }
Â
Â
Check in Event Mesh that there is an instance created automatically.
Â
Check in S/4 HANA Cloud that the communication arrangement SAP_COM_0092 is created automatically.
Â
Open Enterprise Event Enablement app (if not available, check the comment for 1NN settings below). A channel is created automatically.
Â
Create required events in the channel.
Â
Create an Event Mesh instance for subscribing to these events in BTP using the config below:
{ "version": "1.1.0", "emname": "s4hs", "namespace": "sap/S4HANAOD/s4hs", "resources": { "units": "10" }, "options": { "management": true, "messagingrest": true, "messaging": true }, "rules": { "topicRules": { "subscribeFilter": [ "${namespace}/*", "sap/S4HANAOD/s4hc/*" ] }, "queueRules": { "subscribeFilter": [ "${namespace}/*" ] } } }
Â
Check in Event Mesh that there is an instance created.
Â
Check the list of events in s4hc instance created by cloud extensibility in step 1 and 2.
Â
Create queues in the new Event Mesh instance created in steps 6 and 7 to subscribe to the above events.
Refer to SAP documentation for more information: https://blogs.sap.com/2023/06/22/enable-the-events-from-s-4hana-cloud-to-event-mesh/
Â