MDCV_E_DBVM

DDL: MDCV_DDL_DBVM SQL: MDCV_V_DBVM Type: view

Compatibility View for DBVM

MDCV_E_DBVM is a CDS View that provides data about "Compatibility View for DBVM" in SAP S/4HANA. It reads from 6 data sources and exposes 15 fields.

Data Sources (6)

SourceAliasJoin Type
t438a disp_berid left_outer
t438a disp_plant left_outer
mara mara inner
marc marc inner
mdma mdma left_outer
pph_dbvm pph_dbvm from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName MDCV_V_DBVM view
EndUserText.label Compatibility View for DBVM view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #AUTOMATED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (15)

KeyFieldSource TableSource FieldDescription
mandt pph_dbvm mandt Editing Client
mafid
BisMRP
DistPhantom
doweneedthis
matnr pph_dbvm matnr Vehicle Model
berid pph_dbvm berid Single-Character Flag
gsaen pph_dbvm gsaen Net Change Plng
akken
AKKENnolongersupported
resdt
erdat pph_dbvm erdat Entered On
resal pph_dbvm resal Re-explode BOM
rhytd pph_dbvm rhytd Planning date
dstmp pph_dbvm dstmp MRP Timestamp

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 MDCV_E_DBVM.
-- 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: MDCV_V_DBVM

CREATE VIEW MDCV_E_DBVM AS
SELECT
  pph_dbvm.mandt AS mandt,
  cast('B' as mafid preserving type) AS mafid,
  D ist Phantom AS DistPhantom,
  do we need this AS doweneedthis,
  pph_dbvm.matnr AS matnr,
  pph_dbvm.berid AS berid,
  pph_dbvm.gsaen AS gsaen,
  cast(pph_dbvm.gsaen as akken preserving type) AS akken,
  use GSAEN instead pph_dbvm.resdt AS resdt,
  pph_dbvm.erdat AS erdat,
  pph_dbvm.resal AS resal,
  pph_dbvm.rhytd AS rhytd,
  pph_dbvm.dstmp AS dstmp
FROM pph_dbvm
INNER JOIN mara ON /* join condition not captured in parsed metadata */
INNER JOIN marc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mdma ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t438a AS disp_plant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t438a AS disp_berid ON /* join condition not captured in parsed metadata */
;