P_ReldSafetyInstructionAtLoc

DDL: P_RELDSAFETYINSTRUCTIONATLOC Type: view_entity COMPOSITE Package: EHHSS_API_FSI

Private view SI at location

P_ReldSafetyInstructionAtLoc is a Composite CDS View that provides data about "Private view SI at location" in SAP S/4HANA. It reads from 3 data sources (I_SafetyInstruction, I_SafetyInstruction, I_SafetyInstruction) and exposes 13 fields with key fields SafetyInstructionUUID, EHSLocationUUID, SftyInstrnLocAssignmentType, EHSLocationUUID, SftyInstrnLocAssignmentType. Part of development package EHHSS_API_FSI.

Data Sources (3)

SourceAliasJoin Type
I_SafetyInstruction I_SafetyInstruction from
I_SafetyInstruction I_SafetyInstruction union_all
I_SafetyInstruction I_SafetyInstruction union_all

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
EndUserText.label Private view SI at location view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SafetyInstructionUUID I_SafetyInstruction SafetyInstructionUUID NodeID
KEY EHSLocationUUID I_SafetyInstruction FactoryEHSLocationUUID Location
KEY SftyInstrnLocAssignmentType
EHSFunctionalLocation _EHSLocation EHSFunctionalLocation
SafetyInstructionUUID NodeID
KEY EHSLocationUUID I_SafetyInstructionEquipment EquipmentEHSLocationUUID Location
KEY SftyInstrnLocAssignmentType
EHSFunctionalLocation _EHSLocation EHSFunctionalLocation
SafetyInstructionUUID NodeID
KEY EHSLocationUUID I_SafetyInstrnFactoryArea FactoryAreaEHSLocationUUID Location
KEY SftyInstrnLocAssignmentType
EHSFunctionalLocation _EHSLocation EHSFunctionalLocation
Equipment _EHSLocation Equipment Equipment check

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 P_ReldSafetyInstructionAtLoc.
-- 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.

CREATE VIEW P_ReldSafetyInstructionAtLoc AS
SELECT
  I_SafetyInstruction.SafetyInstructionUUID AS SafetyInstructionUUID,
  I_SafetyInstruction.FactoryEHSLocationUUID AS EHSLocationUUID,
  cast( '01' as ehhss_fsi_loc_assgmt_type ) AS SftyInstrnLocAssignmentType,
  _EHSLocation.EHSFunctionalLocation AS EHSFunctionalLocation,
  _EHSLocation.Equipment AS Equipment
FROM I_SafetyInstruction
-- UNION ALL with additional select branch(es): I_SafetyInstruction
;