I_EntityElementDetail

DDL: I_ENTITYELEMENTDETAIL Type: view_entity

Metadata of CDS Elements

I_EntityElementDetail is a CDS View that provides data about "Metadata of CDS Elements" in SAP S/4HANA. It reads from 2 data sources (DDCDS_ENTITY_ELEMENTS, dd04t) and exposes 10 fields with key fields DDLSourceName, FieldName.

Data Sources (2)

SourceAliasJoin Type
DDCDS_ENTITY_ELEMENTS CDS_Elements from
dd04t Data_Element_Text left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Metadata of CDS Elements view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName DDCDS_ENTITY_ELEMENTS entity_name Table Name
KEY FieldName DDCDS_ENTITY_ELEMENTS element_name Element Name
FieldNameText DDCDS_ENTITY_ELEMENTS element_name_raw
CDSName DDCDS_ENTITY_ELEMENTS entity_name Table Name
DataElement DDCDS_ENTITY_ELEMENTS data_element Field type
DataType DDCDS_ENTITY_ELEMENTS data_type Type
FieldPosition DDCDS_ENTITY_ELEMENTS element_position
Length DDCDS_ENTITY_ELEMENTS length Text Length
DataElementText dd04t ddtext Short text
DataElementText_Medium DDCDS_ENTITY_ELEMENTS data_element_label_m

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 I_EntityElementDetail.
-- 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 I_EntityElementDetail AS
SELECT
  CDS_Elements.entity_name AS DDLSourceName,
  CDS_Elements.element_name AS FieldName,
  CDS_Elements.element_name_raw AS FieldNameText,
  CDS_Elements.entity_name AS CDSName,
  CDS_Elements.data_element AS DataElement,
  CDS_Elements.data_type AS DataType,
  CDS_Elements.element_position AS FieldPosition,
  CDS_Elements.length AS Length,
  Data_Element_Text.ddtext AS DataElementText,
  CDS_Elements.data_element_label_m AS DataElementText_Medium
FROM DDCDS_ENTITY_ELEMENTS AS CDS_Elements
LEFT OUTER JOIN dd04t AS Data_Element_Text ON /* join condition not captured in parsed metadata */
;