Mbv_Ebew
Compatibility view for EBEW table
Mbv_Ebew is a CDS View that provides data about "Compatibility view for EBEW table" in SAP S/4HANA. It reads from 2 data sources (ebew, R_MatlPriceDataMigrationStatus) and exposes 74 fields with key fields mandt, matnr, bwkey, bwtar, sobkz.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ebew | ebew | from |
| R_MatlPriceDataMigrationStatus | tf | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | MBVEBEW | view | |
| EndUserText.label | Compatibility view for EBEW table | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | ebew | mandt | Editing Client |
| KEY | matnr | ebew | matnr | Vehicle Model |
| KEY | bwkey | ebew | bwkey | Valuation Area |
| KEY | bwtar | ebew | bwtar | Valuation Type |
| KEY | sobkz | ebew | sobkz | Special Stock |
| KEY | vbeln | ebew | vbeln | SD Sched. Agmt |
| KEY | posnr | ebew | posnr | WBS Element |
| lbkum | ||||
| salk3 | ||||
| vprsv | ebew | vprsv | Price control | |
| verpr | verpr | Moving price | ||
| stprs | ebew | stprs | Standard price | |
| peinh | ebew | peinh | Unit of measure | |
| bklas | bklas | Valuation Class | ||
| salkv | ||||
| vmkum | vmkum | Total stock PP | ||
| vmsal | vmsal | Total value PP | ||
| vmvpr | vmvpr | Price ctrl PP | ||
| vmver | vmver | MovAvgPrice PP | ||
| vmstp | vmstp | Std price PP | ||
| vmpei | vmpei | Price unit PP | ||
| vmbkl | vmbkl | Val. class PP | ||
| vmsav | vmsav | Value prev.per. | ||
| vjkum | vjkum | Total stock PY | ||
| vjsal | vjsal | Total value PY | ||
| vjvpr | vjvpr | Price ctrl PY | ||
| vjver | vjver | MovAvgPrice PY | ||
| vjstp | vjstp | Std price PY | ||
| vjpei | vjpei | Price unit PY | ||
| vjbkl | vjbkl | Val. class PY | ||
| vjsav | vjsav | Value prev.year | ||
| lfgja | lfgja | Year Cur.Period | ||
| lfmon | lfmon | Current Period | ||
| bwtty | bwtty | Valuation Cat. | ||
| stprv | stprv | Previous Price | ||
| laepr | laepr | Last Price Chg. | ||
| zkprs | zkprs | Future Price | ||
| zkdat | zkdat | Valid from | ||
| timestamp | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| zplpr | zplpr | Fut. Plnd Price | ||
| kalkz | kalkz | Fut. cost est. | ||
| kalkl | kalkl | CurrentCostEst. | ||
| kalkv | kalkv | PreviousCostEst | ||
| kaln1 | kaln1 | ProdCostEst.No. | ||
| bwva1 | bwva1 | Valuation Var. | ||
| bwva2 | bwva2 | Valuatn Variant | ||
| bwva3 | bwva3 | Valuation Var. | ||
| vers1 | vers1 | Late Completion | ||
| vers2 | vers2 | EarlyCompletion | ||
| vers3 | vers3 | Costing Version | ||
| hrkft | hrkft | Origin group order | ||
| kosgr | kosgr | Overhead Group | ||
| pprdz | pprdz | Posting Period | ||
| pprdl | pprdl | Current Period | ||
| pprdv | pprdv | Previous Period | ||
| pdatz | pdatz | Fut. FYyear | ||
| pdatl | pdatl | Curr. Fiscal Yr | ||
| pdatv | pdatv | Valid From | ||
| ekalr | ekalr | Cost Est. w/QS | ||
| vplpr | vplpr | Prev. Plnd Prc. | ||
| mlmaa | mlmaa | ML Act. | ||
| mlast | mlast | Price Determ. | ||
| lplpr | lplpr | Curr.Plnd Price | ||
| vksal | ||||
| hkmat | hkmat | Material origin | ||
| bwspa | bwspa | Val. Margin | ||
| lplpx | lplpx | Fix. Cur. Plnd Prc. | ||
| vplpx | vplpx | Fixed Prev. PlndPrc. | ||
| fplpx | fplpx | Fut. PlanPrice, Fxd | ||
| lbwst | lbwst | Curr. Valn Strat. | ||
| vbwst | vbwst | Prev. Valn Strat. | ||
| fbwst | fbwst | Fut. Valn Strat. | ||
| mbrue | mbrue | MBEWH rec. already exists for per. before last of MBEW per. | ||
| oklas | oklas | VC: Vendor |
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 Mbv_Ebew.
-- 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: MBVEBEW
CREATE VIEW Mbv_Ebew AS
SELECT
ebew.mandt AS mandt,
ebew.matnr AS matnr,
ebew.bwkey AS bwkey,
ebew.bwtar AS bwtar,
ebew.sobkz AS sobkz,
ebew.vbeln AS vbeln,
ebew.posnr AS posnr,
cast(COALESCE(ext.vmsl, 0) as lbkum) AS lbkum,
cast(COALESCE(ext.hsl, 0) as salk3) AS salk3,
ebew.vprsv AS vprsv,
verpr,
ebew.stprs AS stprs,
ebew.peinh AS peinh,
bklas,
cast(COALESCE(matprice.salkv, 0) as salkv) AS salkv,
vmkum,
vmsal,
vmvpr,
vmver,
vmstp,
vmpei,
vmbkl,
vmsav,
vjkum,
vjsal,
vjvpr,
vjver,
vjstp,
vjpei,
vjbkl,
vjsav,
lfgja,
lfmon,
bwtty,
stprv,
laepr,
zkprs,
zkdat,
timestamp,
zplpr,
kalkz,
kalkl,
kalkv,
kaln1,
bwva1,
bwva2,
bwva3,
vers1,
vers2,
vers3,
hrkft,
kosgr,
pprdz,
pprdl,
pprdv,
pdatz,
pdatl,
pdatv,
ekalr,
vplpr,
mlmaa,
mlast,
lplpr,
cast(COALESCE(ext.hvkwrt, 0) as vksal) AS vksal,
hkmat,
bwspa,
lplpx,
vplpx,
fplpx,
lbwst,
vbwst,
fbwst,
mbrue,
oklas
FROM ebew
INNER JOIN R_MatlPriceDataMigrationStatus AS tf 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