ACMHEX_HIERS4DIM1_LEAFVIEW

DDL: ACMHEX_HIERS4DIM1_LEAFVIEW SQL: ACMHEXSV_H4D1LEF Type: view

Leaf-View for Hierarchy-for-Dimension-1

ACMHEX_HIERS4DIM1_LEAFVIEW is a CDS View that provides data about "Leaf-View for Hierarchy-for-Dimension-1" in SAP S/4HANA. It reads from 5 data sources (acmhexdb_hi4dim1, acmhexdb_hi4dim1, acmhexdb_hi4dim1, acmhexdb_hi4dim1, acmhexdb_hi4dim1) and exposes 8 fields with key fields hieid, region, continent, country, leaf_level.

Data Sources (5)

SourceAliasJoin Type
acmhexdb_hi4dim1 level1 from
acmhexdb_hi4dim1 level1 union
acmhexdb_hi4dim1 level2 left_outer
acmhexdb_hi4dim1 level2 left_outer
acmhexdb_hi4dim1 level3 left_outer

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName ACMHEXSV_H4D1LEF view
EndUserText.label Leaf-View for Hierarchy-for-Dimension-1 view
AccessControl.authorizationCheck #NOT_ALLOWED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY hieid acmhexdb_hi4dim1 hieid R/2 table
KEY region acmhexdb_hi4dim1 region Venue Region
KEY continent acmhexdb_hi4dim1 continent Continent
KEY country acmhexdb_hi4dim1 country Venue: Ctry/Reg
KEY leaf_level
KEY hieid R/2 table
KEY leaf_level
KEY carridOutputFieldakaDimensionKey

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_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_H4D1LEF

CREATE VIEW ACMHEX_HIERS4DIM1_LEAFVIEW AS
SELECT
  level1.hieid AS hieid,
  level1.region AS region,
  level1.continent AS continent,
  level1.country AS country,
  '2' AS leaf_level,
  level3.carrid AS carridOutputFieldakaDimensionKey
FROM acmhexdb_hi4dim1 AS level1
LEFT OUTER JOIN acmhexdb_hi4dim1 AS level2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN acmhexdb_hi4dim1 AS level3 ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): acmhexdb_hi4dim1
;