SAPinsider

articles

Cloud Platform Integration Role in the Event-Driven Integration with CAP and Open Connectors

Cloud Platform Integration Role in the Event-Driven Integration with CAP and Open Connectors

It’s time for another part of the blog series “Expose your data in a fast and reliable way in real time with SAP BTP” in which I’m going to put some light on the CPI part of the solution architecture presented below.

Figure 1 – Solution architecture

As you can guess, the CPI plays one of the major roles in our scenario. As it usually happens with the integration solution, it stays in the middle, securely connects, enriches, maps and exchanges messages between all the applications and landscapes involved in the process. This includes on-premise S/4 HANA instance as well as the CAP application deployed on the Cloud Foundry, which as we are trying to emphasize with this series of blogs, is full of very useful APIs and therefore significantly extends integration possibilities.

Integration Flows

There are two integration flows created in the CPI to support the communication in our small project. Both are exposed via unique endpoints to which Event Mesh can send messages e.g. notifying CPI of the particular S/4 HANA event. Of course by definition we treat event as a significant change in state, which indicates that something happened in the source application, in our case it?s either the new sales order created in the S/4 HANA system or the following step being successful save of the sales order in the Cloud Foundry HANA database. Naturally we are not limited to sales orders only, practically any object in the system, once it is configured, can trigger event and therefore initialize data exposure via scenario designed in the similar way to the one we describe here. Thanks to event-based design we also do not have to frequently check whether the object of our interest has been created, instead we will be automatically, in real time, notified when it happens.

Vendors mentioned

Fill in the form on this page to read the full article.