demo_cds_assoc_where
CDS view entity, WHERE condition using an association
demo_cds_assoc_where is a CDS View that provides data about "CDS view entity, WHERE condition using an association" in SAP S/4HANA. It reads from 1 data source (scarr) and exposes 2 fields with key field carrid. It has 1 association to related views. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| scarr | scarr | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | demo_cds_assoc_spfli | _spfli | scarr.carrid = _spfli.carrid and _spfli.connid = '....' |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | carrid | carrid | ||
| carrname | carrname |
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity demo_cds_assoc_where
as select from scarr
association [1..1] to demo_cds_assoc_spfli as _spfli
on scarr.carrid = _spfli.carrid and _spfli.connid = '....'
{
key carrid,
carrname
} where _spfli.connid = '....'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA