UPOV_MIGRATED_MEDOC
Migrated MEDOC records
UPOV_MIGRATED_MEDOC is a CDS View that provides data about "Migrated MEDOC records" in SAP S/4HANA. It reads from 9 data sources and exposes 14 fields.
Data Sources (9)
| Source | Alias | Join Type |
|---|---|---|
| UPOV_ME_MEDOC_PRA | medoc | inner |
| UPOV_ME_MEDOC_PRA | medoc | inner |
| UPOV_ME_MEDOC_PRA | medoc | inner |
| UPOV_PR_MPVL_PRA | migrated_data | from |
| UPOV_PR_WCTST_PRA | migrated_data | union |
| UPOV_PRA_WCDPS | migrated_data | union |
| UPOV_MIGRATED_MP | migrated_mp | inner |
| UPOV_MIGRATED_WC | migrated_wc | inner |
| UPOV_MIGRATED_WC | migrated_wc | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | UPOS_MIG_MEDOC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Migrated MEDOC records | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| src_docnr | UPOV_PRA_WCDPS | mpvl_no | Document no | |
| test_dt | ||||
| UTC | ||||
| client | ||||
| test_dt | ||||
| UTC | ||||
| client | ||||
| eff_from_ts | ||||
| UTC | ||||
| client | ||||
| eff_from_ts | ||||
| UTC | ||||
| client | ||||
| src_docyr | UPOV_PRA_WCDPS | doc_year | Mat. Doc. Year |
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 UPOV_MIGRATED_MEDOC.
-- 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: UPOS_MIG_MEDOC
CREATE VIEW UPOV_MIGRATED_MEDOC AS
SELECT
migrated_data.mpvl_no AS src_docnr,
migrated_data.mpvl_year as src_docyr AS test_dt,
'UTC' AS UTC,
$session.client AS client,
migrated_data.doc_year as src_docyr AS eff_from_ts,
migrated_data.doc_year AS src_docyr
FROM UPOV_PR_MPVL_PRA AS migrated_data
INNER JOIN UPOV_ME_MEDOC_PRA AS medoc ON /* join condition not captured in parsed metadata */
INNER JOIN UPOV_MIGRATED_MP AS migrated_mp ON /* join condition not captured in parsed metadata */
INNER JOIN UPOV_MIGRATED_WC AS migrated_wc ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): UPOV_PR_WCTST_PRA, UPOV_PRA_WCDPS
;
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