ACMHEX_HIERS4DIM2_LEAFVIEW
Leaf-View for Hierarchy-for-Dimension-2
ACMHEX_HIERS4DIM2_LEAFVIEW is a CDS View that provides data about "Leaf-View for Hierarchy-for-Dimension-2" in SAP S/4HANA. It reads from 13 data sources and exposes 21 fields with key fields hieid1, hieid2, region, continent, country. Part of development package SACMHIEREX.
Data Sources (13)
| Source | Alias | Join Type |
|---|---|---|
| acmhexdb_hi4dim2 | level1 | from |
| acmhexdb_hi4dim2 | level1 | union |
| acmhexdb_hi4dim2 | level1 | union |
| acmhexdb_hi4dim2 | level1 | union |
| acmhexdb_hi4dim2 | level2 | left_outer |
| acmhexdb_hi4dim2 | level2 | left_outer |
| acmhexdb_hi4dim2 | level2 | left_outer |
| acmhexdb_hi4dim2 | level2 | left_outer |
| acmhexdb_hi4dim2 | level3 | left_outer |
| acmhexdb_hi4dim2 | level3 | left_outer |
| acmhexdb_hi4dim2 | level3 | left_outer |
| acmhexdb_hi4dim2 | level4 | left_outer |
| acmhexdb_hi4dim2 | level4 | left_outer |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACMHEXSV_H4D2LEF | view | |
| EndUserText.label | Leaf-View for Hierarchy-for-Dimension-2 | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | hieid1 | acmhexdb_hi4dim2 | hieid1 | HIEID-1 |
| KEY | hieid2 | acmhexdb_hi4dim2 | hieid2 | HIEID-2 |
| KEY | region | acmhexdb_hi4dim2 | region | Venue Region |
| KEY | continent | acmhexdb_hi4dim2 | continent | Continent |
| KEY | country | acmhexdb_hi4dim2 | country | Venue: Ctry/Reg |
| KEY | producer | acmhexdb_hi4dim2 | producer | Producer ID |
| KEY | plane_type | acmhexdb_hi4dim2 | plane_type | Planetype |
| KEY | leaf_level | |||
| KEY | carrier_id | acmhexdb_hi4dim2 | carrier_id | Carrier |
| KEY | hieid1 | HIEID-1 | ||
| KEY | hieid2 | acmhexdb_hi4dim2 | hieid2 | HIEID-2 |
| KEY | leaf_level | |||
| KEY | carrier_id | acmhexdb_hi4dim2 | carrier_id | Carrier |
| KEY | hieid1 | HIEID-1 | ||
| KEY | hieid2 | acmhexdb_hi4dim2 | hieid2 | HIEID-2 |
| KEY | leaf_level | |||
| KEY | carrier_id | acmhexdb_hi4dim2 | carrier_id | Carrier |
| KEY | hieid1 | HIEID-1 | ||
| KEY | hieid2 | acmhexdb_hi4dim2 | hieid2 | HIEID-2 |
| KEY | leaf_level | |||
| KEY | carrier_id | acmhexdb_hi4dim2 | carrier_id | Carrier |
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 ACMHEX_HIERS4DIM2_LEAFVIEW.
-- 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: ACMHEXSV_H4D2LEF
CREATE VIEW ACMHEX_HIERS4DIM2_LEAFVIEW AS
SELECT
level1.hieid1 AS hieid1,
level1.hieid2 AS hieid2,
level1.region AS region,
level1.continent AS continent,
level1.country AS country,
level1.producer AS producer,
level1.plane_type AS plane_type,
'2' AS leaf_level,
level2.carrier_id AS carrier_id
FROM acmhexdb_hi4dim2 AS level1
LEFT OUTER JOIN acmhexdb_hi4dim2 AS level2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN acmhexdb_hi4dim2 AS level3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN acmhexdb_hi4dim2 AS level4 ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): acmhexdb_hi4dim2
;
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