P_RqdPrsnlProtectiveEquipAtLoc

DDL: P_RQDPRSNLPROTECTIVEEQUIPATLOC SQL: PPPEATLOC Type: view BASIC

P_RqdPrsnlProtectiveEquipAtLoc is a Basic CDS View in SAP S/4HANA. It reads from 6 data sources and exposes 8 fields with key field EHSControlInstanceUUID.

Data Sources (6)

SourceAliasJoin Type
ehfndd_ctrl_root EHSControlRoot inner
ehfndc_control EHSCtrlCatalog inner
ehfndd_ctrl_text EHSCtrlTitleTxt left_outer
ehhssd_rsk_ctrl EHSRiskControl from
ehhssd_rsk_rev EHSRiskRevision inner
ehhssd_rsk_root EHSRiskRoot inner

Annotations (10)

NameValueLevelField
VDM.private true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName PPPEATLOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY EHSControlInstanceUUID ehhssd_rsk_ctrl db_key UUID
EHSLocationUUID
EHSJobUUID
EHSRiskUUID
EHSControlCatalog ehfndd_ctrl_root catalog_code Control Catalog
EHSControlTitle ehfndd_ctrl_text text User Group
language ehfndd_ctrl_text language Report Text Language
EHSControlImplStatus

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_RqdPrsnlProtectiveEquipAtLoc.
-- 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: PPPEATLOC

CREATE VIEW P_RqdPrsnlProtectiveEquipAtLoc AS
SELECT
  EHSRiskControl.db_key AS EHSControlInstanceUUID,
  cast( EHSRiskRoot.loc_root_key_ref as ehfnd_location_uuid_ref preserving type ) AS EHSLocationUUID,
  cast( EHSRiskRoot.job_key_ref as ehhss_job_uuid_ref preserving type ) AS EHSJobUUID,
  cast( EHSRiskControl.root_key as ehhss_risk_key_ref preserving type ) AS EHSRiskUUID,
  EHSControlRoot.catalog_code AS EHSControlCatalog,
  EHSCtrlTitleTxt.text AS EHSControlTitle,
  EHSCtrlTitleTxt.language AS language,
  cast( EHSRiskControl.impl_status as ehhss_ctrl_impl_status_nc preserving type ) AS EHSControlImplStatus
FROM ehhssd_rsk_ctrl AS EHSRiskControl
INNER JOIN ehhssd_rsk_root AS EHSRiskRoot ON /* join condition not captured in parsed metadata */
INNER JOIN ehhssd_rsk_rev AS EHSRiskRevision ON /* join condition not captured in parsed metadata */
INNER JOIN ehfndd_ctrl_root AS EHSControlRoot ON /* join condition not captured in parsed metadata */
INNER JOIN ehfndc_control AS EHSCtrlCatalog ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ehfndd_ctrl_text AS EHSCtrlTitleTxt ON /* join condition not captured in parsed metadata */
;