Create simple CAP Service with Node.js using the SAP Business Application Studio
Intermediate
20 min.
Use SAP Business Application Studio to develop a basic CAP Node.js service for Cloud Foundry. You will use only simple JavaScript functions (no database) and learn some basics from the SAP Cloud Application Programming Model (CAP).
You will learn
- How to create a Dev Space in SAP Business Application Studio
- How to create a Project using the CAP Project template
- How to develop a sample service using CAP and Node.js
- How to run your service locally
Prerequisites
- Get an Account on SAP BTP to Try Out Free Tier Service Plans
- You are subscribed to SAP Business Application Studio
- The following prerequisites are optional, on trial accounts the space and role should have been created by default
- Under Cloud Foundry Create a Space if you don’t have one already
- Make sure your user has a Space Developer Role
Overview
Find more information on SAP Cloud Application Programming Model Welcome to CAP.
In this tutorial group you will learn all the steps to finally consume a CAP Service in a process of SAP Build Process Automation.

The Use Case
In this series of tutorials, you will implement a CAP Service with very easy functions like converting a String to a number, converting a list of ids to a comma separated String and finally consume the CAP Service API functions in SAP Build Process Automation Process.