I_MDQltyModelTableHierNode

DDL: I_MDQLTYMODELTABLEHIERNODE Type: view_entity COMPOSITE Package: MDQ_PF_APPL_GENERIC

Hierarchy Node for Model Table

I_MDQltyModelTableHierNode is a Composite CDS View that provides data about "Hierarchy Node for Model Table" in SAP S/4HANA. It reads from 1 data source (mdc_model_tjoin) and exposes 5 fields with key fields MDQltyBusinessObjectTypeCode, MDQltyModelSourceTable, MDQltyModelParentTable, MDQltyModelChildTable. It has 1 association to related views. Part of development package MDQ_PF_APPL_GENERIC.

Data Sources (1)

SourceAliasJoin Type
mdc_model_tjoin mdc_model_tjoin from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MDQltyModelTableHierNode _Child $projection.MDQltyModelParentTable = _Child.MDQltyModelChildTable and $projection.MDQltyBusinessObjectTypeCode = _Child.MDQltyBusinessObjectTypeCode and $projection.MDQltyModelSourceTable = _Child.MDQltyModelSourceTable

Annotations (7)

NameValueLevelField
EndUserText.label Hierarchy Node for Model Table view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #HIERARCHY view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MDQltyBusinessObjectTypeCode mdc_model_tjoin otc Bus. Obj. Type
KEY MDQltyModelSourceTable
KEY MDQltyModelParentTable
KEY MDQltyModelChildTable
_Child _Child

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_MDQltyModelTableHierNode.
-- 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_MDQltyModelTableHierNode AS
SELECT
  mdc_model_tjoin.otc AS MDQltyBusinessObjectTypeCode,
  cast( mdc_model_tables.table_name as mdq_ds_source_table preserving type ) AS MDQltyModelSourceTable,
  cast( mdc_model_tjoin.left_table as mdq_ds_parent_table preserving type ) AS MDQltyModelParentTable,
  cast( mdc_model_tjoin.right_table as mdq_ds_child_table preserving type ) AS MDQltyModelChildTable
FROM mdc_model_tjoin
LEFT OUTER JOIN I_MDQltyModelTableHierNode AS _Child ON MDQltyModelParentTable = _Child.MDQltyModelChildTable AND MDQltyBusinessObjectTypeCode = _Child.MDQltyBusinessObjectTypeCode AND MDQltyModelSourceTable = _Child.MDQltyModelSourceTable  -- association [1..1]
;