fac_cds_ve_group_node

DDL: FAC_CDS_VE_GROUP_NODE SQL: FACV_VE_GPND Type: view

Validation Group Node

fac_cds_ve_group_node is a CDS View that provides data about "Validation Group Node" in SAP S/4HANA. It reads from 4 data sources (uhdt_node, uhdt_ntxt, uhdt_ntxt, uhdt_vrsn) and exposes 36 fields with key field NodeId. It has 2 associations to related views.

Data Sources (4)

SourceAliasJoin Type
uhdt_node node from
uhdt_ntxt ntxt left_outer
uhdt_ntxt ntxt_e left_outer
uhdt_vrsn r left_outer

Associations (2)

CardinalityTargetAliasCondition
[1..1] fac_cds_uh_version to_version $projection.VersionId = to_version.VersionId
[1..1] FAC_CDS_UH_NODE_ACTION to_node_action $projection.JoinId = to_node_action.NodeId

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FACV_VE_GPND view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Validation Group Node view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY NodeId uhdt_node node_id Workflow Step
VersionId uhdt_node ver_id Version ID
NodeParentId node_pid Node Parent ID
JoinId uhdt_node node_id Workflow Step
NodeType node_type Type
HierarchyId to_version HierarchyId Hierarchy ID
HierarchyCategory to_version HierarchyCategory
NodeEntity node_entity Business Entity
NodeLevel node_level Node Level
NodeIndicator node_ind Node Indicator
NodeSequence node_seq Sequence Number
NodeDisplayOrder node_order UI Display Order
NodeSign node_sgn Node Value Sign
NodeValidFrom node_vldfm Node Valid From
NodeValidTo node_vldto Node Valid To
NodeLowValue node_lval Node Low Value
NodeHighValue node_hval Node High Value
CreatedAt uhdt_node created_at Uploaded On
CreatedBy uhdt_node created_by Version Created By
UpdatedAt uhdt_node updated_at Version Update Time
UpdatedBy uhdt_node updated_by Version Updated By
lval_txtendasNodeLowText
hval_txtendasNodeHighText
NodeRefId uhdt_node node_rid Reference Node ID
ReferenceVersionID uhdt_node ref_verid Ref. Version ID
ReferenceGroupID uhdt_node ref_t_group_id Ref. Group ID
OriginVersionID uhdt_node origin_verid Version ID
OriginHierarchyID uhdt_vrsn hier_hid Hierarchy ID
hier_hidendasRefHierarchyID
ref_t_group_idthenRelseendasVirtualFlag
Forbid_Add_LeafendasForbidAddLeaf
Forbid_Add_NodeendasForbidAddNode
Forbid_DeleteendasForbidDelete
Forbid_UpdateendasForbidUpdate
Forbid_MoveendasForbidMove
to_version to_version

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_ve_group_node.
-- 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_VE_GPND

CREATE VIEW fac_cds_ve_group_node AS
SELECT
  node.node_id AS NodeId,
  node.ver_id AS VersionId,
  node_pid AS NodeParentId,
  node.node_id AS JoinId,
  node_type AS NodeType,
  to_version.HierarchyId AS HierarchyId,
  to_version.HierarchyCategory AS HierarchyCategory,
  node_entity AS NodeEntity,
  node_level AS NodeLevel,
  node_ind AS NodeIndicator,
  node_seq AS NodeSequence,
  node_order AS NodeDisplayOrder,
  node_sgn AS NodeSign,
  node_vldfm AS NodeValidFrom,
  node_vldto AS NodeValidTo,
  node_lval AS NodeLowValue,
  node_hval AS NodeHighValue,
  node.created_at AS CreatedAt,
  node.created_by AS CreatedBy,
  node.updated_at AS UpdatedAt,
  node.updated_by AS UpdatedBy,
  case when ntxt.lval_txt is not null then ntxt.lval_txt else ntxt_e.lval_txt end as NodeLowText AS lval_txtendasNodeLowText,
  case when ntxt.hval_txt is not null then ntxt.hval_txt else ntxt_e.hval_txt end as NodeHighText AS hval_txtendasNodeHighText,
  node.node_rid AS NodeRefId,
  node.ref_verid AS ReferenceVersionID,
  node.ref_t_group_id AS ReferenceGroupID,
  node.origin_verid AS OriginVersionID,
  r.hier_hid AS OriginHierarchyID,
  case when node_type = 'Z' then r.hier_hid end as RefHierarchyID AS hier_hidendasRefHierarchyID,
  case when node.ref_t_group_id <> '' then 'R' else '' end as VirtualFlag AS ref_t_group_idthenRelseendasVirtualFlag,
  case when node.ref_t_group_id <> '' then 'X' else to_node_action.Forbid_Add_Leaf end as ForbidAddLeaf AS Forbid_Add_LeafendasForbidAddLeaf,
  case when node.ref_t_group_id <> '' then 'X' else to_node_action.Forbid_Add_Node end as ForbidAddNode AS Forbid_Add_NodeendasForbidAddNode,
  case when ( node.ref_t_group_id <> '' and node_type <> 'Z' ) then 'X' else to_node_action.Forbid_Delete end as ForbidDelete AS Forbid_DeleteendasForbidDelete,
  case when node.ref_t_group_id <> '' then 'X' else to_node_action.Forbid_Update end as ForbidUpdate AS Forbid_UpdateendasForbidUpdate,
  case when ( node.ref_t_group_id <> '' and node_type <> 'Z' ) then 'X' else to_node_action.Forbid_Move end as ForbidMove AS Forbid_MoveendasForbidMove,
  to_version
FROM uhdt_node AS node
LEFT OUTER JOIN uhdt_ntxt AS ntxt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_ntxt AS ntxt_e ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_vrsn AS r ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fac_cds_uh_version AS to_version ON VersionId = to_version.VersionId  -- association [1..1]
LEFT OUTER JOIN FAC_CDS_UH_NODE_ACTION AS to_node_action ON JoinId = to_node_action.NodeId  -- association [1..1]
;