EHENV_ADEF_ADEF_DEFS

DDL: EHENV_ADEF_ADEF_DEFS SQL: EHENV_ADEF_ADEF Type: view

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)

SourceAliasJoin Type
ehenvd_adef_acla adef_acla left_outer
ehenvd_scen_aggr scen_aggr inner
ehenvd_scen_root scen_root inner

Parameters (5)

NameTypeDefault
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)

CardinalityTargetAliasCondition
[0..1] I_EHSCmplncScenNameFllbckLang scen_text scen_root.db_key = scen_text.EHSComplianceScenarioRootUUID

Annotations (8)

NameValueLevelField
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

Fields (6)

KeyFieldSource TableSource FieldDescription
db_key adef_root db_key UUID
root_key adef_root db_key UUID
name adef_root name Zone name
title adef_root title View Title
scenario_key ehenvd_scen_root db_key UUID
source_type

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]
;