Ehenv_Location_Filter
Retrieves current revision location and its sublocations
Ehenv_Location_Filter is a CDS View that provides data about "Retrieves current revision location and its sublocations" in SAP S/4HANA. It reads from 2 data sources (Ehfnd_Lhr_Locations, ehfndd_loc_rev) and exposes 9 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| Ehfnd_Lhr_Locations | Ehfnd_Lhr_Locations | from |
| ehfndd_loc_rev | ehfndd_loc_rev | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_sy_datlo | syst_datlo |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | EHENVV_LOC_FLT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Retrieves current revision location and its sublocations | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| loc_key | ehfndd_loc_rev | parent_key | UUID | |
| plant_id | ehfndd_loc_rev | plant_id | Plant ID | |
| cost_center | ehfndd_loc_rev | cost_center | Posted Cost Center | |
| company_code | ehfndd_loc_rev | company_code | Company Code | |
| buss_area | ehfndd_loc_rev | buss_area | Business Area | |
| type | ehfndd_loc_rev | type | Worklist Type | |
| country | ehfndd_loc_rev | country | Venue: Ctry/Reg | |
| region | ehfndd_loc_rev | region | Venue Region | |
| loc_status | ehfndd_loc_rev | status | Workflow Status |
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_Location_Filter.
-- 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_LOC_FLT
-- Parameters: p_sy_datlo : syst_datlo
CREATE VIEW Ehenv_Location_Filter AS
SELECT
ehfndd_loc_rev.parent_key AS loc_key,
ehfndd_loc_rev.plant_id AS plant_id,
ehfndd_loc_rev.cost_center AS cost_center,
ehfndd_loc_rev.company_code AS company_code,
ehfndd_loc_rev.buss_area AS buss_area,
ehfndd_loc_rev.type AS type,
ehfndd_loc_rev.country AS country,
ehfndd_loc_rev.region AS region,
ehfndd_loc_rev.status AS loc_status
FROM Ehfnd_Lhr_Locations
INNER JOIN ehfndd_loc_rev 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