PPH_DD_MAT_CTRL_0
DD Materials
PPH_DD_MAT_CTRL_0 is a CDS View that provides data about "DD Materials" in SAP S/4HANA. It reads from 5 data sources (P_DDMATERIAL, mara, marc, mdlv, pph_dbvm) and exposes 39 fields with key fields matnr, werks, berid.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| P_DDMATERIAL | DDMat | inner |
| mara | mara | inner |
| marc | marc | inner |
| mdlv | mdlv | inner |
| pph_dbvm | pph_dbvm | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_PPH_DD_MAT_C0 | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | DD Materials | view |
Fields (39)
| 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 |
| berty | mdlv | berty | MRP Area Type | |
| loekz | mdma | loekz | Status | |
| marc_dismm | marc | dismm | MRP Type | |
| mdma_dismm | mdma | dismm | MRP Type | |
| mdma_eisbe | ||||
| marc_eisbe | ||||
| wzeit | marc | wzeit | Total RL time | |
| marc_dispo | marc | dispo | MRP Controller | |
| mdma_dispo | mdma | dispo | MRP Controller | |
| plifzx | mdma | plifzx | Consider PlDelTime | |
| mdma_plifz | mdma | plifz | Plnd Deliv.Time | |
| marc_plifz | marc | plifz | Plnd Deliv.Time | |
| beskz | marc | beskz | Procuremt Type | |
| dzeit | marc | dzeit | InhseProdTime | |
| meins | mara | meins | Valuation Unit | |
| mdma_sobsl | mdma | sobsl | SpecProcuremKey | |
| marc_sobsl | marc | sobsl | SpecProcuremKey | |
| matkl | mara | matkl | Product Sold Group | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| marc_mabst | marc | mabst | Max.Stock Level | |
| mdma_mabst | mdma | mabst | Max.Stock Level | |
| webaz | marc | webaz | GR Proc. Time | |
| miskz | marc | miskz | Mixed MRP | |
| mtart | mara | mtart | Product Type | |
| marc_ahdis | marc | ahdis | MRP Relevant | |
| mdma_ahdis | mdma | ahdis | MRP Relevant | |
| marc_shpro | marc | shpro | Time Profile | |
| mdma_shpro | mdma | shpro | Time Profile | |
| marc_shzet | marc | shzet | Safety Time | |
| mdma_shzet | mdma | shzet | Safety Time | |
| marc_shflg | marc | shflg | Safety Time Ind | |
| mdma_shflg | mdma | shflg | Safety Time Ind | |
| marc_disgr | marc | disgr | MRP Group | |
| mdma_disgr | mdma | disgr | MRP Group | |
| marc_minbe | ||||
| mdma_minbe |
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 PPH_DD_MAT_CTRL_0.
-- 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: V_PPH_DD_MAT_C0
CREATE VIEW PPH_DD_MAT_CTRL_0 AS
SELECT
pph_dbvm.matnr AS matnr,
pph_dbvm.werks AS werks,
pph_dbvm.berid AS berid,
mdlv.berty AS berty,
mdma.loekz AS loekz,
marc.dismm AS marc_dismm,
mdma.dismm AS mdma_dismm,
cast(mdma.eisbe as abap.dec( 13, 3)) AS mdma_eisbe,
cast(marc.eisbe as abap.dec( 13, 3)) AS marc_eisbe,
marc.wzeit AS wzeit,
marc.dispo AS marc_dispo,
mdma.dispo AS mdma_dispo,
mdma.plifzx AS plifzx,
mdma.plifz AS mdma_plifz,
marc.plifz AS marc_plifz,
marc.beskz AS beskz,
marc.dzeit AS dzeit,
mara.meins AS meins,
mdma.sobsl AS mdma_sobsl,
marc.sobsl AS marc_sobsl,
mara.matkl AS matkl,
mara.attyp AS attyp,
marc.mabst AS marc_mabst,
mdma.mabst AS mdma_mabst,
marc.webaz AS webaz,
marc.miskz AS miskz,
mara.mtart AS mtart,
marc.ahdis AS marc_ahdis,
mdma.ahdis AS mdma_ahdis,
marc.shpro AS marc_shpro,
mdma.shpro AS mdma_shpro,
marc.shzet AS marc_shzet,
mdma.shzet AS mdma_shzet,
marc.shflg AS marc_shflg,
mdma.shflg AS mdma_shflg,
marc.disgr AS marc_disgr,
mdma.disgr AS mdma_disgr,
cast(marc.minbe as abap.dec( 13, 3)) AS marc_minbe,
cast(mdma.minbe as abap.dec( 13, 3)) AS mdma_minbe
FROM pph_dbvm
INNER JOIN mara ON /* join condition not captured in parsed metadata */
INNER JOIN marc ON /* join condition not captured in parsed metadata */
INNER JOIN mdlv ON /* join condition not captured in parsed metadata */
INNER JOIN P_DDMATERIAL AS DDMat ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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