DEMO_MANAGED_ROOT_WAS

DDL: DEMO_MANAGED_ROOT_WAS Type: view_entity Package: SABAP_DEMOS_RAP_CLOUD

CDS view for root entity

DEMO_MANAGED_ROOT_WAS is a CDS View that provides data about "CDS view for root entity" in SAP S/4HANA. It reads from 1 data source (demo_tab_root_3) and exposes 7 fields with key field key_field. It has 2 associations to related views. Part of development package SABAP_DEMOS_RAP_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_tab_root_3 demo_tab_root_3 from

Associations (2)

CardinalityTargetAliasCondition
[1..1] DEMO_MANAGED_ASSOC_EXT _ext $projection.key_field = _ext.key_field_ext
[1..*] DEMO_MANAGED_CHILD_WAS _child

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY key_field key_field Key field
field1 field1 Value
field2 field2 Value
field3 field3 Value
field4 field4 Value
_child _child
_ext _ext

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_MANAGED_ROOT_WAS.
-- 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_MANAGED_ROOT_WAS AS
SELECT
  key_field,
  field1,
  field2,
  field3,
  field4
FROM demo_tab_root_3
LEFT OUTER JOIN DEMO_MANAGED_ASSOC_EXT AS _ext ON key_field = _ext.key_field_ext  -- association [1..1]
LEFT OUTER JOIN DEMO_MANAGED_CHILD_WAS AS _child ON /* condition not available in parsed metadata */  -- association [1..*]
;