P_AssociatedMatlCmpstnProdVw

DDL: P_ASSOCIATEDMATLCMPSTNPRODVW Type: view CONSUMPTION

Assoc. Matl-based Comp. for Unpack. Prod. with Action Text

P_AssociatedMatlCmpstnProdVw is a Consumption CDS View that provides data about "Assoc. Matl-based Comp. for Unpack. Prod. with Action Text" in SAP S/4HANA. It reads from 1 data source (P_AssociatedMatlCmpstnProd) and exposes 9 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_AssociatedMatlCmpstnProd MaterialBasedComposition from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ChmlCompositionStsActnText _StatusInProcessDetailText $projection.ChmlCmpstnInProcStatus = _StatusInProcessDetailText.ChmlCompositionStatus
[0..*] I_ChmlCompositionStsActnText _StatusReleasedDetailText $projection.ChmlCmpstnReldStatus = _StatusReleasedDetailText.ChmlCompositionStatus

Annotations (7)

NameValueLevelField
EndUserText.label Assoc. Matl-based Comp. for Unpack. Prod. with Action Text view
AbapCatalog.sqlViewName PAMBCMPSUPAT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
ChmlCmplncInfoUUID
ChmlCompositionInProcessUUID
ChmlCmpstnInProcStatus
ChmlCmpstnInProcIsActiveEntity
ChmlCompositionReleasedUUID
ChmlCmpstnReldStatus
ChmlCmpstnReldIsActiveEntity
_StatusInProcessDetailText _StatusInProcessDetailText
_StatusReleasedDetailText _StatusReleasedDetailText

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_AssociatedMatlCmpstnProdVw.
-- 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_AssociatedMatlCmpstnProdVw AS
SELECT *  -- field list not available in parsed metadata
FROM P_AssociatedMatlCmpstnProd AS MaterialBasedComposition
LEFT OUTER JOIN I_ChmlCompositionStsActnText AS _StatusInProcessDetailText ON ChmlCmpstnInProcStatus = _StatusInProcessDetailText.ChmlCompositionStatus  -- association [0..*]
LEFT OUTER JOIN I_ChmlCompositionStsActnText AS _StatusReleasedDetailText ON ChmlCmpstnReldStatus = _StatusReleasedDetailText.ChmlCompositionStatus  -- association [0..*]
;