oib_e_mardo1

DDL: OIB_DDL_MARDO1 SQL: OIB_V_MARDO1 Type: view

MARDO1 Compatibility View

oib_e_mardo1 is a CDS View that provides data about "MARDO1 Compatibility View" in SAP S/4HANA. It reads from 2 data sources (oib_e_mardo1_dif, mardo1) and exposes 21 fields with key fields mandt, matnr, werks, lgort, msehi.

Data Sources (2)

SourceAliasJoin Type
oib_e_mardo1_dif m left_outer
mardo1 t from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName OIB_V_MARDO1 view
EndUserText.label MARDO1 Compatibility View view
DataAging.noAgingRestriction false view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #AUTOMATED view
AbapCatalog.viewEnhancementCategory #PROJECTION_LIST view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY mandt mardo1 mandt Editing Client
KEY matnr mardo1 matnr Vehicle Model
KEY werks mardo1 werks Receiving Plant
KEY lgort mardo1 lgort Sublocation
KEY msehi mardo1 msehi Unit of measmnt
labst
umlme
insme
einme
speme
retme
vmlab
vmuml
vmins
vmein
vmspe
vmret
klabs
kinsm
keinm
kspem

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 oib_e_mardo1.
-- 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: OIB_V_MARDO1

CREATE VIEW oib_e_mardo1 AS
SELECT
  t.mandt AS mandt,
  t.matnr AS matnr,
  t.werks AS werks,
  t.lgort AS lgort,
  t.msehi AS msehi,
  case when m.labst is null then 0 else m.labst end AS labst,
  case when m.umlme is null then 0 else m.umlme end AS umlme,
  case when m.insme is null then 0 else m.insme end AS insme,
  case when m.einme is null then 0 else m.einme end AS einme,
  case when m.speme is null then 0 else m.speme end AS speme,
  case when m.retme is null then 0 else m.retme end AS retme,
  case when m.vmlab is null then 0 else m.vmlab end AS vmlab,
  case when m.vmuml is null then 0 else m.vmuml end AS vmuml,
  case when m.vmins is null then 0 else m.vmins end AS vmins,
  case when m.vmein is null then 0 else m.vmein end AS vmein,
  case when m.vmspe is null then 0 else m.vmspe end AS vmspe,
  case when m.vmret is null then 0 else m.vmret end AS vmret,
  case when m.klabs is null then 0 else m.klabs end AS klabs,
  case when m.kinsm is null then 0 else m.kinsm end AS kinsm,
  case when m.keinm is null then 0 else m.keinm end AS keinm,
  case when m.kspem is null then 0 else m.kspem end AS kspem
FROM mardo1 AS t
LEFT OUTER JOIN oib_e_mardo1_dif AS m ON /* join condition not captured in parsed metadata */
;