@sap/cds-compiler
Compiles CDS models to CSN, EDMX and database schemas.
Facts
Where it sits
What it declares
Every artifact
- Type
- Build tool
- Origin
- By SAP
- Runtime
- Node.js
As a build tool
- Distributed through
- npm
Connections
Defining entities, their relations and the views services consume
Guide migrating the hana-shine-xsa demo from XS Advanced to CAP
Download
Install
npm add @sap/cds-compilerDerived from the package name. No recipe recorded; the README has the configuration.
README
quoted from @sap/cds-compiler@7.1.2, readGetting started
History
Fixes 1
Features 5, Fixes 3
Fixes 2
Fixes 2
Features 4, Fixes 3
Fixes 2
Fixes 1
Breaking 5, Features 6, Fixes 1
Fixes 2
Fixes 2
Fixes 1
Fixes 1
Fixes 1
Fixes 2
Features 7, Fixes 3
Features 4, Fixes 1
Fixes 1
Fixes 3
Fixes 1
Features 1, Changed 2, Fixes 1
Fixes 1
Features 3, Changed 1, Fixes 2
Fixes 1
Features 3, Changed 2, Fixes 1
Fixes 1
Removed, Fixes 2
Fixes 3
Features 3, Changed 1, Fixes 2
Fixes 1
Fixes 2
Fixes 1
Removed 1, Features 3, Changed 3, Fixes 3
Fixes 1
Features 2, Changed 5, Fixes 1
Features 1, Changed 1, Fixes 1
Fixes 2
Changed 1, Fixes 3
Fixes 2
Removed 4, Features 3, Changed 7, Fixes 1
Fixes 1
Fixes 2
Fixes 1
Fixes 2
Fixes 1
Fixes 1
Features 4, Changed 1, Fixes 1
Fixes 1
Features 6, Changed 2, Fixes 6
Fixes 1
Fixes 1
Features 2, Changed 1, Fixes 6
Features 2, Changed 1
Fixes 1
Features 3, Changed 1
Fixes 2
Fixes 1
Features 1, Changed 3, Fixes 4
Fixes 1
Removed 1, Features 4, Fixes 3
Features 2, Changed 2, Fixes 2
Fixes 1
Features 2, Changed 2, Fixes 4
Fixes 1
Fixes 3
Changed 2, Fixes 1
Removed 2, Changed 7, Fixes 1
Others providing
Compare all 9 on the Data modelling page →- ABAP CDSABAP CDSThe modelling layer of ABAP Cloud — view entities, projections and annotations defined above database tables, delivered with the platform rather than installed.sap official, abapModelling layer of ABAP Cloud above database tablesfrom ABAP
- cds-numberrange-plugincds-numberrange-pluginA CAP plugin that fills an annotated CDS element with the next number from a named range, optionally with prefix, suffix and padding, keeping the counter in a database entity it adds to the model.independent, capFills a CDS element from a database-backed number rangefrom CAP
- cdsanalysercdsanalyserA search tool that maps SAP database tables and fields to the CDS view entities that expose them, and back, from an index a background job builds, for SAP S/4HANA on-premise or private cloud.independent, abapMaps database tables and fields to the CDS views exposing themfrom ABAP
- com.sap.cds:cds-services-bomcom.sap.cds:cds-services-bomThe Maven bill of materials for CAP Java, pinning every com.sap.cds module in a release, from the API and core runtime to the Spring Boot starters and the CQN engine, to the same version.sap official, capMaven bill of materials pinning CAP Java module versionsfrom CAP
- @sap/cds-common-content@sap/cds-common-contentISO-standard content for CAP's common definitions — countries, languages, currencies and timezones — so a project does not seed those tables itself.sap official, capISO content for CAP's countries, languages, currencies and timezonesfrom CAP
- @sap/cds@sap/cdsThe CAP Node.js runtime, which compiles the CDS model, serves the services declared in it, answers generic requests before any handler runs, and loads every cds-plugin.sap official, capCAP Node.js runtimefrom CAP
- cap-user-infocap-user-infoResolves the createdBy and modifiedBy of a managed entity to a stored user record of email, given name and family name, and renders the two fields as links with a quickview.independent, capUser details and quickview links for createdBy and modifiedByfrom CAP
- CDS Field MappingCDS Field MappingLooks up which Core Data Services entity and field a classic dictionary table and field map to, filterable by whether the target CDS view is released.independent, abapMaps classic dictionary tables and fields to CDS entities and fieldsfrom ABAP
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- Unmapped since the seed because the capability it answers did not exist. The compiler is what turns CDL into CSN; every other tool reads the model through it.
- First seen.
For your agent
- Ref
artifact:sap-cds-compiler- JSON
- /artifacts/sap-cds-compiler.json
- MCP
- Connecting an agent