EHENV_ADEF_ADEF_DEFS
Location Aggregation - Loc. Aggregation
EHENV_ADEF_ADEF_DEFS is a CDS View that provides data about "Location Aggregation - Loc. Aggregation" in SAP S/4HANA. It reads from 3 data sources (ehenvd_adef_acla, ehenvd_scen_aggr, ehenvd_scen_root) and exposes 6 fields. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ehenvd_adef_acla | adef_acla | left_outer |
| ehenvd_scen_aggr | scen_aggr | inner |
| ehenvd_scen_root | scen_root | inner |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| p_langu | lang | |
| p_subj_type | ehfnd_amns_subj_type | |
| p_unit | ehfnd_unit_code | |
| p_usage_period | ehenv_usage_period | |
| p_xsource_type | ehfnd_amns_src_type |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EHSCmplncScenNameFllbckLang | scen_text | scen_root.db_key = scen_text.EHSComplianceScenarioRootUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | EHENV_ADEF_ADEF | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Location Aggregation - Loc. Aggregation | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
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 EHENV_ADEF_ADEF_DEFS.
-- 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: EHENV_ADEF_ADEF
-- Parameters: p_langu : lang, p_subj_type : ehfnd_amns_subj_type, p_unit : ehfnd_unit_code, p_usage_period : ehenv_usage_period, p_xsource_type : ehfnd_amns_src_type
CREATE VIEW EHENV_ADEF_ADEF_DEFS AS
SELECT
adef_root.db_key AS db_key,
adef_root.db_key AS root_key,
adef_root.name AS name,
adef_root.title AS title,
scen_root.db_key AS scenario_key,
$parameters.p_xsource_type AS source_type
LEFT OUTER JOIN ehenvd_adef_acla AS adef_acla ON /* join condition not captured in parsed metadata */
INNER JOIN ehenvd_scen_aggr AS scen_aggr ON /* join condition not captured in parsed metadata */
INNER JOIN ehenvd_scen_root AS scen_root ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EHSCmplncScenNameFllbckLang AS scen_text ON scen_root.db_key = scen_text.EHSComplianceScenarioRootUUID -- 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