SHSM_ProfitCenterHierarchyVH

DDL: SHSM_PROFITCENTERHIERARCHYVH SQL: SHSMFIPCAVH Type: view

Profit Center Hierarchy Value Help

SHSM_ProfitCenterHierarchyVH is a CDS View that provides data about "Profit Center Hierarchy Value Help" in SAP S/4HANA. It reads from 2 data sources (hrrp_dir_n, hrrp_dirt_n) and exposes 8 fields with key fields ControllingArea, ProfitCenterHierarchy, ValidityEndDate, Language. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from
hrrp_dirt_n hrrp_dirt_n left_outer

Associations (2)

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

Annotations (11)

NameValueLevelField
EndUserText.label Profit Center Hierarchy Value Help view
AbapCatalog.sqlViewName SHSMFIPCAVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey ProfitCenterHierarchy 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
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea hrrp_dir_n kokrs Org. Value
KEY ProfitCenterHierarchy
KEY ValidityEndDate hrrp_dir_n hryvalto Valid To
KEY Language hrrp_dirt_n spras Off. Language
ValidityStartDate hrrp_dir_n hryvalfrom Valid From
ProfitCenterHierarchyName hrrp_dirt_n hrytxt Description
_ControllingArea _ControllingArea
_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_ProfitCenterHierarchyVH.
-- 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: SHSMFIPCAVH

CREATE VIEW SHSM_ProfitCenterHierarchyVH AS
SELECT
  hrrp_dir_n.kokrs AS ControllingArea,
  cast( hrrp_dir_n.hryid as fis_hryid_prctr preserving type ) AS ProfitCenterHierarchy,
  hrrp_dir_n.hryvalto AS ValidityEndDate,
  hrrp_dirt_n.spras AS Language,
  hrrp_dir_n.hryvalfrom AS ValidityStartDate,
  hrrp_dirt_n.hrytxt AS ProfitCenterHierarchyName
FROM hrrp_dir_n
LEFT OUTER JOIN hrrp_dirt_n ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;