SHSM_ProfitCenterHierarchyVH
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)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_dir_n | hrrp_dir_n | from |
| hrrp_dirt_n | hrrp_dirt_n | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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