Keeping S/4HANA and the cloud in sync in real time

Keeping S/4HANA and the cloud in sync in real time

At a glance

Industry: Software, Enterprise Cloud Services (international software vendor)

Starting point: Business processes run partly in S/4HANA on-premise, partly in SAP BTP (Cloud Foundry) and must stay reliably in sync

DYN-IT's role: Development in the client's project team: integration, business objects, user interface

Period: since 2022, ongoing

Result: event-driven synchronisation with logging and a fallback queue; failed events are stored and reprocessed

Technology: Advanced Event Mesh, bgRFC, BOPF, ABAP RAP, CDS Views, FPM / Web Dynpro, Fiori Elements

Starting point

Some applications ran in S/4HANA on-premise, others in SAP BTP (Cloud Foundry). Critical business processes depended on data arriving between both worlds without delay and without loss. At the same time, users needed to search and edit faster in the existing screens.

What we did

  • We built the S/4HANA → SAP BTP integration event-driven on Advanced Event Mesh instead of coupling systems through point-to-point interfaces.

  • Background processing between the systems runs asynchronously via bgRFC.

  • We implemented the business objects in the BOPF framework with nodes, actions, determinations and validations; new extensions are built with ABAP RAP.

  • In the existing FPM and Web Dynpro screens we extended search modes, edit/save and dynamic filters.

Result

  • Every event is logged. If a target system is down, the data is stored in the database or routed to a backup queue and reprocessed later.

  • The event-driven architecture can take on further systems without rebuilding existing interfaces.

  • Users keep their familiar screens, with better search and filtering.

Keeping S/4HANA and the cloud in sync in real time