I_EHSLocNameCurrentRevision

DDL: I_EHSLOCNAMECURRENTREVISION Type: view_entity BASIC Package: EHFND_BO_LOC_IMPL

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)

SourceAliasJoin Type
ehfndd_loc_text ehfndd_loc_text from

Associations (2)

CardinalityTargetAliasCondition
[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)

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

KeyFieldSource TableSource FieldDescription
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]
;