Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.56 KB

15_CDS_View_Entities.md

File metadata and controls

40 lines (30 loc) · 2.56 KB

CDS View Entities

Core data services (CDS) are an infrastructure for defining and consuming semantically rich data models on the standard database of an AS ABAP.

💡 Note

  • For cheat sheet content on CDS views, check out this blog.
  • The executable example focuses on CDS view entities and covers a selection of features.
  • The sample CDS view entities are designed to demonstrate a selection of features with a limited number of artifacts. They are not intended to be role models for proper CDS view design. They focus on syntax options only. They are not intended to solve concrete programming tasks. You should always work out your own solution for each individual case.

More Information

Executable Example

zcl_demo_abap_cds_ve

The example covers the following topics:

  • Operands, expressions, built-in functions, and input parameters in CDS view entities
    • Selecting data from CDS view entities using ABAP SQL SELECT statements
  • Joins
    • Note: A sample CDS view entity contains multiple joins. You can comment in/out code sections to see the effect. See the notes in the view.
    • Excursion: Joins in ABAP SQL
  • Associations
    • Defining views with associations
    • Exposing associations
    • Using exposed associations in ABAP statements

Note ...

  • the comments in the example CDS view entities (zdemo_abap_cds_ve...) and the class.
  • the steps outlined here about how to import and run the code.