I_EHSLOCHIERARCHYPATH

CDS View

Location Hierarchy Path

I_EHSLOCHIERARCHYPATH is a CDS View in S/4HANA. Location Hierarchy Path. It contains 4 fields. 15 CDS views read from this table.

CDS Views using this table (15)

ViewTypeJoinVDMDescription
C_EHSLocHierarchyPathDEX view_entity from CONSUMPTION EHS Location Hierarchy Path
C_SafetyInstrnEquipmentFltrVH view from CONSUMPTION SI: Equipment Value Help for Filter Bar
C_SafetyInstructionEquipmentVH view from CONSUMPTION SI: Equipment Value Help
I_AprvdChemicalsForRskAtLocVH view inner COMPOSITE Approved Chemical for Location
I_CurrentEHSLocationPath view from COMPOSITE Current EHS Location Structure Path
I_CurrentEHSParentLocation view from COMPOSITE Current EHS Parent Location
I_EHSLocationExpanded view from COMPOSITE EHS Location and Sublocations
I_EHSLocationForFiltering view from COMPOSITE EHS Location and Sublocations for Filtering
I_EHSLocEnvrnmtlDtaRespInhtd view_entity inner COMPOSITE Location Environmental Data Responsible Inherited
I_EHSLocRespManagerInherited view inner COMPOSITE Location Responsible Manager Inherited
I_EHSLocRespMgrAndTechnInhtd view inner COMPOSITE Loc Responisble Manager and Operator
I_EHSLocRespTechnInherited view inner COMPOSITE Location Responsible Technician Inheritd
I_FavoriteEHSLocationExpanded view inner COMPOSITE Favorite EHS Location and Sublocations
I_MyEHSLocationExpanded view inner COMPOSITE My EHS Location and Sublocations
P_EHSLocationHierarchyLevel view from COMPOSITE Determine the level of a EHS location within the hierarchy

Fields (4)

KeyField CDS FieldsUsed in Views
KEY EHSLocationUUID EHSLocationUUID 5
KEY EHSLocHierarchyPathUUID EHSLocHierarchyPathUUID 1
KEY EHSParentLocationUUID EHSParentLocationUUID 5
_EHSLocation _EHSLocation 1
@AbapCatalog:{
    sqlViewName: 'IEHSLHRLOCPATH',
    compiler.compareFilter: true
}
@EndUserText.label: 'Location Hierarchy Path'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@Analytics: { dataCategory: #DIMENSION } //correction 3113514 28.10.2021


// Client handling by session

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel:{
    representativeKey: 'EHSLocHierarchyPathUUID',
// used for BOBF Master Data Object

    usageType:{ serviceQuality: #A,       
                sizeCategory:  #L,         // < 10.000.000

                dataClass: #MASTER }
}


define view I_EHSLocHierarchyPath
  as select from ehfndd_lhr_path
  association [0..1] to I_EHSLocationRoot as _EHSLocation       on $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID
  association [0..1] to I_EHSLocationRoot as _EHSParentLocation on $projection.EHSParentLocationUUID = _EHSParentLocation.EHSLocationUUID
{
  key  cast( ehfndd_lhr_path.db_key as ehfnd_lhr_path_key preserving type )                 as EHSLocHierarchyPathUUID,
       cast( ehfndd_lhr_path.parent_key as ehfnd_lhr_rev_key preserving type )              as EHSLocHierarchyRevisionUUID,
       @ObjectModel.foreignKey.association: '_EHSLocation'
       cast( ehfndd_lhr_path.loc_root_key  as ehfnd_location_uuid_ref preserving type )     as EHSLocationUUID,
       @ObjectModel.foreignKey.association: '_EHSParentLocation'
       cast( ehfndd_lhr_path.anc_root_key_ref  as ehfnd_location_uuid_ref preserving type ) as EHSParentLocationUUID,
       _EHSLocation,
       _EHSParentLocation
}