P_GhoCusHierDet_TL

DDL: P_GHOCUSHIERDET_TL SQL: PGHOCUSHIERDETTL Type: view BASIC

P_GhoCusHierDet_TL is a Basic CDS View 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 (8)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AbapCatalog.sqlViewName PGHOCUSHIERDETTL view
AccessControl.authorizationCheck #NOT_REQUIRED 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 P_GhoCusHierDet_TL.
-- 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: PGHOCUSHIERDETTL

CREATE VIEW P_GhoCusHierDet_TL 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]
;