PPH_E_MDRELA_1
PPH_E_MDRELA_1 is a CDS View in SAP S/4HANA. It reads from 3 data sources (ekes, ekpo, ekub) and exposes 28 fields.
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_PPH_MDRELA_1 | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matnr | ekpo | matnr | Vehicle Model | |
| werks | ekub | reswk | Supplying Plant | |
| dat00 | ekes | eindt | Initial Entry | |
| sort1 | ||||
| sort2 | ||||
| delkz | ||||
| vrfkz | ||||
| plumi | ||||
| menge01 | ||||
| umren | umren | Denominator | ||
| umrez | umrez | Numerator | ||
| dat01 | ekes | eindt | Initial Entry | |
| beskz | ||||
| wrk02 | ekpo | werks | Receiving Plant | |
| lgort | ekpo | lgort | Sublocation | |
| DELNR | ekub | ebeln | Source PurchDoc | |
| delps | ||||
| delet | ekes | etens | Sequential No. | |
| revlv | ekpo | revlv | Revision Level | |
| knttp | ||||
| arsnr | ekpo | arsnr | Settle.reser.No | |
| arsps | ekpo | arsps | Settle.item no. | |
| reslo | ekpo | reslo | Iss. Stor. Loc. | |
| mdrela_aktnr | ekpo | aktnr | Promotion | |
| mdrela_insmk | spe_insmk_src | Source Stock Type | ||
| knttp_db | knttp | AcctAssgnCat:CC | ||
| kzvbr_db | kzvbr | Consumption | ||
| kzbws_db | kzbws | Valuation |
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_E_MDRELA_1.
-- 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_MDRELA_1
CREATE VIEW PPH_E_MDRELA_1 AS
SELECT
ekpo.matnr AS matnr,
ekub.reswk AS werks,
ekes.eindt AS dat00,
'1' AS sort1,
'04' AS sort2,
'LR' AS delkz,
'' AS vrfkz,
'+' AS plumi,
ekes.menge - dabmg AS menge01,
umren,
umrez,
ekes.eindt AS dat01,
'F' AS beskz,
ekpo.werks AS wrk02,
ekpo.lgort AS lgort,
ekub.ebeln AS DELNR,
cast(rpad(ekub.ebelp,6,' ') as pph_delps) AS delps,
ekes.etens AS delet,
ekpo.revlv AS revlv,
case when sobkz = '' then '' else knttp end AS knttp,
ekpo.arsnr AS arsnr,
ekpo.arsps AS arsps,
ekpo.reslo AS reslo,
ekpo.aktnr AS mdrela_aktnr,
spe_insmk_src AS mdrela_insmk,
knttp AS knttp_db,
kzvbr AS kzvbr_db,
kzbws AS kzbws_db
FROM ekub
INNER JOIN ekpo ON /* join condition not captured in parsed metadata */
INNER JOIN ekes 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