P_ChmlCompositionOverallStatus

DDL: P_CHMLCOMPOSITIONOVERALLSTATUS SQL: PCCMPSTNALLSTS Type: view COMPOSITE

P_ChmlCompositionOverallStatus is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ChmlCmpstnOverallStsCritlty) and exposes 3 fields with key field ChmlCmplncInfoUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_ChmlCmpstnOverallStsCritlty OverallStsCritlty from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmpstnOverallStatus _StatusText $projection.ChmlCompositionStatus = _StatusText.ChmlCmpstnOverallStatus -- Constants
[1..1] P_ChmlCmplConstants _Constants _Constants.Constant1 = _Constants.Constant1

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCCMPSTNALLSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCompositionStsCriticality ChmlCmpstnTotlStsCriticality
_StatusText _StatusText

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_ChmlCompositionOverallStatus.
-- 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: PCCMPSTNALLSTS

CREATE VIEW P_ChmlCompositionOverallStatus AS
SELECT
  ChmlCmplncInfoUUID,
  ChmlCmpstnTotlStsCriticality AS ChmlCompositionStsCriticality
FROM P_ChmlCmpstnOverallStsCritlty AS OverallStsCritlty
LEFT OUTER JOIN I_ChmlCmpstnOverallStatus AS _StatusText ON ChmlCompositionStatus = _StatusText.ChmlCmpstnOverallStatus  -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplConstants AS _Constants ON _Constants.Constant1 = _Constants.Constant1  -- association [1..1]
;