A_CnsldtnSupplierHier

DDL: A_CNSLDTNSUPPLIERHIER SQL: ACSSUPPLIERHIER Type: view BASIC Package: FIN_CS_MD_API

Combined Supplier Hierarchy

A_CnsldtnSupplierHier is a Basic CDS View that provides data about "Combined Supplier Hierarchy" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnSupplierHierNode) and exposes 15 fields with key fields AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate. It has 3 associations 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 (1)

SourceAliasJoin Type
I_CnsldtnSupplierHierNode _HierNode from

Associations (3)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnSupplier _CnsldtnSupplier $projection.Supplier = _CnsldtnSupplier.Supplier
[0..*] A_CnsldtnSupplierHierT _CnsldtnSupplierHierT $projection.AdditionalMasterDataHierarchy = _CnsldtnSupplierHierT.AdditionalMasterDataHierarchy and $projection.HierarchyNode = _CnsldtnSupplierHierT.HierarchyNode and $projection.ValidityEndDate = _CnsldtnSupplierHierT.ValidityEndDate and $projection.Supplier = ''
[0..*] A_CnsldtnSupplierT _CnsldtnSupplierT $projection.Supplier = _CnsldtnSupplierT.Supplier

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ACSSUPPLIERHIER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Supplier Hierarchy view
OData.entitySet.name SupplierHier 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 (15)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy
KEY HierarchyNode HierarchyNode Node
KEY ValidityEndDate I_CnsldtnSupplierHierNode ValidityEndDate ValidTo
ParentNode ParentNode Parent Node
ValidityStartDate I_CnsldtnSupplierHierNode ValidityStartDate Validity Start Date
Supplier I_CnsldtnSupplierHierNode Supplier Supplier
SequenceNumber
HierarchyNodeSequence I_CnsldtnSupplierHierNode HierarchyNodeSequence
HierarchyNodeLevel I_CnsldtnSupplierHierNode HierarchyNodeLevel Hierarchy Node Level
NodeType I_CnsldtnSupplierHierNode NodeType Object Type
MDHierType
HierarchyType
_CnsldtnSupplier _CnsldtnSupplier
_CnsldtnSupplierHierT _CnsldtnSupplierHierT
_CnsldtnSupplierT _CnsldtnSupplierT

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_CnsldtnSupplierHier.
-- 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: ACSSUPPLIERHIER

CREATE VIEW A_CnsldtnSupplierHier AS
SELECT
  cast(_HierNode.ConsolidationSupplierHierarchy as fincs_universalhierhierarchyid preserving type) AS AdditionalMasterDataHierarchy,
  HierarchyNode,
  _HierNode.ValidityEndDate AS ValidityEndDate,
  ParentNode,
  _HierNode.ValidityStartDate AS ValidityStartDate,
  _HierNode.Supplier AS Supplier,
  cast(_HierNode.HierarchyNodeSequence as abap.char( 56 ) ) AS SequenceNumber,
  _HierNode.HierarchyNodeSequence AS HierarchyNodeSequence,
  _HierNode.HierarchyNodeLevel AS HierarchyNodeLevel,
  _HierNode.NodeType AS NodeType,
  cast('CS09' as hrytype preserving type ) AS MDHierType,
  cast('CS09' as hrytype preserving type ) AS HierarchyType
FROM I_CnsldtnSupplierHierNode AS _HierNode
LEFT OUTER JOIN A_CnsldtnSupplier AS _CnsldtnSupplier ON Supplier = _CnsldtnSupplier.Supplier  -- association [0..1]
LEFT OUTER JOIN A_CnsldtnSupplierHierT AS _CnsldtnSupplierHierT ON AdditionalMasterDataHierarchy = _CnsldtnSupplierHierT.AdditionalMasterDataHierarchy AND HierarchyNode = _CnsldtnSupplierHierT.HierarchyNode AND ValidityEndDate = _CnsldtnSupplierHierT.ValidityEndDate AND Supplier = ''  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnSupplierT AS _CnsldtnSupplierT ON Supplier = _CnsldtnSupplierT.Supplier  -- association [0..*]
;