SAP Build Apps, formerly known as SAP AppGyver, is a service within the SAP Build product.
SAP has consolidated all of its low-code/no-code offerings under a single brand, aiming to streamline and unify the developer experience across its various development tools and platforms. SAP Build Apps enables users of all backgrounds to develop full-stack applications visually, eliminating the need for writing code. It offers drag-and-drop functionality that conceals the complexity typically associated with development, making the process accessible to a broader range of user.
In this blog post, we’ll touch on an overview on how to construct business logic in SAP Build Apps, focusing on the following two topics: application logic and functions.
Before we delve into the components of application logic in SAP Build Apps, it’s essential to understand two key concepts in application logic: the app state, which includes two different states, and the logic flows.
Now that we understand the concept of app state and logic flow, we can start constructing the application logic in SAP Build Apps. To open up the application logic canvas, click on Add logic (circled in the box), located at the bottom half of the application builder view, as shown in this figure.
Application logic in SAP Build Apps comprises the following components, as shown in the next figure.
The Upload files flow function can be located in the service marketplace. Once installed, it will be available in the flow function library panel under the Installed tab, ready to be used.
Functions are a part of the core feature of visual cloud functions, facilitating the execution of logic flows in a visual manner. To create the function, you have to create an SAP Build Apps project from SAP Build lobby and choose the application backend type application. Next, navigate to the Functions tab at the top toolbar, and create the function via the CREATE NEW button at the top-right corner, as shown in this figure.
Once a function is created, its logic flow can be constructed and configured visually within the logic canvas, as depicted in the final figure. Each function begins with a start execution node on left and concludes with one or more nodes on the right. Additional nodes can be inserted in between to incorporate the function logic. To use the function, it must be enabled as a data source and be consumed within the logic canvas using a Run cloud function flow function.
Learn how to install SAP Build Apps in this post.
Editor’s note: This post has been adapted from a section of the book SAP Business Technology Platform by Smitha Banda, Shibaji Chandra, and Chun Aun Gooi.