SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Create SAP Build App to Trigger Workflow

Trigger a workflow created in SAP Build Process Automation from an app created with SAP build Apps.

Overview

🎓 beginner 25 min. SAP BuildBeginnerSAP Business Technology PlatformSAP Build Apps

You will learn

  • โœ”How to create a simple UI
  • โœ”How to create a form
  • โœ”How to stylize your UI
  • โœ”How to trigger from your app a workflow in SAP Build Process Automation
Daniel Wroblewski D Daniel Wroblewski April 22, 2025
Created by June 4, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

This tutorial shows you how to use SAP Build Apps to create and stylize a simple, one-page app that triggers an SAP Build Process Automation workflow.

Specifically, the app lets the user enter sales order details and then send these to a process for approval. (In a real-world scenario, the sales order would then be created in SAP S/4HANA Cloud, but that is not part of our flow.)

Your app will look something like this:

Your app
Your app

Step 1 A few important UI concepts
โ€”

Before you begin, we want to help you understand how apps are developed with SAP Build Apps.

Every app is built on a UI canvas โ€“ the canvas is the background of the app. On the canvas, you drag and drop components: text fields, input boxes, toggle bars, images and many other components you want the user to interact with.

Canvas
Canvas

Every component has properties, for example: the text to display, the value of the input box and so forth. You select the component and then its properties appear in the Properties pane to the right.

Properties
Properties

Each property is bound to something, for example:

  • Static text – in the screenshot, the button component’s Label property is bound to the static text Button

  • Variable – whose value can be updated elsewhere, for example in response to user action

  • Data from an SAP backend

  • Formula

  • Output of flow function in logic

For the property, you click the binding button …

Binding button
Binding button

… and then select from a menu of binding types.

Bindings
Bindings

Finally, for every component there are events, for example, when a user taps a button or enters data in an input box. You can capture these events and then perform an action โ€“ like display a dialog, create data in a backend, change the value of variables and much more.

This is done on the logic canvas. Select a component (or no component if you want to capture app events), and then open the logic canvas.

Logic canvas
Logic canvas

You then drag and drop flow functions and connect them to events. The flow functions are executed whenever that event occurs. And, of course, each flow function has its own properties to bind ๐Ÿ˜บ.

Flow functions
Flow functions

Step 2 Create project with sales order form
+
Step 3 Enable SAP BTP authentication
+
Step 4 Create data resource to process
+
Step 5 Create page variable
+
Step 6 Bind page variable to UI elements
+
Step 7 Add logic to trigger workflow
+
Step 8 Run app
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. A few important UI concepts 2. Create project with sales order form 3. Enable SAP BTP authentication 4. Create data resource to process 5. Create page variable 6. Bind page variable to UI elements 7. Add logic to trigger workflow 8. Run app

Learn more →