BTP · Development

SAP CAP: Cloud Application Programming Model

CAP is the SAP framework for building business services and applications on BTP from a declarative CDS model. This course covers it end to end: data definition with CDL, queries with CQL, logic with functions and actions, external service integration, UI with Fiori Elements and deployment to Cloud Foundry on HANA Cloud, with a lab, an assignment and a test in every block.

Advanced 80 h of training Instructor: Gheorghe Valer 99 videos BTP Backend Developer: RAP and CAP Prepares for the C_CPE certification

What you will learn

By the end, you will be able to do this

  • Create and structure a CAP project with the CDS CLI
  • Model data with CDL: entities, types, aspects, associations and compositions
  • Query data with CQL and embedded queries in the handlers
  • Implement functions and actions, bound and unbound
  • Integrate and expose external services (OData, REST, GraphQL)
  • Build user interfaces with Fiori Elements through annotations
  • Deploy to Cloud Foundry with MTA, HANA Cloud and HDI containers
  • Set up a local development environment with Node.js

Syllabus

18 sections · 99 videos

16 labs · 18 tests · assignments with solutions

01 Introduction
  • Course contents
  • What is CAP?
02 SAP BTP: Account and Tools
  • SAP BTP: account creation
  • Business Application Studio: subscription
  • Business Application Studio: development environments

+ Test · Lab · Assignment · Solution

03 CAP project
  • Creating the project
  • Project structure
  • SAP CDS - Commands

+ Test · Lab · Assignment · Solution

04 GitHub
  • GitHub: repository
  • Git: version control

+ Test · Lab · Assignment · Solution

05 Definition Language: CDL
  • Persistent and abstract entities
  • Loading demo data
  • Custom types
  • Structured types
  • Array types
  • Reference types
  • Enumerations
  • Default values
  • Constraints
  • Virtual elements

+ Test · Lab · Assignment · Solution

06 CDL: Views and Projections
  • Select entity
  • Projection entity
  • Entities with parameters
  • Entities: extension

+ Test · Lab · Assignment · Solution

07 CDL: Association and Composition
  • Unmanaged associations
  • Managed associations
  • Many associations
  • Many to Many associations
  • Composition

+ Test · Lab · Assignment · Solution

08 CDL: Aspects
  • Common: cuid
  • Common: managed
  • Common: localized

+ Test · Lab · Assignment · Solution

09 CDL: Directives
  • Namespace
  • Context
  • Using

+ Test · Lab · Assignment · Solution

10 CDL - Services and Annotations
  • Services: definition with Select
  • Services: annotations

+ Test · Lab · Assignment · Solution

11 Query Language: CQL
  • Projections with postfix
  • Smart selector
  • Path expressions
  • Infix filters
  • Groupings
  • Mixin
  • Casting
  • Exists

+ Test · Lab · Assignment · Solution

12 Embedded CQL Queries
  • On READ
  • HTTP requests
  • On READ: filters
  • After
  • On CREATE
  • Before
  • On UPDATE
  • On DELETE

+ Test · Lab · Assignment · Solution

13 Functions and Actions
  • Functions
  • Actions
  • Before: All Requests
  • Bound functions and actions

+ Test · Lab · Assignment · Solution

14 External Services
  • Importing an external service into CAP
  • Exposing an external service
  • CAP Server Bootstrap
  • CORS
  • Service Implementation
  • Enhancement
  • OData Adapter Proxy
  • DOTENV
  • REST protocol
  • GraphQL
  • Swagger

+ Test · Lab · Assignment · Solution

15 Fiori Elements - UI
  • Fiori Elements application
  • Selection fields
  • Search helps
  • Line Item
  • Images
  • Criticality
  • Communication Contact
  • Field Group
  • Header Info
  • Data Point
  • Facets
  • Header Facets
  • Capabilities
  • Internationalization

+ Test · Lab · Assignment · Solution

16 Cloud Deployment
  • HANA Cloud instance: creation
  • MTA: Multi Target Application
  • Dependencies
  • Development/Production profiles
  • HANA-CLI
  • MTA/CDS BUILD
  • SAP HANA Tools
  • HDI container: deploying models
  • NodeJs: deploying services

+ Test · Lab · Assignment · Solution

17 Local Development Environment
  • NodeJS
  • Code editor
  • Extensions
  • Environment setup
  • CAP application
  • Postman

+ Test · Lab · Assignment · Solution

18 Course certificate
  • Final test
  • Adding the certificate to LinkedIn

Who it is for

Is this course for you?

  • Full-stack developers building applications on SAP BTP
  • SAP consultants adopting cloud development
  • Node.js developers entering the SAP ecosystem

Requirements

What you need to get started

  • Basic knowledge of JavaScript or Node.js
  • Notions of data modeling and SQL
  • An SAP BTP account (the course explains how to create one)
G

Your instructor

Gheorghe Valer

SAP architect with 20 years of experience on real projects. He shares what he has learned along the way, with day-to-day examples.

Certificate of completion
7-day guarantee
Forum support
Updates included

Training used by SAP professionals in banking, industry, retail, and the public sector.

Path · BTP Backend Developer: RAP and CAP

Other courses in this certification path

Frequently asked questions

How do I get access to this course?

With a Logali Tech subscription (courses are not sold individually). The Free plan opens the first three sections of every course; Standard and Premium unlock the full course. See Pricing.

Do I need my own SAP instance?

Logali Tech does not provide access to SAP systems. In most of the training you do not need your own license: hands-on work is done on a free SAP BTP Trial account that you create, and the course walks you through setting it up step by step. For the On-Premise courses (classic ABAP, Web Dynpro, ALV, Adobe Forms and Fiori administration) you can run the free trial system that SAP makes available (ABAP Cloud Developer Trial) on your own infrastructure, or use the SAP system in your own company environment.

Are there live classes?

Recordings are available 24/7. Live classes and live master programs are included in the Premium plan.

Do I get a certificate?

Yes. When you complete the course you earn a certificate of completion that you can add to your LinkedIn profile.

Start this course today

The first three sections are free. With a subscription you get this full course and the entire SAP catalog.