C_MyEHSLocationExpanded

DDL: C_MYEHSLOCATIONEXPANDED SQL: CMYLOCEXPANDED Type: view CONSUMPTION

My EHS Location and Sublocations

C_MyEHSLocationExpanded is a Consumption CDS View that provides data about "My EHS Location and Sublocations" in SAP S/4HANA. It reads from 1 data source (I_MyEHSLocationExpanded) and exposes 15 fields with key field EHSLocationUUID. It is used in 1 Fiori application: Workplace Safety Overview.

Data Sources (1)

SourceAliasJoin Type
I_MyEHSLocationExpanded I_MyEHSLocationExpanded from

Annotations (10)

NameValueLevelField
EndUserText.label My EHS Location and Sublocations view
OData.publish true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
AbapCatalog.sqlViewName CMYLOCEXPANDED view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fiori Apps (1)

App IDApp NameTypeDescription
F7512 Workplace Safety Overview Analytical An application which provides overview for the Workplace Safety state of the organization: Safety Incidents, Related tasks and various analytical data points.

Workplace Safety Overview

Business Role: Industrial Hygienist

New Workplace Safety Overview application which provides Cards with data insights regarding Incident Management. All Cards are based on the My Location concept and use the currently set My Location ID for the logged in user to pre-filter all data. If no location is set, then by default the Cards will show all data in the organization.Certain cards which have IBN are able to be assigned on the Fiori Launchpad Home Page.

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY EHSLocationUUID _EHSLocationRevision EHSLocationUUID NodeID
MyEHSLocationUUID MyEHSLocationUUID
RevisionStartDate _EHSLocationRevision RevisionStartDate
RevisionEndDate _EHSLocationRevision RevisionEndDate
EHSLocationHierarchyLevel EHSLocationHierarchyLevel
EHSLocationID
EHSLocationRevisionUUID _EHSLocationRevision EHSLocationRevisionUUID
EHSLocationType _EHSLocationRevision EHSLocationType Loc. Type
EHSLocationStatus _EHSLocationRevision EHSLocationStatus
EHSLocationAuthorizationGroup _EHSLocationRevision EHSLocationAuthorizationGroup
Plant _EHSLocationRevision Plant Valuation Area
CostCenter _EHSLocationRevision CostCenter Cost Center
CompanyCode _EHSLocationRevision CompanyCode Receiver Company Code
BusinessArea _EHSLocationRevision BusinessArea Business Area
_Name _EHSLocationRevision _EHSLocationRevisionName

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 C_MyEHSLocationExpanded.
-- 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: CMYLOCEXPANDED

CREATE VIEW C_MyEHSLocationExpanded AS
SELECT
  _EHSLocationRevision.EHSLocationUUID AS EHSLocationUUID,
  MyEHSLocationUUID,
  _EHSLocationRevision.RevisionStartDate AS RevisionStartDate,
  _EHSLocationRevision.RevisionEndDate AS RevisionEndDate,
  EHSLocationHierarchyLevel,
  _EHSLocationRevision._EHSLocationRoot.EHSLocationID AS EHSLocationID,
  _EHSLocationRevision.EHSLocationRevisionUUID AS EHSLocationRevisionUUID,
  _EHSLocationRevision.EHSLocationType AS EHSLocationType,
  _EHSLocationRevision.EHSLocationStatus AS EHSLocationStatus,
  _EHSLocationRevision.EHSLocationAuthorizationGroup AS EHSLocationAuthorizationGroup,
  _EHSLocationRevision.Plant AS Plant,
  _EHSLocationRevision.CostCenter AS CostCenter,
  _EHSLocationRevision.CompanyCode AS CompanyCode,
  _EHSLocationRevision.BusinessArea AS BusinessArea,
  _EHSLocationRevision._EHSLocationRevisionName AS _Name
FROM I_MyEHSLocationExpanded
;