S/4HANA Cloud

  1. 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" }

     

    image-20240114-231651.png

     

  2. Check in Event Mesh that there is an instance created automatically.

    image-20240114-231709.png

     

  3. Check in S/4 HANA Cloud that the communication arrangement SAP_COM_0092 is created automatically.

     

  4. Open Enterprise Event Enablement app (if not available, check the comment for 1NN settings below). A channel is created automatically.

     

  5. Create required events in the channel.

     

  6. 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}/*" ] } } }

     

  7. Check in Event Mesh that there is an instance created.

     

  8. Check the list of events in s4hc instance created by cloud extensibility in step 1 and 2.

     

  9. 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/

Â