oib_e_mardo1
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)
| Source | Alias | Join Type |
|---|---|---|
| oib_e_mardo1_dif | m | left_outer |
| mardo1 | t | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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