Day 1 - Sap Cap
Day 1 - Sap Cap
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
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.
namespace incidents.mgt;
entity Incidents {
key ID : UUID;
title : String;
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:
Reference
https://cap.cloud.sap/docs/get-started/learning-sources