DEMO_RAP_MANAGED_DRAFT_ROOT

DDL: DEMO_RAP_MANAGED_DRAFT_ROOT Type: view_entity

CDS view entity, RAP managed, draft

DEMO_RAP_MANAGED_DRAFT_ROOT is a CDS View that provides data about "CDS view entity, RAP managed, draft" in SAP S/4HANA. It reads from 1 data source (demo_dbtab_root) and exposes 7 fields with key field KeyFieldRoot. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
demo_dbtab_root demo_dbtab_root from

Associations (2)

CardinalityTargetAliasCondition
[1..1] DEMO_RAP_MANAGED_ASSOC_EXT _ext $projection.KeyFieldRoot = _ext.KeyFieldExt
[1..*] DEMO_RAP_MANAGED_DRAFT_CHILD _child

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view entity, RAP managed, draft view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY KeyFieldRoot key_field Key field
DataFieldRoot data_field
CharFieldRoot char_field
Timestamp crea_date_time Time Stamp
LastChangedAt lchg_date_time Time Stamp
_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_RAP_MANAGED_DRAFT_ROOT.
-- 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_RAP_MANAGED_DRAFT_ROOT AS
SELECT
  key_field AS KeyFieldRoot,
  data_field AS DataFieldRoot,
  char_field AS CharFieldRoot,
  crea_date_time AS Timestamp,
  lchg_date_time AS LastChangedAt
FROM demo_dbtab_root
LEFT OUTER JOIN DEMO_RAP_MANAGED_ASSOC_EXT AS _ext ON KeyFieldRoot = _ext.KeyFieldExt  -- association [1..1]
LEFT OUTER JOIN DEMO_RAP_MANAGED_DRAFT_CHILD AS _child ON /* condition not available in parsed metadata */  -- association [1..*]
;