cds-view-entities

Define ABAP CDS view entities with v2 syntax for RAP and analytics.

49|15|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/likweitan/abap-skills --skill cds-view-entities
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cds-view-entities
Source: https://github.com/likweitan/abap-skills/tree/main/skills/cds-view-entities
Command: npx skills add https://github.com/likweitan/abap-skills --skill cds-view-entities

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CDS view entity development in ABAP Cloud can be complex, requiring precise definitions, relationships, and metadata for RAP and analytics. This Skill guides developers through modeling data with CDS view entities, annotations, associations, compositions, and access control.

Core Features & Use Cases

  • Define view entities using v2 syntax (define view entity, define root view entity).
  • Build associations and compositions to model relational data and RAP BO structures.
  • Apply UI and semantic annotations, metadata extensions, and access control patterns for secure data models across RAP and analytics.

Quick Start

Define a new CDS view entity by following the example in this guide.

Frequently Asked Questions about cds-view-entities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define an ABAP CDS view entity using v2 syntax?

To define an ABAP CDS view entity using v2 syntax, use the `define view entity` or `define root view entity` statements to precisely model domain data for RAP and analytical scenarios.

What is the best way to model relationships and RAP BO structures in CDS?

The best way to model relationships and RAP BO structures in CDS is by building associations and compositions, which effectively define relational data and hierarchical business object structures.

How do I apply UI and semantic annotations to secure ABAP CDS data models?

To secure ABAP CDS data models, apply UI and semantic annotations alongside metadata extensions, and enforce access control patterns across RAP business objects and analytical projections.

Can I expose CDS view entity associations to external consumers?

Yes, you can expose CDS view entity associations to consumers by defining them within your view entities, allowing external access to the modeled relational data and metadata.

Does this CDS view entity approach support metadata extensions and built-in expressions?

Yes, this CDS view entity approach fully supports metadata extensions for applying annotations and utilizes built-in CDS expressions to meet complex data modeling requirements.

When do I need a root view entity versus a standard view entity in ABAP CDS?

You need a root view entity when modeling the top-level business object for RAP scenarios, while a standard view entity is used for child views, analytical projections, and underlying data models.