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 an SAP Cloud Application Programming Model Project for SAP HANA Cloud

Use the wizard for the SAP Cloud Application Programming Model to create a project in SAP Business Application Studio that will also support SAP HANA Cloud.

Overview

🎓 beginner 15 min. SAP HANA CloudBeginnerSAP Business Application StudioSAP Cloud Application Programming Model

You will learn

Thomas Jung T Thomas Jung September 5, 2024
Created by February 5, 2021
Contributors

Prerequisites

Prerequisites

Steps

Video Version

Video version of tutorial:

Step 1 Create dev space in SAP Business Application Studio
โ€”

Dev spaces are like isolated virtual machines in the cloud that can be quickly spun-up. Each dev space type contains tailored tools and pre-installed run-times for a target scenario such as SAP Fiori or mobile development. This simplifies and saves time in setting up the development environment as there’s no need to install anything or upgrade; letting developers focus on their business domain, anytime, anywhere.

In this step we will create a new Dev Space configured for SAP Cloud Application Programming Model (CAP) development. If you already have a dev space configured for CAP and HANA development, you can skip this step as each dev space can hold multiple projects.

  1. Go to your SAP Business Technology Platform subaccount and click the Services -> Instances and Subscriptions option.

    Subscriptions
    Subscriptions

  2. Locate the SAP Business Application Studio entry and click Go to Application

    Go To Application
    Go To Application

  3. Choose Create Dev Space. Please NOTE: In the SAP BTP trial and free tier you are limited to only two Dev Spaces and only one can be active at a time. If you have performed other tutorials, you might already have reached your maximum. In that case you might have to delete one of the other dev spaces in order to continue with this tutorial.

    Create Dev Space
    Create Dev Space

  4. Enter any name you wish for your dev space name and choose Full Stack Cloud Application as the kind of application you are creating.

    Create Dev Space
    Create Dev Space

  5. The Dev space will automatically be configured with the most common tools you need for the type of application you choose. However you can also choose additional, optional extensions. Since you want to combine CAP and HANA artifacts in the same project, we would ask that you also choose SAP HANA Calculation View Editor and SAP HANA Tools at minimum.

    Configure Dev Space
    Configure Dev Space

  6. Once all selections are completed, press Create Dev Space

    Press Create Dev Space
    Press Create Dev Space

  7. The Dev Space will then begin starting and the process will take a minute or so as your cloud environment is being created

    Staring Dev Space
    Staring Dev Space

  8. Once the Dev Space reaches the green status of RUNNING, you can click on the name of the Dev Space and it will load into the editor within your browser

    Dev Space is Running
    Dev Space is Running

  9. You’ll be redirected to your newly created SAP Business Application Studio Dev Space. We recommend you bookmark this URL so it’s easier for you to access this dev space of your SAP Business Application Studio in the future

    Business Application Studio is running
    Business Application Studio is running

Step 2 Configure dev space
+
Step 3 Create a new project
+
Step 4 Explore the generated artifacts
+
Step 5 Install dependencies
+
Step 6 Initialize local Git repository
+
Step 7 Perform your first commit
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create dev space in SAP Business Application Studio 2. Configure dev space 3. Create a new project 4. Explore the generated artifacts 5. Install dependencies 6. Initialize local Git repository 7. Perform your first commit

Learn more →