How SAP Build Process Automation Works with the S/4HANA Public Cloud: A Practical Example

To model and automate processes easily and without deep programming knowledge – that is what SAP Build Process Automation, or SBPA, promises. But what can the solution achieve in conjunction with the SAP S/4HANA Public Cloud?
The digitalisation of business processes is at the top of the agenda for many companies. With SAP Build Process Automation (SBPA), SAP offers powerful low-code services that enable users to efficiently model and automate processes – all without developer knowledge and source coding. Sounds great, so should we jump in?
The fundamental question that arises when looking at SAP BPA is: Do you buy a ready-made solution with clearly defined functions or develop something yourself? As is often the case today, the answer is usually not just an either-or between SAP standard and classic in-house development in ABAP – especially since SAP, in addition to SBPA, also provides other implementation options such as the RESTful Application Programming Model (RAP) or the Cloud Application Programming Model (CAP), which offer different approaches for developing cloud-native extensions.
Therefore, we put it to the test and set up an internal use case to demonstrate how SBPA can be used together with the SAP S/4HANA Public Cloud to optimise processes and increase responsiveness.
Our use case: Customer notification for sales orders
It is a scenario that often occurs in corporate everyday life: Whenever a new sales order is created in the SAP ERP system and exceeds a certain configurable amount, such as €10,000, an email should automatically be sent to the relevant customer. Sounds simple, right? The devil is – as often – in the details.
So let’s take a closer look and begin with the architecture and setup of the process. The following SAP services were used:
- SAP S/4HANA Public Cloud as the ERP system
- SAP Extensibility Wizard
- SAP Event Mesh to forward events from the cloud to SBPA. (Alternatively, we also successfully tested SAP Cloud Application Event Hub)
- SAP Build Process Automation (SBPA) as the central workflow and automation tool & SMTP server configuration
- Standard APIs from S/4HANA Public Cloud to query additional data.
Just looking at the list of components makes it clear: It gets a bit more complex. After all, these solutions and systems must and should work seamlessly together if a clean process is to emerge in the end. In detail, the SBPA flow works as follows:
The flow starts with an event from the SAP S/4HANA Cloud when creating a sales order. This event is transmitted to SBPA via the Event Mesh, triggering the automated process. The following steps are therefore followed:
- Trigger by sales order event: The event can either be configured with a wizard or manually via the SAP Business Accelerator Hub.
- Data enrichment via API: As the event only provides limited information, the complete dataset for the sales order (e.g. total amount) is queried via an API call through a so-called action.
- Data processing and rule checking: The received amount is converted from a string to a number. Subsequently, a business rule checks whether the amount exceeds €10,000. By using a rule, this can even be maintained by specialist departments, for example via Excel.
- Determine customer email: Through further actions, the customer address is queried based on the ShipToParty and ultimately the email address. This involves a multi-stage process, as the data is distributed across different APIs.
- Sending the notification:
Once the email address is available and the condition is met, the message is sent via a configured SMTP server.
How well does it work? Insights from practice.
The implementation of the flow revealed exciting insights. SAP BPA enables flexible, modular process modelling with clear approval steps and process monitoring. Versioning allows for the management of various process variants out-of-the-box. The use of business rules and templates makes the solution easily accessible and adaptable for specialist departments, and with the integrated store in the SAP Build Lobby, numerous templates from both SAP and third-party providers are available.
However, there were also some challenges to overcome. The initial setup effort for the services, including all connections, authentication, and permissions, was relatively high compared to process modelling. Additionally, not all data sources provide the necessary information directly, requiring multiple API calls in some cases. And when changes are made to rules or actions, the flow must be published again.
Our conclusion: Low-code with SBPA is a real added value for SAP
Our project has shown: SAP Build Process Automation, in conjunction with other SAP cloud services and eventing, is a powerful tool for efficiently automating workflows with and without approval processes in SAP systems. The promise of making it possible for less tech-savvy users without deep coding knowledge has largely been fulfilled. Particularly those who have already worked with tools like Microsoft Power Automate will find it easy to navigate.
Nevertheless, it remains true: A certain technical foundation, especially when dealing with APIs and system connections, is necessary. However, those who take this step benefit from high flexibility in adjustments and extensions and ultimately from significant efficiency gains in operational everyday life.
SBPA offers a middle ground: Instead of having to build elaborate custom workflow services or maintain expensive custom extensions, smart automations and extensions can be realised with minimal code effort. Thus, the central question from above is no longer just 'Standard or custom development?', but rather 'Should I undertake a complete custom development or is a configurable low-code flow that covers 80% of my needs sufficient?'
Especially for companies transitioning from the 'old' SAP world to the 'new' cloud world of the SAP S/4HANA Public Cloud, SAP SBPA is particularly interesting. Because it is not just about technical migration, but also about a rethink in process design – moving away from hard-coded custom developments towards modular, flexible, and low-maintenance automations.






