V_WB2_MKPF_MSEG_2
Business Volume from Goods Receipt -EKKN
V_WB2_MKPF_MSEG_2 is a CDS View that provides data about "Business Volume from Goods Receipt -EKKN" in SAP S/4HANA. It reads from 3 data sources (ekko, ekpo, nsdm_e_mseg) and exposes 40 fields with key fields mblnr, mjahr, zeile, zekkn.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ekko | ekko | inner |
| ekpo | ekpo | inner |
| nsdm_e_mseg | mseg | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VWB2_MKPF_MSEG_2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Business Volume from Goods Receipt -EKKN | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mblnr | nsdm_e_mseg | mblnr | Material Doc. |
| KEY | mjahr | nsdm_e_mseg | mjahr | Mat. Doc. Year |
| KEY | zeile | nsdm_e_mseg | zeile | Mat. Doc.Item |
| KEY | zekkn | nsdm_e_mseg | zekkn | Account Assgmt No. |
| lifnr | nsdm_e_mseg | lifnr | Vendor no. | |
| budat | nsdm_e_mseg | budat_mkpf | ||
| waers | ekko | waers | Transaction Currency | |
| bukrs | nsdm_e_mseg | bukrs | Value | |
| ekorg | ekko | ekorg | Purchasing Org. | |
| ekgrp | ekko | ekgrp | Sub. purchasing grp | |
| llief | ekko | llief | Goods Supplier | |
| bsart | ekko | bsart | Stnd purch.ord. | |
| stceg | ekko | stceg | VAT Reg. No. | |
| stceg_l | ekko | stceg_l | Tax Dest. Cty/R | |
| matkl | ekpo | matkl | Product Sold Group | |
| ekkol | ekpo | ekkol | Condition Group | |
| werks | nsdm_e_mseg | werks | Receiving Plant | |
| matnr | nsdm_e_mseg | matnr | Vehicle Model | |
| shkzg | nsdm_e_mseg | shkzg | Returns | |
| meins | nsdm_e_mseg | meins | Valuation Unit | |
| bstme | nsdm_e_mseg | bstme | Unit.Order | |
| erfme | nsdm_e_mseg | erfme | Unit of Entry | |
| gewei | ekpo | gewei | Weight Unit | |
| voleh | ekpo | voleh | Volume Unit | |
| punei | ekpo | punei | Points Unit | |
| mwskz | ekpo | mwskz | Tax Code | |
| txjcd | ekpo | txjcd | Tax Jurisdict. | |
| aktnr | ekpo | aktnr | Promotion | |
| gsber | ||||
| prctr | ||||
| txdat_from | ekpo | txdat_from | Tax Rate Valid-From | |
| satnr | ekpo | satnr | Cross-plant CM | |
| mtart | ekpo | mtart | Product Type | |
| ps_psp_pnr | nsdm_e_mseg | ps_psp_pnr | WBS Element | |
| bupla | t001w | j_1bbranch | Business Place | |
| tax_country | ekpo | tax_country | Tax Ctry/Rgn | |
| ltsnr | ekpo | ltsnr | Suppl. Subrange | |
| knttp | ekpo | knttp | AcctAssgnCat:CC | |
| kzbws | ekpo | kzbws | Valuation | |
| sobkz | ekpo | sobkz | Special Stock |
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 V_WB2_MKPF_MSEG_2.
-- 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: VWB2_MKPF_MSEG_2
CREATE VIEW V_WB2_MKPF_MSEG_2 AS
SELECT
mseg.mblnr AS mblnr,
mseg.mjahr AS mjahr,
mseg.zeile AS zeile,
mseg.zekkn AS zekkn,
mseg.lifnr AS lifnr,
mseg.budat_mkpf AS budat,
ekko.waers AS waers,
mseg.bukrs AS bukrs,
ekko.ekorg AS ekorg,
ekko.ekgrp AS ekgrp,
ekko.llief AS llief,
ekko.bsart AS bsart,
ekko.stceg AS stceg,
ekko.stceg_l AS stceg_l,
ekpo.matkl AS matkl,
ekpo.ekkol AS ekkol,
mseg.werks AS werks,
mseg.matnr AS matnr,
mseg.shkzg AS shkzg,
mseg.meins AS meins,
mseg.bstme AS bstme,
mseg.erfme AS erfme,
ekpo.gewei AS gewei,
ekpo.voleh AS voleh,
ekpo.punei AS punei,
ekpo.mwskz AS mwskz,
ekpo.txjcd AS txjcd,
ekpo.aktnr AS aktnr,
cast( mseg.pargb as gsber preserving type ) AS gsber,
cast( mseg.pprctr as prctr preserving type ) AS prctr,
ekpo.txdat_from AS txdat_from,
ekpo.satnr AS satnr,
ekpo.mtart AS mtart,
mseg.ps_psp_pnr AS ps_psp_pnr,
t001w.j_1bbranch AS bupla,
ekpo.tax_country AS tax_country,
ekpo.ltsnr AS ltsnr,
ekpo.knttp AS knttp,
ekpo.kzbws AS kzbws,
ekpo.sobkz AS sobkz
FROM nsdm_e_mseg AS mseg
INNER JOIN ekko ON /* join condition not captured in parsed metadata */
INNER JOIN ekpo 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