DEMO_CDS_FIELDS_ASSOC_VE

DDL: DEMO_CDS_FIELDS_ASSOC_VE Type: view_entity Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS view entity, association

DEMO_CDS_FIELDS_ASSOC_VE is a CDS View that provides data about "CDS view entity, association" in SAP S/4HANA. It reads from 1 data source (spfli) and exposes 6 fields with key fields carrid, connid. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
spfli spfli from

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY carrid carrid Carrier
KEY connid connid Flight Number
airpfrom airpfrom Departure Airport
airpto airpto Destination Airport
carrname _scarr carrname Carrier
url _scarr url URLContract

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view DEMO_CDS_FIELDS_ASSOC_VE.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW DEMO_CDS_FIELDS_ASSOC_VE AS
SELECT
  carrid,
  connid,
  airpfrom,
  airpto,
  _scarr.carrname AS carrname,
  _scarr.url AS url
FROM spfli
;