0% found this document useful (0 votes)
66 views7 pages

Day 1 - Sap Cap

The document provides an introduction to SAP CAP including getting started steps like setting up a trial account and creating a CAP project in SAP Business Application Studio. It also discusses the differences between SAP CAP and RAP and provides an example of adding an incident entity to a CAP project data model.

Uploaded by

sandeepasthana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views7 pages

Day 1 - Sap Cap

The document provides an introduction to SAP CAP including getting started steps like setting up a trial account and creating a CAP project in SAP Business Application Studio. It also discusses the differences between SAP CAP and RAP and provides an example of adding an incident entity to a CAP project data model.

Uploaded by

sandeepasthana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Day 1:Introduction to SAP CAP(Cloud Application

Programming Model)

Table of Contents
Introduction to SAP CAP(Cloud Application Programming Model) .......................... 1
Getting Started with BTP and BAS ..................................................................................1
Exercise 1 Introduction to CAP ......................................................................................2
Step 1: Go to hana trial account ....................................................................................................... 2
Step 2:Click SAP Business Application Studio and Create dev space (Service should be running) .... 3
Step 3: Click capb2p ........................................................................................................................ 3
Step 4: Create project ....................................................................................................................... 4
Step 5: Select CAP project from the project template ....................................................................... 4
Step 6: Provide the project name ...................................................................................................... 5
Step 7: Check if your project name added into workspace ................................................................ 5
Step 8:Create a new file under DB folder .......................................................................................... 6
Stpe 9: Add incident code ................................................................................................................. 6

Getting Started with BTP and BAS

• Get a trial or free tier account on SAP BTP


• Set up SAP Business Application Studio

Why I'm Learning SAP CAP as an ABAP Developer?


As an ABAP developer, I’ve always believed in the power of staying ahead of the
curve. With the tech landscape evolving rapidly, it’s crucial for us to adapt and grow.
• The world of SAP is moving towards cloud solutions, and CAP is at the
forefront. Learning CAP ensures that our skills remain relevant and in-
demand, opening doors to exciting new opportunities.
• CAP introduces you to modern languages like JavaScript and frameworks like
Node.js. It’s not just about adding new tools to your kit; it’s about expanding
your thinking and problem-solving approaches.
Let’s embrace the future together. By learning CAP, we not only enhance our
individual careers but also contribute to the overall growth and innovation within the
SAP community.

SAP ABAP RAP Vs SAP CAP

Target Audience:
• RAP is more suited for traditional ABAP developers and those focusing on SAP
S/4HANA, whereas CAP is aimed at developers looking to leverage modern
cloud-native technologies and languages.
Development Environment:
• RAP maintains a strong ABAP-centric development environment, while CAP
adopts a more diverse environment, utilizing JavaScript/TypeScript and
Node.js.
• Deployment Scenarios: RAP offers flexibility for both on-premise and cloud
deployments, while CAP is optimized for cloud-first scenarios.
Integration:
• RAP integrates deeply with SAP S/4HANA, making it ideal for enhancing and
extending existing SAP solutions. CAP, on the other hand, is built for seamless
integration with various cloud services, providing more versatility in a multi-
cloud landscape.

Both RAP and CAP have their unique strengths and are designed to cater to different
needs within the SAP ecosystem. Choosing between them depends on your specific
requirements, existing infrastructure, and development expertise.

Exercise 1 Introduction to CAP

Step 1: Go to hana trial account


https://cockpit.hanatrial.ondemand.com/trial/#/home/trial
Step 2:Click SAP Business Application Studio and Create dev space
(Service should be running)

Step 3: Click CAP BTP


You will land up in the initial screen
Step 4: Create project

Step 5: Select CAP project from the project template


Step 6: Provide the project name

Step 7: Check if your project name added into workspace


Step 8:Create a new file under DB folder
File name should be “data-model.cds”

Step 9: Add incident code

Code for Add incidents

namespace incidents.mgt;
entity Incidents {

key ID : UUID;

title : String;

Sample code Screenshot

Note:

I'm excited to share more insights on SAP Cloud Application Programming (CAP) with
you. However, due to a busy schedule with office work and German classes, I'll need to
continue our series in the next post.

Thank you for your understanding, and I look forward to diving deeper into CAP with you
soon. Keep an eye out for the upcoming updates!

Day 2:

Teched 2023 :Reference Material


https://github.com/SAP-samples/teched2023-AD264/tree/main

Reference
https://cap.cloud.sap/docs/get-started/learning-sources

You might also like