Get familiar with your first CAPM project using CDS graphic modeler

Estimated read time 4 min read

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.

 

 After you click on create devspace below screen will appear:

 

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

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

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

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.

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

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.

 

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:

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

 

 

 

​ 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.  After you click on create devspace below screen will appear: Enter a dev space name, and select “Full Stack Cloud Application” category, then click “Create Dev Space” button to create the dev space. Wait until the newly created dev space is in “RUNNING” status: Now we can enter the dev space by clicking the dev space name:Create a CAP ProjectNow let’s create a sample CAP project using the project wizard. Click “Start from template” from the welcome page and launch the project wizard.Please select “CAP Project” from the template in the project wizard: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. 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:You can open db/data-model.cds in the project using the code editor:     Read More Technology Blog Posts by Members articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author