M_V_PHL_EKBE
CDS View for PO History Light
M_V_PHL_EKBE is a CDS View that provides data about "CDS View for PO History Light" in SAP S/4HANA. It reads from 3 data sources (ekbe, ekko, ekpo) and exposes 28 fields with key fields ebeln, ebelp, zekkn, vgabe.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CDS_M_PHL_EKBE | view | |
| EndUserText.label | CDS View for PO History Light | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ebeln | ekbe | ebeln | Source PurchDoc |
| KEY | ebelp | ekbe | ebelp | Item pur. doc. |
| KEY | zekkn | ekbe | zekkn | Account Assgmt No. |
| KEY | vgabe | ekbe | vgabe | Transact. Type |
| bedat | ekko | bedat | Start date | |
| meins | ekpo | meins | Valuation Unit | |
| pstyp | ekpo | pstyp | Item Category | |
| vrtkz | ekpo | vrtkz | Distribution | |
| bewtp | ekbe | bewtp | PO History Cat. | |
| menge | ekbe | menge | WarrCountValue | |
| dmbtr | ||||
| arewr | ekbe | arewr | Ord.GRIR.Val | |
| wesbs_a | ekbe | wesbs | GR Bl.St. OUn | |
| shkzg | ekbe | shkzg | Returns | |
| elikz | ekpo | elikz | Delivery Completion | |
| matnr | ekpo | matnr | Vehicle Model | |
| lifnr | ekko | lifnr | Vendor no. | |
| ekorg | ekko | ekorg | Purchasing Org. | |
| ekgrp | ekko | ekgrp | Sub. purchasing grp | |
| bstyp | ekko | bstyp | Source doc.cat. | |
| bsart | ekko | bsart | Stnd purch.ord. | |
| werks | ekpo | werks | Receiving Plant | |
| fplnr | ekpo | fplnr | Invoicing plan | |
| hswae | ekbe | hswae | Local currency | |
| rewrb | ekbe | rewrb | FC invoice amnt | |
| rtype | ||||
| kschl | ||||
| tbtkz |
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 M_V_PHL_EKBE.
-- 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: CDS_M_PHL_EKBE
CREATE VIEW M_V_PHL_EKBE AS
SELECT
ekbe.ebeln AS ebeln,
ekbe.ebelp AS ebelp,
ekbe.zekkn AS zekkn,
ekbe.vgabe AS vgabe,
ekko.bedat AS bedat,
ekpo.meins AS meins,
ekpo.pstyp AS pstyp,
ekpo.vrtkz AS vrtkz,
ekbe.bewtp AS bewtp,
ekbe.menge AS menge,
cast (ekbe.dmbtr as abap.curr( 19,2)) AS dmbtr,
ekbe.arewr AS arewr,
ekbe.wesbs AS wesbs_a,
ekbe.shkzg AS shkzg,
ekpo.elikz AS elikz,
ekpo.matnr AS matnr,
ekko.lifnr AS lifnr,
ekko.ekorg AS ekorg,
ekko.ekgrp AS ekgrp,
ekko.bstyp AS bstyp,
ekko.bsart AS bsart,
ekpo.werks AS werks,
ekpo.fplnr AS fplnr,
ekbe.hswae AS hswae,
ekbe.rewrb AS rewrb,
cast('EKBE' as abap.char(10)) AS rtype,
cast( ' ' as abap.char( 4)) AS kschl,
cast( ' ' as abap.char(1)) AS tbtkz
FROM ekbe
INNER JOIN ekpo ON /* join condition not captured in parsed metadata */
INNER JOIN ekko 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