I_GhoCusHierDet_Db

DDL: I_GHOCUSHIERDET_DB SQL: IGHOCUSHIERDETDB Type: view BASIC

Custom Hierarchy Details

I_GhoCusHierDet_Db is a Basic CDS View (Dimension) that provides data about "Custom Hierarchy Details" in SAP S/4HANA. It reads from 1 data source (gho_hier_det) and exposes 9 fields with key field UpstreamHierNodeID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
gho_hier_det gho_hier_det from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_GhoCustHierText _CustHierDesc $projection.UpstreamHierName = _CustHierDesc.UpstreamHierName

Annotations (11)

NameValueLevelField
EndUserText.label Custom Hierarchy Details view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IGHOCUSHIERDETDB view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey UpstreamHierNodeID view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY UpstreamHierNodeID node_id Workflow Step
UpstreamHierName hierarchy_name Hierarchy Name
UpstreamHierParentID parent_id UUID
NodeName node_name Object Name
UpstreamHierEffctvDateFrom eff_date_from Link Eff Date From
UpstreamHierEffctvDateTo eff_date_to Nw Link Eff Date To
UpstreamHierNodeValue node_value Node Value
_CustHierDesc _CustHierDesc
UpstreamHierDescription _CustHierDesc UpstreamHierDescription

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_GhoCusHierDet_Db.
-- 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: IGHOCUSHIERDETDB

CREATE VIEW I_GhoCusHierDet_Db AS
SELECT
  node_id AS UpstreamHierNodeID,
  hierarchy_name AS UpstreamHierName,
  parent_id AS UpstreamHierParentID,
  node_name AS NodeName,
  eff_date_from AS UpstreamHierEffctvDateFrom,
  eff_date_to AS UpstreamHierEffctvDateTo,
  node_value AS UpstreamHierNodeValue,
  _CustHierDesc.UpstreamHierDescription AS UpstreamHierDescription
FROM gho_hier_det
LEFT OUTER JOIN I_GhoCustHierText AS _CustHierDesc ON UpstreamHierName = _CustHierDesc.UpstreamHierName  -- association [1..1]
;