I_CurrentEHSLocFacilityPath

DDL: I_CURRENTEHSLOCFACILITYPATH Type: view_entity COMPOSITE Package: EHFND_BO_LOC_IMPL

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)

SourceAliasJoin Type
I_CurrentEHSLocationPath I_CurrentEHSLocationPath from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CurrentEHSLocation _CurrentEHSParentLocation _CurrentEHSParentLocation.EHSLocationUUID = $projection.EHSSuperiorLocationUUID

Annotations (6)

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

KeyFieldSource TableSource FieldDescription
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'