I_EHSLocationStorageLocation

DDL: I_EHSLOCATIONSTORAGELOCATION SQL: ILOCSL Type: view BASIC

EHS Location Storage Location

I_EHSLocationStorageLocation is a Basic CDS View (Dimension) that provides data about "EHS Location Storage Location" in SAP S/4HANA. It reads from 1 data source (ehfndd_loc_sl) and exposes 9 fields with key field EHSLocationStorageLocationUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndd_loc_sl ehfndd_loc_sl from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_StorageLocation _StorageLocation $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.Plant = _StorageLocation.Plant
[0..1] I_EHSLocationRevision _EHSLocationRevision $projection.EHSLocationRevisionUUID = _EHSLocationRevision.EHSLocationRevisionUUID
[0..1] I_EHSLocationRoot _EHSLocationRoot $projection.EHSLocationUUID = _EHSLocationRoot.EHSLocationUUID

Annotations (14)

NameValueLevelField
EndUserText.label EHS Location Storage Location view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey EHSLocationStorageLocationUUID view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ILOCSL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY EHSLocationStorageLocationUUID UUID
EHSLocationUUID root_key UUID
EHSLocationRevisionUUID parent_key UUID
Plant plant_id Plant ID
_Plant _Plant
StorageLocation storage_loc Storage Location
_StorageLocation _StorageLocation
_EHSLocationRevision _EHSLocationRevision
_EHSLocationRoot _EHSLocationRoot

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_EHSLocationStorageLocation.
-- 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: ILOCSL

CREATE VIEW I_EHSLocationStorageLocation AS
SELECT
  cast( db_key as ehfnd_location_uuid_ref preserving type ) AS EHSLocationStorageLocationUUID,
  root_key AS EHSLocationUUID,
  parent_key AS EHSLocationRevisionUUID,
  plant_id AS Plant,
  storage_loc AS StorageLocation
FROM ehfndd_loc_sl
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON StorageLocation = _StorageLocation.StorageLocation AND Plant = _StorageLocation.Plant  -- association [0..1]
LEFT OUTER JOIN I_EHSLocationRevision AS _EHSLocationRevision ON EHSLocationRevisionUUID = _EHSLocationRevision.EHSLocationRevisionUUID  -- association [0..1]
LEFT OUTER JOIN I_EHSLocationRoot AS _EHSLocationRoot ON EHSLocationUUID = _EHSLocationRoot.EHSLocationUUID  -- association [0..1]
;