I_CnsldtnDocumentTypeHierNodeT

DDL: I_CNSLDTNDOCUMENTTYPEHIERNODET Type: view BASIC

Document Type Hierarchy Node - Text

I_CnsldtnDocumentTypeHierNodeT is a Basic CDS View that provides data about "Document Type Hierarchy Node - Text" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnDocumentTypeHierNode, hrrp_nodet) and exposes 10 fields with key fields ConsolidationDocTypeHierarchy, HierarchyNode, Language, ValidityEndDate. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnDocumentTypeHierNode _CnsldtnDocumentTypeHierNode inner
hrrp_nodet _DocumentTypeHierNodeText from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..*] I_CnsldtnDocumentTypeHierDir _Hierarchy $projection.ConsolidationDocTypeHierarchy = _Hierarchy.ConsolidationDocTypeHierarchy
[0..1] I_CnsldtnDimension _CnsldtnDimension $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICCDOCTYPEHIERT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED 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
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey HierarchyNode view
VDM.viewType #BASIC view
EndUserText.label Document Type Hierarchy Node - Text view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationDocTypeHierarchy hrrp_nodet hryid Hierarchy ID
KEY HierarchyNode hrrp_nodet hrynode Node
KEY Language hrrp_nodet spras Off. Language
KEY ValidityEndDate hrrp_nodet hryvalto Valid To
ValidityStartDate hrrp_nodet hryvalfrom Valid From
ConsolidationDimension
HierarchyNodeText hrrp_nodet nodetxt Description
_Language _Language
_Hierarchy _Hierarchy
_CnsldtnDimension _CnsldtnDimension

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_CnsldtnDocumentTypeHierNodeT.
-- 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_CnsldtnDocumentTypeHierNodeT AS
SELECT
  _DocumentTypeHierNodeText.hryid AS ConsolidationDocTypeHierarchy,
  _DocumentTypeHierNodeText.hrynode AS HierarchyNode,
  _DocumentTypeHierNodeText.spras AS Language,
  _DocumentTypeHierNodeText.hryvalto AS ValidityEndDate,
  _DocumentTypeHierNodeText.hryvalfrom AS ValidityStartDate,
  cast( left( _DocumentTypeHierNodeText.nodecls, 2 ) as fc_dimen ) AS ConsolidationDimension,
  _DocumentTypeHierNodeText.nodetxt AS HierarchyNodeText
FROM hrrp_nodet AS _DocumentTypeHierNodeText
INNER JOIN I_CnsldtnDocumentTypeHierNode AS _CnsldtnDocumentTypeHierNode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocumentTypeHierDir AS _Hierarchy ON ConsolidationDocTypeHierarchy = _Hierarchy.ConsolidationDocTypeHierarchy  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension  -- association [0..1]
;