I_FMEANodeHierarchy

DDL: I_FMEANODEHIERARCHY SQL: IFMEANODEH Type: view BASIC

Hierarchy of FMEA Nodes

I_FMEANodeHierarchy is a Basic CDS View that provides data about "Hierarchy of FMEA Nodes" in SAP S/4HANA. It reads from 1 data source (cgpl_hierarchy) and exposes 9 fields with key field FMEANodeUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cgpl_hierarchy cgpl_hierarchy from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_FailureModeEffectAnalysis _FailureModeEffectAnalysis $projection.FMEAHeaderUUID = _FailureModeEffectAnalysis.FMEAHeaderUUID
[0..1] I_FMEANode _FMEANode $projection.FMEANodeUUID = _FMEANode.FMEANodeUUID
[0..1] I_FMEANode _FMEAParentNode $projection.FMEAParentNodeUUID = _FMEAParentNode.FMEANodeUUID
[0..1] I_FMEANodeAssignment _FMEAParentNodeAssignment $projection.FMEAParentNodeUUID = _FMEAParentNodeAssignment.FMEANodeUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IFMEANODEH view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Hierarchy of FMEA Nodes view
ObjectModel.representativeKey FMEANodeUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY FMEANodeUUID
FMEAHeaderUUID
FMEAParentNodeUUID
FMEAChildNodeUUID
FMEANodeHierarchyLevelValue cgpl_hierarchy task_level Level
_FailureModeEffectAnalysis _FailureModeEffectAnalysis
_FMEANode _FMEANode
_FMEAParentNode _FMEAParentNode
_FMEAParentNodeAssignment _FMEAParentNodeAssignment

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_FMEANodeHierarchy.
-- 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.
-- SQL view name: IFMEANODEH

CREATE VIEW I_FMEANodeHierarchy AS
SELECT
  cast( cgpl_hierarchy.guid as plmt_fmea_node_guid preserving type ) AS FMEANodeUUID,
  cast( cgpl_hierarchy.project_guid as plmt_fmea_node_guid preserving type ) AS FMEAHeaderUUID,
  cast( cgpl_hierarchy.up as plmt_fmea_node_guid preserving type ) AS FMEAParentNodeUUID,
  cast( cgpl_hierarchy.down as plmt_fmea_node_guid preserving type ) AS FMEAChildNodeUUID,
  cgpl_hierarchy.task_level AS FMEANodeHierarchyLevelValue
FROM cgpl_hierarchy
LEFT OUTER JOIN I_FailureModeEffectAnalysis AS _FailureModeEffectAnalysis ON FMEAHeaderUUID = _FailureModeEffectAnalysis.FMEAHeaderUUID  -- association [0..1]
LEFT OUTER JOIN I_FMEANode AS _FMEANode ON FMEANodeUUID = _FMEANode.FMEANodeUUID  -- association [0..1]
LEFT OUTER JOIN I_FMEANode AS _FMEAParentNode ON FMEAParentNodeUUID = _FMEAParentNode.FMEANodeUUID  -- association [0..1]
LEFT OUTER JOIN I_FMEANodeAssignment AS _FMEAParentNodeAssignment ON FMEAParentNodeUUID = _FMEAParentNodeAssignment.FMEANodeUUID  -- association [0..1]
;