FINCS_UH_PROFITCENTERNODE
Universal Hierarchy Profit Center Node
FINCS_UH_PROFITCENTERNODE is a CDS View that provides data about "Universal Hierarchy Profit Center Node" in SAP S/4HANA. It reads from 4 data sources (uhdt_clfd_val, uhdt_node, uhdt_ntxt, uhdt_vrsn) and exposes 12 fields with key field NodeId.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| uhdt_clfd_val | clfdvalue | inner |
| uhdt_node | node | from |
| uhdt_ntxt | ntxt | left_outer |
| uhdt_vrsn | version | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FINCS_UH_CS04N | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Universal Hierarchy Profit Center Node | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NodeId | uhdt_node | node_id | Workflow Step |
| VersionId | uhdt_node | ver_id | Version ID | |
| HierarchyId | uhdt_vrsn | hier_hid | Hierarchy ID | |
| VersionNumber | uhdt_vrsn | ver_nbr | Version Number | |
| VersionMessage | uhdt_vrsn | ver_msg | Note | |
| ValidFrom | uhdt_vrsn | ver_vldfm | Valid From | |
| ver_statusendasVersionStatus | ||||
| node_hvalasncvalendasNodeValue | ||||
| NodeText | uhdt_ntxt | lval_txt | Node Text | |
| node_hvalasnltxtendasNodeValueText | ||||
| val_lowascctrlendasControllingArea | ||||
| 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 FINCS_UH_PROFITCENTERNODE.
-- 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: FINCS_UH_CS04N
CREATE VIEW FINCS_UH_PROFITCENTERNODE AS
SELECT
node.node_id AS NodeId,
node.ver_id AS VersionId,
version.hier_hid AS HierarchyId,
version.ver_nbr AS VersionNumber,
version.ver_msg AS VersionMessage,
version.ver_vldfm AS ValidFrom,
case when ( ver_status = 'R' or ver_status = 'A' ) and locked_by = $session.user then 'I' else version.ver_status end as VersionStatus AS ver_statusendasVersionStatus,
case node.node_hval when '' then cast(node.node_lval as ncval) else cast (concat(node.node_lval,concat('~',node.node_hval)) as ncval) end as NodeValue AS node_hvalasncvalendasNodeValue,
ntxt.lval_txt AS NodeText,
case node.node_hval when '' then case ntxt.lval_txt when '' then cast( node.node_lval as nltxt ) else cast( concat( node.node_lval, concat('(',concat( ntxt.lval_txt, ')' ) ) ) as nltxt ) end else cast (concat(node.node_lval,concat('~',node.node_hval)) as nltxt) end as NodeValueText AS node_hvalasnltxtendasNodeValueText,
case clfdvalue.val_sign when 'S' then cast( clfdvalue.val_low as cctrl) when 'R' then cast( concat(clfdvalue.val_low,concat('~',clfdvalue.val_high)) as cctrl) else cast( clfdvalue.val_low as cctrl) end as ControllingArea AS val_lowascctrlendasControllingArea,
to_version
FROM uhdt_node AS node
INNER JOIN uhdt_vrsn AS version ON /* join condition not captured in parsed metadata */
INNER JOIN uhdt_clfd_val AS clfdvalue ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN uhdt_ntxt AS ntxt ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA