I_EHSLocNameCurrentRevision
Location name along with its current revision
I_EHSLocNameCurrentRevision is a Basic CDS View that provides data about "Location name along with its current revision" in SAP S/4HANA. It reads from 1 data source (ehfndd_loc_text) and exposes 11 fields with key fields EHSLocationRevisionNameUUID, Language, EHSLocationUUID. It has 2 associations to related views. Part of development package EHFND_BO_LOC_IMPL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndd_loc_text | ehfndd_loc_text | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EHSLocationRevisionBasic | _EHSLocationRevisionBasic | $projection.EHSLocationRevisionUUID = _EHSLocationRevisionBasic.EHSLocationRevisionUUID and $projection.EHSLocationUUID = _EHSLocationRevisionBasic.EHSLocationUUID |
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Location name along with its current revision | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationRevisionNameUUID | db_key | UUID | |
| KEY | Language | language | Report Text Language | |
| KEY | EHSLocationUUID | root_key | UUID | |
| EHSLocationRevisionUUID | parent_key | UUID | ||
| CreationDateTime | crea_date_time | Time Stamp | ||
| CreatedByUser | crea_uname | User Name | ||
| LastChangeDateTime | lchg_date_time | Time Stamp | ||
| LastChangedByUser | lchg_uname | User Name | ||
| EHSLocationName | text | User Group | ||
| _EHSLocationRevisionBasic | _EHSLocationRevisionBasic | |||
| _Language | _Language |
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 I_EHSLocNameCurrentRevision.
-- 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.
CREATE VIEW I_EHSLocNameCurrentRevision AS
SELECT
db_key AS EHSLocationRevisionNameUUID,
Language,
root_key AS EHSLocationUUID,
parent_key AS EHSLocationRevisionUUID,
crea_date_time AS CreationDateTime,
crea_uname AS CreatedByUser,
lchg_date_time AS LastChangeDateTime,
lchg_uname AS LastChangedByUser,
text AS EHSLocationName
FROM ehfndd_loc_text
LEFT OUTER JOIN I_EHSLocationRevisionBasic AS _EHSLocationRevisionBasic ON EHSLocationRevisionUUID = _EHSLocationRevisionBasic.EHSLocationRevisionUUID AND EHSLocationUUID = _EHSLocationRevisionBasic.EHSLocationUUID -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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