ACMHEX_HIERS4DIM1
ACMHEX: Hierarchies for Dimension-1
ACMHEX_HIERS4DIM1 is a CDS View that provides data about "ACMHEX: Hierarchies for Dimension-1" in SAP S/4HANA. It reads from 1 data source (acmhexdb_hi4dim1) and exposes 13 fields with key fields hieid, nodeid. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| acmhexdb_hi4dim1 | acmhexdb_hi4dim1 | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | ACMHEX_HIERS4DIM1 | _parent | $projection.hieid = _parent.hieid and $projection.parentid = _parent.nodeid |
| [1] | ACMHEX_HIERS4DIM1_DIRECTORY | _dir | $projection.hieid = _dir.hieid |
| [1] | ACMHEX_SREGION | _sregion | $projection.region = _sregion.region_code and $projection.continent = '' and $projection.country = '' and $projection.carrid = '' |
| [1] | ACMHEX_SCONTINENT | _scontinent | $projection.region = _scontinent.region_code and $projection.continent = _scontinent.continent and $projection.country = '' and $projection.carrid = '' |
| [1] | ACMHEX_SCOUNTRY | _scountry | $projection.region = '' and $projection.continent = '' and $projection.country = _scountry.land1 and $projection.carrid = '' |
| [1] | ACMHEX_SCARR | _scarr | $projection.region = '' and $projection.continent = '' and $projection.country = '' and $projection.carrid = _scarr.carrid |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACMHEXSV_HI4DIM1 | view | |
| EndUserText.label | ACMHEX: Hierarchies for Dimension-1 | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| Hierarchy.parentChild.name | HierarchyForDim1 | view | |
| Hierarchy.parentChild.label | CarrId | view | |
| Hierarchy.parentChild.recurseBy | _parent | view | |
| Hierarchy.parentChild.directory | _dir | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | hieid | acmhexdb_hi4dim1 | hieid | R/2 table |
| KEY | nodeid | acmhexdb_hi4dim1 | nodeid | Workflow Step |
| parentid | acmhexdb_hi4dim1 | parentid | UUID | |
| region | acmhexdb_hi4dim1 | region | Venue Region | |
| continent | acmhexdb_hi4dim1 | continent | Continent | |
| country | acmhexdb_hi4dim1 | country | Venue: Ctry/Reg | |
| carrid | acmhexdb_hi4dim1 | carrid | Carrier | |
| _parent | _parent | |||
| _dir | _dir | |||
| _sregion | _sregion | |||
| _scontinent | _scontinent | |||
| _scountry | _scountry | |||
| _scarr | _scarr |
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_HIERS4DIM1.
-- 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_HI4DIM1
CREATE VIEW ACMHEX_HIERS4DIM1 AS
SELECT
acmhexdb_hi4dim1.hieid AS hieid,
acmhexdb_hi4dim1.nodeid AS nodeid,
acmhexdb_hi4dim1.parentid AS parentid,
acmhexdb_hi4dim1.region AS region,
acmhexdb_hi4dim1.continent AS continent,
acmhexdb_hi4dim1.country AS country,
acmhexdb_hi4dim1.carrid AS carrid
FROM acmhexdb_hi4dim1
LEFT OUTER JOIN ACMHEX_HIERS4DIM1 AS _parent ON hieid = _parent.hieid AND parentid = _parent.nodeid -- association [0..1]
LEFT OUTER JOIN ACMHEX_HIERS4DIM1_DIRECTORY AS _dir ON hieid = _dir.hieid -- association [1]
LEFT OUTER JOIN ACMHEX_SREGION AS _sregion ON region = _sregion.region_code AND continent = '' AND country = '' AND carrid = '' -- association [1]
LEFT OUTER JOIN ACMHEX_SCONTINENT AS _scontinent ON region = _scontinent.region_code AND continent = _scontinent.continent AND country = '' AND carrid = '' -- association [1]
LEFT OUTER JOIN ACMHEX_SCOUNTRY AS _scountry ON region = '' AND continent = '' AND country = _scountry.land1 AND carrid = '' -- association [1]
LEFT OUTER JOIN ACMHEX_SCARR AS _scarr ON region = '' AND continent = '' AND country = '' AND carrid = _scarr.carrid -- association [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