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 a CAP Node App Using SAP Business Application Studio

Develop a simple CAP Node.js application using SAP Business Application Studio.

Overview

🎓 beginner 25 min. SAP Business Application StudioBeginnerSAP Cloud Application Programming Model

You will learn

  • โœ”How to create a CAP project
  • โœ”How to develop business applications based on the SAP Cloud Programming Model (CAP)
  • โœ”How to run and test your application using the Run Configurations tool The application you’ll develop is a simple bookshop app consisting of a data model with three entities:
  • โœ”Books
  • โœ”Authors
  • โœ”Genres The data model is exposed via the Catalog Service. The application has some initial data that is used for testing the application, and some custom logic that runs after reading the books from the Books entity. Once you have all the code in place, you will test the application locally.
Paola Laufer P Paola Laufer March 17, 2025
Created by December 10, 2024
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Create new CAP project
โ€”

  1. From the SAP Business Application Studio hamburger menu, select File > New Project from Template.

  2. Select the CAP Project template, and click Start.

    start project
    start project

  3. Enter bookshop as the name for the project.

  4. Select the SAP HANA Cloud checkbox.

    hana
    hana

  5. Click Finish.

    The project is generated and opens in the Storyboard.

    storyboard
    storyboard

Step 2 Define bookshop data schema
+
Step 3 Define the bookshop service
+
Step 4 Add initial data
+
Step 5 Add custom logic
+
Step 6 Test the app with local database
+
Step 7 Deploying your app
+

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 new CAP project 2. Define bookshop data schema 3. Define the bookshop service 4. Add initial data 5. Add custom logic 6. Test the app with local database 7. Deploying your app

Learn more →