Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Jyoti_ranjan
Discoverer
0 Kudos
720

Getting Started with with your first CAMP project with CDS Graphical Modeler in SAP Business Application Studio.

As SAP developers, we frequently navigate the complexities of code, annotations, and metadata while constructing data models with Core Data Services (CDS). Although the capabilities of CDS are remarkable, handling intricate data models solely through code can be quite daunting particularly in extensive enterprise applications. This is where the CDS Graphical Modeler proves invaluable a revolutionary tool within SAP Business Application Studio (BAS) that enhances visual clarity and efficiency in CDS development.

What is CDS Graphical Modeler?

Instead of writing  .cds  files manually, we can now model our entities, relationships, and services visually, making it easier to understand and communicate your data architecture.

Lets create a dev space and then dive into the CAPM with cds.

Go to BTP COCKPIT Login 

First we need to logon to SAP Business Application Studio, you will see a list of the existing dev spaces:

you can use the existing devspace if it is preconfigured else create a devsapce.

Jyoti_ranjan_1-1749463155915.png

 

 After you click on create devspace below screen will appear:

 

Jyoti_ranjan_0-1749461813292.png

Enter a dev space name, and select "Full Stack Cloud Application" category, then click "Create Dev Space" button to create the dev space.

Jyoti_ranjan_2-1749463528012.png

Wait until the newly created dev space is in "RUNNING" status:

Screenshot 2025-06-09 153555.png

Now we can enter the dev space by clicking the dev space name:

Jyoti_ranjan_3-1749463706203.png

Create a CAP Project


Now let’s create a sample CAP project using the project wizard. Click “Start from template” from the welcome page and launch the project wizard.

Jyoti_ranjan_0-1749464257619.png

Please select “CAP Project” from the template in the project wizard:

Jyoti_ranjan_1-1749464299166.png

Click “Start” button and enter the CAP project details in the next page of the project wizard. Please check “Basic Sample Files” and ensure the project wizard to generate sample CDS files for you.

 

Jyoti_ranjan_2-1749464366247.png

Click “Finish” button to close the wizard and the dev space will refresh again and this time the newly CAP project folder will be in the project tree:

Jyoti_ranjan_3-1749464418579.png

You can open db/data-model.cds in the project using the code editor: