P_ChmlSuplrMatlData

DDL: P_CHMLSUPLRMATLDATA Type: view CONSUMPTION

Additional Data for Supplier Material

P_ChmlSuplrMatlData is a Consumption CDS View that provides data about "Additional Data for Supplier Material" in SAP S/4HANA. It reads from 1 data source (I_ChmlSuplrMatl) and exposes 10 fields. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlSuplrMatl SupplierMaterial from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfoActiveDraft _ActiveDraftCCI SuplrMatlAssignment.ChmlCmplncInfoUUID = _ActiveDraftCCI.ActiveChmlCmplncInfoUUID --Link to the criticality
[1..*] P_ChmlSuplrMatlSuplrStsCritlty _Criticality SuplrMatlAssignment.ChmlSuplrMatlSuplrSts = _Criticality.ChmlSuplrMatlSuplrSts --Count associated
[0..1] P_ChmlSuplrMatlComponentCntr _ComponentCount _ComponentCount.ChmlSuplrMatlUUID = $projection.ChmlSuplrMatlUUID --
[0..1] P_AssociatedAnlytlCmpstnRawMat _RawComposition $projection.ChmlCmplncInfoUUID = _RawComposition.ChmlCmplncInfoUUID --Text
[0..*] I_ChmlSuplrMatlSuplrStsT _SupplierStatusTxt $projection.ChmlSuplrMatlSuplrSts = _SupplierStatusTxt.ChmlSuplrMatlSuplrSts
[0..1] I_ChmlSuplrMatlCmpstnSts _CompositionStatusTxt $projection.ChmlSuplrMatlCmpstnSts = _CompositionStatusTxt.ChmlSuplrMatlCmpstnSts
[1..1] P_CChmlCmplConstants _Constants _Constants.Constant1 = _Constants.Constant1

Annotations (9)

NameValueLevelField
EndUserText.label Additional Data for Supplier Material view
AbapCatalog.sqlViewName PCSMMATLDATA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
ChmlSuplrMatlUUID
ChmlCmplncInfoUUID
ChmlCmplncInfoCombinedName
ChmlCmplncInfoCombinedID
ChmlCmpstnInProcStatus _RawComposition ChmlCmpstnInProcStatus
ChmlCmpstnReldStatus _RawComposition ChmlCmpstnReldStatus
ResponsibleUnit I_ChmlSuplrMatl ResponsibleUnit Responsible Unit
_ActiveDraftCCI _ActiveDraftCCI
_SupplierStatusTxt _SupplierStatusTxt
_CompositionStatusTxt _CompositionStatusTxt

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_ChmlSuplrMatlData.
-- 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_ChmlSuplrMatlData AS
SELECT
  _RawComposition.ChmlCmpstnInProcStatus AS ChmlCmpstnInProcStatus,
  _RawComposition.ChmlCmpstnReldStatus AS ChmlCmpstnReldStatus,
  SupplierMaterial.ResponsibleUnit AS ResponsibleUnit
FROM I_ChmlSuplrMatl AS SupplierMaterial
LEFT OUTER JOIN I_ChmlCmplncInfoActiveDraft AS _ActiveDraftCCI ON SuplrMatlAssignment.ChmlCmplncInfoUUID = _ActiveDraftCCI.ActiveChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN P_ChmlSuplrMatlSuplrStsCritlty AS _Criticality ON SuplrMatlAssignment.ChmlSuplrMatlSuplrSts = _Criticality.ChmlSuplrMatlSuplrSts  -- association [1..*]
LEFT OUTER JOIN P_ChmlSuplrMatlComponentCntr AS _ComponentCount ON _ComponentCount.ChmlSuplrMatlUUID = ChmlSuplrMatlUUID  -- association [0..1]
LEFT OUTER JOIN P_AssociatedAnlytlCmpstnRawMat AS _RawComposition ON ChmlCmplncInfoUUID = _RawComposition.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlSuplrMatlSuplrStsT AS _SupplierStatusTxt ON ChmlSuplrMatlSuplrSts = _SupplierStatusTxt.ChmlSuplrMatlSuplrSts  -- association [0..*]
LEFT OUTER JOIN I_ChmlSuplrMatlCmpstnSts AS _CompositionStatusTxt ON ChmlSuplrMatlCmpstnSts = _CompositionStatusTxt.ChmlSuplrMatlCmpstnSts  -- association [0..1]
LEFT OUTER JOIN P_CChmlCmplConstants AS _Constants ON _Constants.Constant1 = _Constants.Constant1  -- association [1..1]
;