SHSM_CompanyCodeHierarchyVH_42

DDL: SHSM_COMPANYCODEHIERARCHYVH_42 Type: view_entity

Company Code Hierarchy Value Help

SHSM_CompanyCodeHierarchyVH_42 is a CDS View that provides data about "Company Code Hierarchy Value Help" in SAP S/4HANA. It reads from 2 data sources (hrrp_dir_n, hrrp_dirt_n) and exposes 6 fields with key fields CompanyCodeHierarchy, ValidityEndDate, Language. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from
hrrp_dirt_n hrrp_dirt_n left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (7)

NameValueLevelField
EndUserText.label Company Code Hierarchy Value Help view
ObjectModel.representativeKey CompanyCodeHierarchy view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCodeHierarchy
KEY ValidityEndDate hrrp_dir_n hryvalto Valid To
KEY Language hrrp_dirt_n spras Off. Language
ValidityStartDate hrrp_dir_n hryvalfrom Valid From
CompanyCodeHierarchyName hrrp_dirt_n hrytxt Description
_Language _Language

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_CompanyCodeHierarchyVH_42.
-- 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.

CREATE VIEW SHSM_CompanyCodeHierarchyVH_42 AS
SELECT
  cast( hrrp_dir_n.hryid_42 as fis_hryid_ccode_42 ) AS CompanyCodeHierarchy,
  hrrp_dir_n.hryvalto AS ValidityEndDate,
  hrrp_dirt_n.spras AS Language,
  hrrp_dir_n.hryvalfrom AS ValidityStartDate,
  hrrp_dirt_n.hrytxt AS CompanyCodeHierarchyName
FROM hrrp_dir_n
LEFT OUTER JOIN hrrp_dirt_n ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;