Publishing Events from S/4 HANA to Event Mesh for Cloud integration for external systems

For the past few months, I have been working on an S/4 HANA new implementation leveraging the SAP integration suite – Cloud Integration, Event Mesh, API Hub, Integration advisor, etc. In this blog, I wanted to capture sending out business transaction events from S/4 HANA to the Event Mesh and having CPI read from the Event Mesh and then process the event, read additional data from S/4 HANA using the OData API to enrich the message, and then publish to an outbound queue for downstream systems.