Pph_Ddl_Mkal
Production Version as Source of Supply
Pph_Ddl_Mkal is a CDS View that provides data about "Production Version as Source of Supply" in SAP S/4HANA. It reads from 9 data sources and exposes 32 fields with key fields matnr, werks, verid, berid, werks.
Data Sources (9)
| Source | Alias | Join Type |
|---|---|---|
| P_MatlMRPArea | mb | inner |
| P_MatlMRPAreaStorLoc | mbl | inner |
| mkal | mkal | from |
| needed | needed | inner |
| needed | needed | inner |
| MDCV_E_T399D | t399d | inner |
| MDCV_E_T399D | t399d | inner |
| tcs41 | tcs41 | inner |
| tcs41 | tcs41 | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_PPH_MKAL | view | |
| EndUserText.label | Production Version as Source of Supply | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientDependent | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | matnr | mkal | matnr | Vehicle Model |
| KEY | werks | mkal | werks | Receiving Plant |
| KEY | verid | mkal | verid | Version ID |
| KEY | berid | P_MatlMRPArea | MRPArea | MRP Area |
| adatu | mkal | adatu | Valid From | |
| bstmi | mkal | bstmi | Min. Lot Size | |
| text1 | mkal | text1 | Vertikalization Text | |
| plnty | mkal | plnty | Task List Type | |
| plnnr | mkal | plnnr | Task List Group | |
| alnal | mkal | alnal | Group counter | |
| stlal | mkal | stlal | AlternativeBOM | |
| stlan | mkal | stlan | Usage | |
| serkz | mkal | serkz | REM Allowed | |
| alort | mkal | alort | Receiving SLoc | |
| elpro | mkal | elpro | Issue stor.loc. | |
| prvbe | mkal | prvbe | Supply Area | |
| matnr | Vehicle Model | |||
| KEY | werks | mkal | werks | Receiving Plant |
| KEY | verid | mkal | verid | Version ID |
| KEY | berid | P_MatlMRPAreaStorLoc | MRPArea | MRP Area |
| adatu | mkal | adatu | Valid From | |
| bstmi | mkal | bstmi | Min. Lot Size | |
| text1 | mkal | text1 | Vertikalization Text | |
| plnty | mkal | plnty | Task List Type | |
| plnnr | mkal | plnnr | Task List Group | |
| alnal | mkal | alnal | Group counter | |
| stlal | mkal | stlal | AlternativeBOM | |
| stlan | mkal | stlan | Usage | |
| serkz | mkal | serkz | REM Allowed | |
| alort | mkal | alort | Receiving SLoc | |
| elpro | mkal | elpro | Issue stor.loc. | |
| prvbe | mkal | prvbe | Supply Area |
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_Ddl_Mkal.
-- 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_MKAL
CREATE VIEW Pph_Ddl_Mkal AS
SELECT
mkal.matnr AS matnr,
mkal.werks AS werks,
mkal.verid AS verid,
mb.MRPArea AS berid,
mkal.adatu AS adatu,
mkal.bstmi AS bstmi,
mkal.text1 AS text1,
mkal.plnty AS plnty,
mkal.plnnr AS plnnr,
mkal.alnal AS alnal,
mkal.stlal AS stlal,
mkal.stlan AS stlan,
mkal.serkz AS serkz,
mkal.alort AS alort,
mkal.elpro AS elpro,
mkal.prvbe AS prvbe
FROM mkal
INNER JOIN MDCV_E_T399D AS t399d ON /* join condition not captured in parsed metadata */
INNER JOIN tcs41 ON /* join condition not captured in parsed metadata */
INNER JOIN needed ON /* join condition not captured in parsed metadata */
INNER JOIN P_MatlMRPArea AS mb ON /* join condition not captured in parsed metadata */
INNER JOIN P_MatlMRPAreaStorLoc AS mbl 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