ERPClimb logoERPClimb
Login
All topics
SAP_CAPbeginner

CAP project foundation

Initialize cds project and separate db srv app modules

Overview

Initialize cds project and separate db srv app modules

Lessons in this topic

  • CAP project foundation — SAP Guided TutorialHow a CAP project is laid out (db/, srv/, app/), how cds watch, profiles and cds env decide what actually runs, and how cds build turns your model into deployable modules — so a service that works locally also starts in test.

Interview questions covered

  • Your CAP app works with `cds watch` but fails after deployment to BTP Cloud Foundry. How do you approach it?
  • How would you structure a new CAP project for a team of five developers?

How to study CAP project foundation

CAP project foundation has 1 lesson (1 beginner) with about 6 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 2 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 4 mock questions to check recall.

Mock test questions covered

Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.

  • A CAP service starts with `cds watch` but crashes on Cloud Foundry with a database error. What is the most direct first check?
  • What does `cds watch` use as its database by default in a new project?
  • Which statement about the gen/ folder after `cds build --production` is correct?
  • Where should XSUAA and HANA credentials for a deployed CAP app come from?

Related topics