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.

    image-20240114-231726.png

     

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

    image-20240114-231736.png

     

  5. Create required events in the channel.

    Channel.png

     

  6. Create an Event Mesh instance for subscribing to these events in BTP using the config below:

    image-20240114-231807.png
    { "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.

    image-20240114-231818.png

     

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

    image-20240114-231828.png

     

  9. Create queues in the new Event Mesh instance created in steps 6 and 7 to subscribe to the above events.

image-20240114-231835.png

Refer to SAP documentation for more information: https://blogs.sap.com/2023/06/22/enable-the-events-from-s-4hana-cloud-to-event-mesh/

Â