SHSM_CompanyCodeHierarchyNVH

DDL: SHSM_COMPANYCODEHIERARCHYNVH SQL: SHSMFICCNVH Type: view

Company Code Hierarchy Node Value Help

SHSM_CompanyCodeHierarchyNVH is a CDS View that provides data about "Company Code Hierarchy Node Value Help" in SAP S/4HANA. It reads from 2 data sources (hrrp_node_n, hrrp_nodet_n) and exposes 8 fields with key fields CompanyCodeHierarchy, HierarchyNode, ValidityEndDate, Language. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_node_n hrrp_node_n from
hrrp_nodet_n hrrp_nodet_n left_outer

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..*] I_CompanyCodeHierarchy _Hierarchy $projection.CompanyCodeHierarchy = _Hierarchy.CompanyCodeHierarchy

Annotations (11)

NameValueLevelField
EndUserText.label Company Code Hierarchy Node Value Help view
AbapCatalog.sqlViewName SHSMFICCNVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey HierarchyNode view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCodeHierarchy
KEY HierarchyNode
KEY ValidityEndDate hrrp_node_n hryvalto Valid To
KEY Language hrrp_nodet_n spras Off. Language
HierarchyNodeText hrrp_nodet_n nodetxt Description
ValidityStartDate hrrp_node_n hryvalfrom Valid From
_Language _Language
_Hierarchy _Hierarchy

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 SHSM_CompanyCodeHierarchyNVH.
-- 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: SHSMFICCNVH

CREATE VIEW SHSM_CompanyCodeHierarchyNVH AS
SELECT
  cast( hrrp_node_n.hryid as fis_hryid_ccode preserving type ) AS CompanyCodeHierarchy,
  cast( hrrp_node_n.hrynode as fis_hrynid_ccode ) AS HierarchyNode,
  hrrp_node_n.hryvalto AS ValidityEndDate,
  hrrp_nodet_n.spras AS Language,
  hrrp_nodet_n.nodetxt AS HierarchyNodeText,
  hrrp_node_n.hryvalfrom AS ValidityStartDate
FROM hrrp_node_n
LEFT OUTER JOIN hrrp_nodet_n ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_CompanyCodeHierarchy AS _Hierarchy ON CompanyCodeHierarchy = _Hierarchy.CompanyCodeHierarchy  -- association [1..*]
;