You have Set Up a BTP Account for Tutorials. Follow the instructions to get an account, and then to set up entitlements and service instances for the following BTP services.
SAP Business Application Studio
SAP Analytics Cloud trial
You will learn
How SAP HANA modeling is performed using SAP Business Application Studio
In this tutorial, you will learn about the creation of a calculation view in SAP HANA Cloud. The created calculation view is later consumed in SAP Analytics Cloud using Live Data Connection to create a story for detailed data analysis.
Step 1Start SAP Business Application Studio and create Dev Space
โ
Login to your BTP trial subaccount, navigate to subscriptions and select SAP Business Application Studio.
SAP Business Application Studio
This will open the dev spaces.
Click Create Dev Space.
DevSpace Creation
Select SAP HANA Native Application for the Dev Space type and specify a name.
We have provided the name as HANADevSpace.
DevSpace Creation
Click Create Dev Space.
In a minute, the Dev Space will get created. You need to start the Dev Space, which will by default be in stopped state.
DevSpace Starting
After starting, the state of the Dev Space changes to Running.
DevSpace Starting
Step 2Launch the studio and log into Cloud Foundry
+
Click on the Dev Space name to launch SAP Business Application Studio.
BAS Starting
After launching SAP Business Application Studio, you need to log in to Cloud Foundry.
To log in, click View > find command and enter CF. From the available options, select Login to Cloud Foundry.
CF Login
Specify your Cloud Foundry endpoint.
CF Login
Enter your e-mail address.
CF Login
Select the space from the CF Subaccount. This will set the CF Organization and Space for the application we are building
CF Login
A confirmation message will be shown at the bottom of the screen.
CF Login
Step 3Create SAP HANA database project
+
You will start the creation of the project now.
Select File > Project from Template, which shows the list of available templates to create applications using BAS.
HANA Project Creation
For this scenario, select SAP HANA Database project and then click Start.
HANA Project Creation
Specify a name to the project
HANA Project Creation
Leave the basic properties as is (for example, module name is db).
HANA Project Creation
Leave the namespace and schema fields empty. Check ‘Yes’ for the binding the database module to a Cloud Foundry service instance property.
HANA Project Creation
Leave default values for HDI Container service and then click Finish.
HANA Project Creation
The SAP HANA database project generation will start.
HANA Project Creation
Now you will be able to see the project in the Explorer section of SAP Business Application Studio.
HANA Project Creation
Step 4Create SAP HANA tables
+
Click View > find command, type HANA and then select the option Create SAP HANA Database Artifact.
HANA Table Creation
Select the source folder in the project to create the artifact and choose the artifact type as Table (hdbtable).
Name the table customers.
HANA Table Creation
Include the following code for the table definition:
Share feedback on this tutorial or join the conversation in SAP Community.
Submit detailed feedbackDiscuss in Community
Steps
Step 1 of 7
1. Start SAP Business Application Studio and create Dev Space2. Launch the studio and log into Cloud Foundry3. Create SAP HANA database project4. Create SAP HANA tables5. Insert data into tables6. Create calculation view7. Test yourself
Joule
AI Notice
Joule is an AI assistant. Generative AI may produce inaccurate, incomplete, or biased information. Always verify important details before acting on them.
Conversations are sent to SAP-hosted large language models for processing. Do not include personal data, credentials, or confidential information in your messages.
Joule's responses are based on the SAP tutorial catalog and may not reflect the latest product changes. For authoritative guidance, consult the linked tutorials and official SAP documentation.