In this blog post, I would like to cover the concept of event-based integration in S/4HANA Cloud. Fundamentally, there are three different services offered by SAP to achieve event-based integrations:
SAP Event Mesh is a standalone service offered by SAP, which can be used by customers with existing CPEA contract models. For newer customers with BTPEA contract models, the standalone service is no longer supported and customers can choose between AEM and EMIS. EMIS is embedded within the Integration Suite and can be activated without further license costs, whereas AEM is licensed separately and is geared to handle much higher data loads and comes with some more advanced capabilities.
In this blog post, I’ll be demonstrating a simple scenario of how to get started with event-based integrations using EMIS as a starting point. For a detailed background on EMIS, please refer to Karsten Strothman’s great blog post on the topic.
Prerequisites:
BTP Subaccount:
S/4HANA Cloud:
The last setup step is on the Cloud Integration (a.k.a CPI) side. Here under the Configure Event Mesh section, create a new queue for the test:
Inside the queue, add a subscription, where you will need to paste the following value: <Topic Space>/ce/<Outbound Topic Binding>. The <Topic Space> value is found in the communication arrangement. In my example, the final value will look something like this:
Integration Test:
Now that the necessary setup steps are complete, it’s time to test if the event is correctly being sent. Since my example topic binding is for the cost center change event, I will use the “Manage Cost Centers” app to change the value of an example cost center.
After doing this, we can see that the event has been sent out successfully and is now queued within the EMIS message queue in CPI:
With this, we have concluded the setup steps necessary to configure the technical communication between S/4HANA Cloud and Event Mesh for Integration Suite, in order to work with event-based integrations. Hope this gave you a comprehensive overview as to what configuration steps are required in the various systems in order to have the technical communication between the systems up and running. After this initial setup, integration flows will usually be developed within CPI in order to consume these events, put together the necessary payloads, and send the required data to external systems for consumption.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 16 | |
| 9 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |