Ehenv_Scenario_Limits
Environmental Scenario Limits
Ehenv_Scenario_Limits is a CDS View that provides data about "Environmental Scenario Limits" in SAP S/4HANA. It reads from 2 data sources (ehenvd_scen_lmt, ehenvd_scen_root) and exposes 9 fields. Part of development package EHENV_BO_SCENARIO_IMPL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ehenvd_scen_lmt | ehenvd_scen_lmt | from |
| ehenvd_scen_root | ehenvd_scen_root | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | EHENVV_SCEN_LMT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Environmental Scenario Limits | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| scen_key | ehenvd_scen_root | db_key | UUID | |
| valid_from | ehenvd_scen_root | valid_from | Validity Start Time | |
| valid_to | ehenvd_scen_root | valid_to | Validity End Time | |
| limit_key | ehenvd_scen_lmt | db_key | UUID | |
| bo_key_ref | bo_key_ref | NodeID | ||
| unit | unit | UoM | ||
| type | type | Worklist Type | ||
| limit_value | limit_value | Value | ||
| name | name | Zone name |
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_Scenario_Limits.
-- 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: EHENVV_SCEN_LMT
CREATE VIEW Ehenv_Scenario_Limits AS
SELECT
ehenvd_scen_root.db_key AS scen_key,
ehenvd_scen_root.valid_from AS valid_from,
ehenvd_scen_root.valid_to AS valid_to,
ehenvd_scen_lmt.db_key AS limit_key,
bo_key_ref,
unit,
type,
limit_value,
name
FROM ehenvd_scen_lmt
INNER JOIN ehenvd_scen_root ON /* join condition not captured in parsed metadata */
;
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