I_CurrentEHSLocFacilityPath
The current location hierarchy with parent facilities
I_CurrentEHSLocFacilityPath is a Composite CDS View that provides data about "The current location hierarchy with parent facilities" in SAP S/4HANA. It reads from 1 data source (I_CurrentEHSLocationPath) and exposes 5 fields with key fields EHSLocationUUID, EHSSuperiorLocationUUID. It has 1 association to related views. Part of development package EHFND_BO_LOC_IMPL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CurrentEHSLocationPath | I_CurrentEHSLocationPath | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CurrentEHSLocation | _CurrentEHSParentLocation | _CurrentEHSParentLocation.EHSLocationUUID = $projection.EHSSuperiorLocationUUID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | The current location hierarchy with parent facilities | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationUUID | EHSLocationUUID | ||
| KEY | EHSSuperiorLocationUUID | EHSSuperiorLocationUUID | ||
| EHSLocationHierarchyLevel | EHSLocationHierarchyLevel | |||
| _EHSLocation | _EHSLocation | |||
| _EHSParentLocation | _EHSParentLocation |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'The current location hierarchy with parent facilities'
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #M,
dataClass: #MASTER
}
@VDM.viewType: #COMPOSITE
define view entity I_CurrentEHSLocFacilityPath
as select from I_CurrentEHSLocationPath
association [1..1] to I_CurrentEHSLocation as _CurrentEHSParentLocation on _CurrentEHSParentLocation.EHSLocationUUID = $projection.EHSSuperiorLocationUUID
{
key EHSLocationUUID,
key EHSSuperiorLocationUUID,
EHSLocationHierarchyLevel,
/* Associations */
_EHSLocation,
_EHSParentLocation
}
where
_CurrentEHSParentLocation.EHSLocationType = 'EHFND_LTY_FA'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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