P_PPH_MRP_MAT
P_PPH_MRP_MAT is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (pph_dbvm, pph_mrp_issues, pphdbvmset) and exposes 12 fields with key fields matnr, werks, berid.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| pph_dbvm | d | from |
| pph_mrp_issues | i | left_outer |
| pphdbvmset | s | left_outer |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_PPH_MRP_MAT_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | matnr | pph_dbvm | matnr | Vehicle Model |
| KEY | werks | pph_dbvm | werks | Receiving Plant |
| KEY | berid | pph_dbvm | berid | Single-Character Flag |
| log_uuid | pph_mrp_issues | log_uuid | UUID | |
| MRP_timestamp | pph_dbvm | dstmp | MRP Timestamp | |
| msgid | ||||
| msgtyIasmsgty | ||||
| msgv1 | pph_mrp_issues | msgv1 | Message variable 1 | |
| msgv2 | pph_mrp_issues | msgv2 | Message variable 2 | |
| msgv3 | pph_mrp_issues | msgv3 | Message variable 3 | |
| msgv4 | pph_mrp_issues | msgv4 | Message variable 4 | |
| plan_in_abap | pphdbvmset | plan_in_abap | Plan in Classic MRP |
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_PPH_MRP_MAT.
-- 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: P_PPH_MRP_MAT_V
CREATE VIEW P_PPH_MRP_MAT AS
SELECT
d.matnr AS matnr,
d.werks AS werks,
d.berid AS berid,
i.log_uuid AS log_uuid,
d.dstmp AS MRP_timestamp,
coalesce(i.msgid,'PPH_MRP') AS msgid,
i.msgv1 AS msgv1,
i.msgv2 AS msgv2,
i.msgv3 AS msgv3,
i.msgv4 AS msgv4,
s.plan_in_abap AS plan_in_abap
FROM pph_dbvm AS d
LEFT OUTER JOIN pphdbvmset AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN pph_mrp_issues AS i 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