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

Develop an SAPUI5 Application for SAP BTP on Cloud Foundry

Create an SAPUI5 application in SAP Web IDE Full-Stack and deploy it to your SAP BTP, Cloud Foundry environment.

Overview

🎓 beginner 25 min. SAP Web IdeBeginnerSAP Fiori

You will learn

  • โœ”How to create a new SAPUI5 application for SAP Business Technology Platform (BTP), Cloud Foundry environment
  • โœ”How to configure your Cloud Foundry settings in SAP Web IDE
  • โœ”How to build and deploy your application to Cloud Foundry

Prerequisites

Prerequisites

  • Make sure you have access to the trial version of SAP Web IDE Full-Stack.

Steps

Intro

Create, configure, build, and deploy a simple application on Cloud Foundry in SAP Web IDE Full-Stack.

We would like to invite you to switch to SAP Business Application Studio since it’s better suited for developing applications for Cloud Foundry. SAP Business Application Studio has built-in productivity tools for the Cloud Foundry environment, such as command line and command palette dedicated tools. During development, SAP Business Application Studio saves you a lot of time since you can test run the app locally in the dev space without needing to go through a time consuming build and deploy.


Step 1 Create a new project
โ€”

  1. In SAP Web IDE Full-Stack, right-click your workspace choose New > Project from Template.

    Open template
    Open template

  2. In the template wizard that opens, in the Environment dropdown list, make sure that Cloud Foundry is selected and Category should be Featured otherwise the SAPUI5 Application tile will not appear.

    Select environment
    Select environment

  3. Scroll down and click the SAPUI5 Application tile and then click Next.

    Select template
    Select template

  4. In the Basic Information screen, in the Module Name field, enter FioriDemo. In the Namespace field, enter mynamespace and then choose Next.

    Module name
    Module name

  5. In the Template Customization screen, accept the default values shown below and choose Finish.

    Finish
    Finish

A new MTA project called mta_FioriDemo containing the FioriDemo HTML5 module now appears in your SAP Web IDE workspace. When developing apps in the Cloud Foundry environment, you create a Multi-Target Application (MTA) file in SAP Web IDE. Each SAP Fiori app is developed as an SAPUI5 module of the MTA.

View MTA file
View MTA file

You can alternatively choose the Multi-Target Application template which will create an MTA project structure and then add new modules to the project.

Step 2 Open the layout editor
+
Step 3 Use the layout editor
+
Step 4 Set Cloud Foundry preferences
+
Step 5 Test your new application
+
Step 6 Build your application
+
Step 7 Deploy your application
+
Step 8 Get the URL to access your application
+

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. Create a new project 2. Open the layout editor 3. Use the layout editor 4. Set Cloud Foundry preferences 5. Test your new application 6. Build your application 7. Deploy your application 8. Get the URL to access your application

Learn more →