I_EAMMaterialGroupAndClass

DDL: I_EAMMATERIALGROUPANDCLASS Type: view_entity COMPOSITE

Maint Order Class and Objects

I_EAMMaterialGroupAndClass is a Composite CDS View that provides data about "Maint Order Class and Objects" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectClassBasic) and exposes 11 fields with key field ClfnObjectID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ClfnObjectClassBasic I_ClfnObjectClassBasic from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_EAMMaterialGroupRootNode _FindRoot $projection.DescendantClassInternalID = _FindRoot.ClassInternalID
[0..1] I_EAMMaterialGroupAndClass _Recursion $projection.DescendantClassInternalID = _Recursion.ClfnObjectID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Maint Order Class and Objects view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #COMPOSITE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ClfnObjectID I_ClfnObjectClassBasic ClfnObjectID Object
ClfnObjectType I_ClfnObjectClassBasic ClfnObjectType Object/Class
ClassType I_ClfnObjectClassBasic ClassType X Flag
DescendantClassInternalID I_ClfnObjectClassBasic ClassInternalID Int class no.
AncestorClassInternalID _FindRoot AncestorClassInternalID Int class no.
ClassInternalIDasClfnObjectID
ClfnObjectType Object/Class
ClassType X Flag
DescendantClassInternalID _Parent ClassInternalID Int class no.
AncestorClassInternalID I_ClfnObjectClassBasic ClassInternalID Int class no.
_Recursion _Recursion

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_EAMMaterialGroupAndClass.
-- 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_EAMMaterialGroupAndClass AS
SELECT
  I_ClfnObjectClassBasic.ClfnObjectID AS ClfnObjectID,
  I_ClfnObjectClassBasic.ClfnObjectType AS ClfnObjectType,
  I_ClfnObjectClassBasic.ClassType AS ClassType,
  I_ClfnObjectClassBasic.ClassInternalID AS DescendantClassInternalID,
  _FindRoot.AncestorClassInternalID AS AncestorClassInternalID
FROM I_ClfnObjectClassBasic
LEFT OUTER JOIN I_EAMMaterialGroupRootNode AS _FindRoot ON DescendantClassInternalID = _FindRoot.ClassInternalID  -- association [1..1]
LEFT OUTER JOIN I_EAMMaterialGroupAndClass AS _Recursion ON DescendantClassInternalID = _Recursion.ClfnObjectID  -- association [0..1]
;