I_UniversalHierHierarchy

DDL: I_UNIVERSALHIERHIERARCHY SQL: IUHHIER Type: view BASIC Package: UH_CORE

Hierarchy in Universal Hierarchy

I_UniversalHierHierarchy is a Basic CDS View that provides data about "Hierarchy in Universal Hierarchy" in SAP S/4HANA. It reads from 2 data sources (uhdt_catg, uhdt_hier) and exposes 6 fields with key fields UniversalHierHierarchyID, UniversalHierHierarchyType, Language. It has 1 association to related views. Part of development package UH_CORE.

Data Sources (2)

SourceAliasJoin Type
uhdt_catg uhdt_catg left_outer
uhdt_hier uhdt_hier from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IUHHIER view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #BASIC view
EndUserText.label Hierarchy in Universal Hierarchy view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey UniversalHierHierarchyID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY UniversalHierHierarchyID hier_hid Hierarchy ID
KEY UniversalHierHierarchyType hier_catg Type
KEY Language lang Language
UniversalHierHierDesc hier_desc Description
HierarchyType hrrp_hrytype Hierarchy Type
_Language _Language

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_UniversalHierHierarchy.
-- 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: IUHHIER

CREATE VIEW I_UniversalHierHierarchy AS
SELECT
  hier_hid AS UniversalHierHierarchyID,
  hier_catg AS UniversalHierHierarchyType,
  lang AS Language,
  hier_desc AS UniversalHierHierDesc,
  hrrp_hrytype AS HierarchyType
FROM uhdt_hier
LEFT OUTER JOIN uhdt_catg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;