Skip to content

01. Setting up the environment

Nikica Josipovic edited this page Jul 8, 2025 · 15 revisions

Introduction

This exercise will guide you through the end-to-end setup of the Incidents Management Sample with the sandbox enabled and a local multitenancy environment. It assumes you're using either SAP Business Application Studio (BAS) or Visual Studio Code (VS Code).

The first part is a fast-tracked summary of the reCAP Extensibility Workshop from 2024, which you can find here. If you get stuck or need more detailed explanations, feel free to refer to that resource.


The Development Environment

This tutorial works in any suitable environment of your choice. If you already have VS Code installed, you're good to go. If you prefer to use a plain text editor, make sure you have the necessary tools installed to clone a Git repository and run commands in a terminal.

If you're unsure how to proceed, visit the Tools Guide on Capire.

Optional: A Dev Space in SAP Business Application Studio

For re>≡CAP 2025, we've prepared a BTP subaccount you can use. If you're doing this on your own, you can use a BTP trial account.

Log in to BAS:
https://capworkshop-49629d11-71e8-2d2a-0725-3220ca438656.eu10cf.applicationstudio.cloud.sap/

Select aoykcp1ee.accounts.ondemand.com on the login screen:

choose aoykcp1ee.accounts.ondemand.com as idp

User: [email protected] (use any number from 001 to 040)
Password: *** (shared during the workshop)

enter user and password

🧠 Tip: Use incognito mode. If you're automatically logged in with your usual user, either use incognito or clear your browser cookies.

Create a BAS Dev Space

create the BAS dev space

Choose "Full Stack Cloud Application". This option includes useful extensions like the CDS Graphical Modeler and CAP Tools.

You may need to stop existing dev spaces depending on your subscription limits.


Set Up Incidents Management

Clone the sample app from GitHub and switch to the recap25 branch:

git clone https://github.com/cap-js/incidents-app.git
cd incidents-app
git checkout recap25

> [!Note]
> We have mock authorization enabled for this project. When prompted for a user, please use `alice` with an empty password

In the [**Second exercise — Creating the extension**](02.-Creating-the-extension), we will start with creating the extension project.
Clone this wiki locally