A_CnsldtnMaterialHierDir

DDL: A_CNSLDTNMATERIALHIERDIR SQL: ACSMATHIERDIR Type: view BASIC Package: FIN_CS_MD_API

Combined Material Hierarchy Directory

A_CnsldtnMaterialHierDir is a Basic CDS View that provides data about "Combined Material Hierarchy Directory" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnMaterialHierarchy) and exposes 7 fields with key fields AdditionalMasterDataHierarchy, ValidityEndDate. Part of development package FIN_CS_MD_API.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnMaterialHierarchy I_CnsldtnMaterialHierarchy from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ACSMATHIERDIR view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Combined Material Hierarchy Directory view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey AdditionalMasterDataHierarchy view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
MDHierType
HierarchyType

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_CnsldtnMaterialHierDir.
-- 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: ACSMATHIERDIR

CREATE VIEW A_CnsldtnMaterialHierDir AS
SELECT
  cast(left(ConsolidationMaterialHierarchy, 40) as fincs_hryid preserving type ) AS AdditionalMasterDataHierarchy,
  ValidityEndDate,
  ValidityStartDate,
  LastChangedByUser,
  LastChangeDateTime,
  cast ( 'CS23' as hrytype ) AS MDHierType,
  cast ( 'CS23' as hrytype ) AS HierarchyType
FROM I_CnsldtnMaterialHierarchy
;