Technical Articles
Develop Low Code app with SAP Business Application Studio
SAP Business Application Studio increases developer productivity and provides a simplified development experience tailored to the needs of citizen developers. This blog post demonstrates how to quick create an app by SAP Business Application Studio.
What you will learn
⭐ Create low code app in SAP Business Application Studio
⭐ Simplified build application modeling experience based on graphical editors
⭐ Test run app with sample data
Prerequisites
Environment
- Enable Low-Code/No-Code service in SAP BTP via Booster:
Booster guide you to initialize the service components in easy and quick way. The Low-Code / No-Code service on SAP BTP is available with a subscription booster. Booster could help you initiate the Low-Code/No-Code service quickly.
Enable Low-Code/No-Code service by booster - Setup Low-Code/No-code service w/o Booster
You can setup the Low-Code/No-Code service role collection manually if Booster not available.
Login to your SAP BTP Cockpit, and then navigate to Service Marketplace. Subscribe SAP AppGyver. Navigate to Security/Role Collections. Assign these roles to your user, make sure all roles nominated correctly.
Roles | Role Template |
---|---|
Administrator | Business_Application_Studio_Administrator |
AppGyverAdmin | AppGyverAdmin |
Developer | Business_Application_Studio_Developer |
RegistryAdmin | RegistryAdmin |
RegistryDeveloper | RegistryDeveloper |
- Setup SAP HANA Cloud for the data persistence
For data persistence, we need enable SAP HANA Cloud and ensure HDI container exists already for the app deployment. refer to this blog post: Deploy SAP HANA Cloud
Step 1: Create Business Application project in Low code environment
Select menu Services/Instances and Subscriptions, click Go to Application icon to access the SAP AppGyver Lobby.
Step 2: Create new Data Models
Step 3: Create sample data
Step 4: Create Service Entity
Step 5: Add User Interface
After all data models, sample data and services created, we need add a user interface for frontend page. Click “+” on User Interfaces tile to launch the UI creation wizard.
Type a new application name, and then next. Select UI Application Type, for this scenario, we select Template-Based, Responsive Application. For UI Application Template, select List Report Object Page. Finish on the wizard, ui development edit page will display after dependencies installed.
UI Application Details | |
---|---|
Application name | MyApp |
Display name | My Application |
Description | My SAP application |
UI Application Type | |
---|---|
Application Type | Template-Based, Responsive Application |
UI Application Template | |
---|---|
Application Template | List Report Object Page |
Data Objects | |
---|---|
Main entity | Books |
Automatically add table columns? | Yes |
Step 6: Accomplish configurations for UI application
Step 7: Preview the UI application
Step 8: Deploy my app to Cloud Foundry runtime
- Deploy my sample app to Cloud Foundry runtime
Go back to my application development Home page, click Stop Preview, the cloud foundry related stuff generated automatically. We can click button Deploy complete the deployment, during this, you might be required login your CF account, select org/space.
Login the cockpit, and then navigate to my space verify the application deployed successfully.
- Assign role to the access user on my application
Navigate to my subaccount view, access to Security / Role Collection page. Click “+” button to Create New Role Collection, type a new name “Low_Code_APP”.
Open the role collection, Edit it. Assign the Manager- role to the users who are allowed to access the deloyed application.
- Setup my application in Launchpad
We can add our SAP Fiori app to a launchpad site in the SAP Launch Service. To shrink the blog post size, please refer to this tutorial to release our new app in Launchpad.
Release my new app in Launchpad
Referenced link:
Integrate Your SAP Fiori Elements App into a New Launchpad Site
Really Great blog. Thank you 🙂
Hi Arvin,
I haven't followed the steps yet, but I am curious about the persistence for the data model. I imagine it needs HANA Cloud. Is that a prerequisite? I don't see any step covering it.
Thx,
Tamas
Hi Tamas,
Exactly, some prerequisites required if you want to deploy the app to CF runtime. The persistence relies on SAP HANA Cloud. Have already updated this part in the blog post. This is official instructions for the deployment: https://help.sap.com/viewer/DRAFT/6a5fc562f6e2402aa84b0416614a05fc/Dev/en-US/1d4feada3bd1448dbfd6426246bcbc8e.html
Regards,
Arvin
thx!