P_MatlSupDemdPeggingMessage
Message for Pegging Issues
P_MatlSupDemdPeggingMessage is a Composite CDS View that provides data about "Message for Pegging Issues" in SAP S/4HANA. It reads from 2 data sources (P_MatlSupplyDemandPegging, I_PeggingMessageBasic) and exposes 21 fields with key fields PeggingRoot, PeggingNode.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_MatlSupplyDemandPegging | _Pegging | from |
| I_PeggingMessageBasic | _Text | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Message for Pegging Issues | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PeggingRoot | P_MatlSupplyDemandPegging | PeggingRoot | |
| KEY | PeggingNode | P_MatlSupplyDemandPegging | PeggingNode | |
| PeggingRootItem | P_MatlSupplyDemandPegging | PeggingRootItem | ||
| AggregatedPeggingNode | P_MatlSupplyDemandPegging | AggregatedPeggingNode | ||
| Product | P_MatlSupplyDemandPegging | Product | Product Sold | |
| MRPPlant | P_MatlSupplyDemandPegging | MRPPlant | Plant | |
| MRPArea | P_MatlSupplyDemandPegging | MRPArea | MRP Area | |
| MRPPlanningSegmentType | P_MatlSupplyDemandPegging | MRPPlanningSegmentType | MRP segment | |
| MRPPlanningSegment | P_MatlSupplyDemandPegging | MRPPlanningSegment | Plng Segmnt No. | |
| SupplyMRPElementCategory | P_MatlSupplyDemandPegging | SupplyMRPElementCategory | ||
| SupplyMRPElement | P_MatlSupplyDemandPegging | SupplyMRPElement | ||
| SupplyMRPElementItem | P_MatlSupplyDemandPegging | SupplyMRPElementItem | ||
| MaterialBaseUnit | P_MatlSupplyDemandPegging | MaterialBaseUnit | Valuation Unit | |
| DynamicPeggingQuantity | P_MatlSupplyDemandPegging | DynamicPeggingQuantity | ||
| MRPElementMissingQuantity | P_MatlSupplyDemandPegging | MRPElementMissingQuantity | ||
| MaximumDelayInDays | P_MatlSupplyDemandPegging | MaximumDelayInDays | Max.DelayInDays | |
| IssueDate | P_MatlSupplyDemandPegging | IssueDate | Order End Date | |
| DemandMRPElementDate | P_MatlSupplyDemandPegging | DemandMRPElementDate | Reqmts date | |
| ExceptionMessageText | I_PeggingMessageBasic | ExceptionMessageText | Exceptn message | |
| PeggingMessage | I_PeggingMessageBasic | PeggingMessage | Key | |
| PeggingMessageSeverity | I_PeggingMessageBasic | PeggingMessageSeverity |
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_MatlSupDemdPeggingMessage.
-- 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_MatlSupDemdPeggingMessage AS
SELECT
_Pegging.PeggingRoot AS PeggingRoot,
_Pegging.PeggingNode AS PeggingNode,
_Pegging.PeggingRootItem AS PeggingRootItem,
_Pegging.AggregatedPeggingNode AS AggregatedPeggingNode,
_Pegging.Product AS Product,
_Pegging.MRPPlant AS MRPPlant,
_Pegging.MRPArea AS MRPArea,
_Pegging.MRPPlanningSegmentType AS MRPPlanningSegmentType,
_Pegging.MRPPlanningSegment AS MRPPlanningSegment,
_Pegging.SupplyMRPElementCategory AS SupplyMRPElementCategory,
_Pegging.SupplyMRPElement AS SupplyMRPElement,
_Pegging.SupplyMRPElementItem AS SupplyMRPElementItem,
_Pegging.MaterialBaseUnit AS MaterialBaseUnit,
_Pegging.DynamicPeggingQuantity AS DynamicPeggingQuantity,
_Pegging.MRPElementMissingQuantity AS MRPElementMissingQuantity,
_Pegging.MaximumDelayInDays AS MaximumDelayInDays,
_Pegging.IssueDate AS IssueDate,
_Pegging.DemandMRPElementDate AS DemandMRPElementDate,
_Text.ExceptionMessageText AS ExceptionMessageText,
_Text.PeggingMessage AS PeggingMessage,
_Text.PeggingMessageSeverity AS PeggingMessageSeverity
FROM P_MatlSupplyDemandPegging AS _Pegging
INNER JOIN I_PeggingMessageBasic AS _Text ON /* join condition not captured in parsed metadata */
;
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