DEMO_RAP_EXTENSIBLE_EXT

DDL: DEMO_RAP_EXTENSIBLE_EXT Type: view_entity Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS view entity, extension node

DEMO_RAP_EXTENSIBLE_EXT is a CDS View that provides data about "CDS view entity, extension node" in SAP S/4HANA. It reads from 1 data source (demo_ggchl_ex_ba) and exposes 11 fields with key fields Keyfield, Keyfieldchild, Keyfieldgrchld, Keyfieldggchld. It has 1 association to related views. It is exposed through 1 OData service (DEMO_CDS_EXTENSION_SD). Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_ggchl_ex_ba demo_ggchl_ex_ba from

Associations (1)

CardinalityTargetAliasCondition
[1..1] DEMO_RAP_EXTENSIBLE_ROOT _GreatGrandParent1 $projection.Keyfield = _GreatGrandParent1.KeyField

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view entity, extension node view

OData Services (1)

ServiceBindingVersionContractRelease
DEMO_CDS_EXTENSION_SD

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Keyfield key_field Key field
KEY Keyfieldchild key_field_child
KEY Keyfieldgrchld key_field_grchld
KEY Keyfieldggchld key_field_ggchld
Datafield data_field
Charfield char_field
Timestamp _GreatGrandParent1 Timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_parent _parent
_Sibling4 _Sibling4
_GreatGrandParent1 _GreatGrandParent1
_GrandParent2 _GrandParent2

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_EXTENSIBLE_EXT.
-- 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_EXTENSIBLE_EXT AS
SELECT
  key_field AS Keyfield,
  key_field_child AS Keyfieldchild,
  key_field_grchld AS Keyfieldgrchld,
  key_field_ggchld AS Keyfieldggchld,
  data_field AS Datafield,
  char_field AS Charfield,
  _GreatGrandParent1.Timestamp AS Timestamp
FROM demo_ggchl_ex_ba
LEFT OUTER JOIN DEMO_RAP_EXTENSIBLE_ROOT AS _GreatGrandParent1 ON Keyfield = _GreatGrandParent1.KeyField  -- association [1..1]
;