5 - Send Events to SAP Build Process Automation
- How to configure REST Delivery Points in SAP Integration Suite, advanced event mesh
- How to forward messages from a queue to a REST consumer
Prerequisites
- You have completed the previous tutorial for the event-based processes CodeJam, Publish and Subscribe to Events.
- You have received the participants handbook, which contains systems and credentials you will need. The instructor will provide this to you.
- You have the SAP Build Process Automation service key created as part of the CodeJam prerequisites.
Now that we are familiar with the SAP Integration Suite, advanced event mesh, how we can publish and subscribe to events, and how we can exchange messages using an event broker service, we will start tackling one of the requirements of our integration scenario: trigger a business process in SAP Build Process Automation when a BusinessPartner is created in SAP S/4HANA Cloud.
There are scenarios where the target system/application can’t consume messages directly from an event broker but we still want these systems/applications to be part of our event-driven world and react to events as they are produced. Fortunately, some of these systems might expose APIs (REST endpoints) through which we can notify them of an event.
For these cases, we can leverage REST Delivery Points to forward messages from a queue to that system. For example, the integration we are about to configure between SAP S/4HANA Cloud and SAP Build Process Automation goes through an event broker service in SAP Integration Suite, advanced event mesh. In AEM, we end up configuring a REST Delivery Point to forward the events received and start a process in SAP Build Process Automation.
You can check out this SAP Tech Bytes: SAP S/4HANA Cloud + SAP Integration Suite, AEM + SAP Build Process Automation.
If you remember the CodeJam’s integration scenario), we have an SAP S/4HANA Cloud system that generates events whenever a Business Partner is added to the system and we would like to trigger a process in SAP Build Process Automation. As part of this tutorial we will forward events from a queue to a REST consumer, in this case, SAP Build Process Automation. From now on, we will refer to these types of systems as REST consumers.
It is also possible to configure this message forwarding in the Event Mesh capability of SAP Integration Suite. If you are interested in exploring how you can configure the webhook subscription mentioned above in the Event Mesh capability of SAP Integration Suite, you can check out the documentation here: https://help.sap.com/docs/integration-suite/sap-integration-suite/create-webhook-subscription.
By the end of this tutorial, we will achieve a communication scenario like the one below.




















