demo_cds_simple_root_entity

DDL: DEMO_CDS_SIMPLE_ROOT_ENTITY SQL: DEMOROOTSIMPLE Type: view

demo_cds_simple_root_entity is a CDS View in SAP S/4HANA. It reads from 1 data source (sflight) and exposes 5 fields with key fields carrid, connid, fldate.

Data Sources (1)

SourceAliasJoin Type
sflight sflight from

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName DEMOROOTSIMPLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY carrid carrid Carrier
KEY connid connid Flight Number
KEY fldate fldate Flight Date
price price RVP f.PricePro.
currency currency Valuation Crcy

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_simple_root_entity.
-- 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.
-- SQL view name: DEMOROOTSIMPLE

CREATE VIEW demo_cds_simple_root_entity AS
SELECT
  carrid,
  connid,
  fldate,
  price,
  currency
FROM sflight
;