A_CnsldtnMaterialHierT

DDL: A_CNSLDTNMATERIALHIERT Type: view COMPOSITE Package: FIN_CS_MD_API

Combined Material HierarchyNode - Text

A_CnsldtnMaterialHierT is a Composite CDS View that provides data about "Combined Material HierarchyNode - Text" in SAP S/4HANA. It reads from 2 data sources (A_CnsldtnMaterialHier, I_CnsldtnMaterialHierNodeT) and exposes 8 fields with key fields AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate, Language. It has 1 association to related views. It is exposed through 5 OData services (ASQL_F7093, ASQL_F7094, ASQL_F7095, ...). Part of development package FIN_CS_MD_API.

Data Sources (2)

SourceAliasJoin Type
A_CnsldtnMaterialHier _MaterialHierNode inner
I_CnsldtnMaterialHierNodeT I_CnsldtnMaterialHierNodeT from

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnMaterialHierDir _CnsldtnMaterialHierDir $projection.AdditionalMasterDataHierarchy = _CnsldtnMaterialHierDir.AdditionalMasterDataHierarchy and $projection.ValidityEndDate = _CnsldtnMaterialHierDir.ValidityEndDate

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSMATERIALHIERT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey HierarchyNode view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #COMPOSITE view
EndUserText.label Combined Material HierarchyNode - Text view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name MaterialHierText view

OData Services (5)

ServiceBindingVersionContractRelease
ASQL_F7093 ASQL_F7093 C2 NOT_RELEASED
ASQL_F7094 ASQL_F7094 C2 NOT_RELEASED
ASQL_F7095 ASQL_F7095 C2 NOT_RELEASED
ASQL_F7096 ASQL_F7096 C2 NOT_RELEASED
ASQL_F7867 ASQL_F7867 C2 NOT_RELEASED

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy
KEY HierarchyNode I_CnsldtnMaterialHierNodeT HierarchyNode Node
KEY ValidityEndDate I_CnsldtnMaterialHierNodeT ValidityEndDate ValidTo
KEY Language Language Report Text Language
HierarchyNodeText HierarchyNodeText Node Description
ValidityStartDate I_CnsldtnMaterialHierNodeT ValidityStartDate Validity Start Date
NodeType A_CnsldtnMaterialHier NodeType Object Type
_CnsldtnMaterialHierDir _CnsldtnMaterialHierDir

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 A_CnsldtnMaterialHierT.
-- 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 A_CnsldtnMaterialHierT AS
SELECT
  cast(left(I_CnsldtnMaterialHierNodeT.ConsolidationMaterialHierarchy, 40) as fincs_hryid) AS AdditionalMasterDataHierarchy,
  I_CnsldtnMaterialHierNodeT.HierarchyNode AS HierarchyNode,
  I_CnsldtnMaterialHierNodeT.ValidityEndDate AS ValidityEndDate,
  Language,
  HierarchyNodeText,
  I_CnsldtnMaterialHierNodeT.ValidityStartDate AS ValidityStartDate,
  _MaterialHierNode.NodeType AS NodeType
FROM I_CnsldtnMaterialHierNodeT
INNER JOIN A_CnsldtnMaterialHier AS _MaterialHierNode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_CnsldtnMaterialHierDir AS _CnsldtnMaterialHierDir ON AdditionalMasterDataHierarchy = _CnsldtnMaterialHierDir.AdditionalMasterDataHierarchy AND ValidityEndDate = _CnsldtnMaterialHierDir.ValidityEndDate  -- association [0..1]
;