P_EHSRiskLevelPrio2

DDL: P_EHSRISKLEVELPRIO2 SQL: PEHSRSKLVLP2 Type: view COMPOSITE

P_EHSRiskLevelPrio2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_EHSRiskLevelPrio2Score, I_EHSRiskLevel) and exposes 3 fields with key field EHSRiskLevel.

Data Sources (2)

SourceAliasJoin Type
P_EHSRiskLevelPrio2Score _EHSHighestRiskLevelScore inner
I_EHSRiskLevel I_EHSRiskLevel from

Annotations (11)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey EHSRiskLevel view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PEHSRSKLVLP2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskLevel I_EHSRiskLevel EHSRiskLevel Risk Level
LinkFlagIsOne 1
_Text _Text

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_EHSRiskLevelPrio2.
-- 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: PEHSRSKLVLP2

CREATE VIEW P_EHSRiskLevelPrio2 AS
SELECT
  I_EHSRiskLevel.EHSRiskLevel AS EHSRiskLevel,
  1 AS LinkFlagIsOne
FROM I_EHSRiskLevel
INNER JOIN P_EHSRiskLevelPrio2Score AS _EHSHighestRiskLevelScore ON /* join condition not captured in parsed metadata */
;