FAC_CDS_UH_HIERARCHY

DDL: FAC_CDS_UH_HIERARCHY SQL: FACV_UH_HIER Type: view

Hierarchy Information

FAC_CDS_UH_HIERARCHY is a CDS View that provides data about "Hierarchy Information" in SAP S/4HANA. It reads from 1 data source (uhdt_hier) and exposes 5 fields with key fields HierarchyId, HierarchyCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
uhdt_hier t left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..1] fac_cds_uh_category to_category $projection.HierarchyCategory = to_category.CategoryKey

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName FACV_UH_HIER view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Hierarchy Information view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY HierarchyId h hier_hid Hierarchy ID
KEY HierarchyCategory h hier_catg Type
HierarchyCategoryText to_category CategoryText
HierarchyText uhdt_hier hier_desc Description
to_category to_category

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 FAC_CDS_UH_HIERARCHY.
-- 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: FACV_UH_HIER

CREATE VIEW FAC_CDS_UH_HIERARCHY AS
SELECT
  h.hier_hid AS HierarchyId,
  h.hier_catg AS HierarchyCategory,
  to_category.CategoryText AS HierarchyCategoryText,
  t.hier_desc AS HierarchyText,
  to_category
LEFT OUTER JOIN uhdt_hier AS t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fac_cds_uh_category AS to_category ON HierarchyCategory = to_category.CategoryKey  -- association [1..1]
;