C_MyEHSLocationExpanded
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)
| Source | Alias | Join Type |
|---|---|---|
| I_MyEHSLocationExpanded | I_MyEHSLocationExpanded | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 ID | App Name | Type | Description |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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