P_ChmlSuplrMatlData
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlSuplrMatl | SupplierMaterial | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA