UPOV_ME_MEDOC

DDL: UPO_INT_V_MEDOC SQL: UPOS_ME_MEDOC Type: view

Measurement document header (PRA)

UPOV_ME_MEDOC is a CDS View that provides data about "Measurement document header (PRA)" in SAP S/4HANA. It reads from 3 data sources (UPOV_MIGRATED_MEDOC, UPOV_ME_MEDOC_PRA, UPOV_ME_MEDOC_UOM) and exposes 35 fields.

Data Sources (3)

SourceAliasJoin Type
UPOV_MIGRATED_MEDOC Migrated left_outer
UPOV_ME_MEDOC_PRA nonMigrated from
UPOV_ME_MEDOC_UOM uomCreated union

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_ME_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 Measurement document header (PRA) view

Fields (35)

KeyFieldSource TableSource FieldDescription
docnr UPOV_ME_MEDOC_PRA docnr Well doc.no.
docyr UPOV_ME_MEDOC_PRA docyr Year
mecls UPOV_ME_MEDOC_PRA mecls Meas.Class
metyp UPOV_ME_MEDOC_PRA metyp UoM Load Cat.
objnr UPOV_ME_MEDOC_PRA objnr Val. Obj. No.
mesrc UPOV_ME_MEDOC_PRA mesrc Meas. Source
srcky UPOV_ME_MEDOC_PRA srcky Source Key
src_docnr UPOV_ME_MEDOC_PRA src_docnr Source Doc.
src_docyr UPOV_ME_MEDOC_PRA src_docyr Source Year
uomgr UPOV_ME_MEDOC_PRA uomgr UoM Group
umrsl UPOV_ME_MEDOC_PRA umrsl Conv. Group
meayr UPOV_ME_MEDOC_PRA meayr Year
meapd UPOV_ME_MEDOC_PRA meapd Msmt.Period
meats UPOV_ME_MEDOC_PRA meats Timestamp
xchng UPOV_ME_MEDOC_PRA xchng Changed
xdelt UPOV_ME_MEDOC_PRA xdelt Deletion Ind.
oiu_cruser UPOV_ME_MEDOC_PRA oiu_cruser Created By
DOCNR
DOCYR UPOV_ME_MEDOC_UOM DOCYR Year
MECLS UPOV_ME_MEDOC_UOM MECLS Meas.Class
METYP UPOV_ME_MEDOC_UOM METYP UoM Load Cat.
OBJNR UPOV_ME_MEDOC_UOM OBJNR Val. Obj. No.
MESRC UPOV_ME_MEDOC_UOM MESRC Meas. Source
SRCKY UPOV_ME_MEDOC_UOM SRCKY Source Key
SRC_DOCNR UPOV_ME_MEDOC_UOM SRC_DOCNR Source Doc.
SRC_DOCYR UPOV_ME_MEDOC_UOM SRC_DOCYR Source Year
UOMGR UPOV_ME_MEDOC_UOM UOMGR UoM Group
UMRSL UPOV_ME_MEDOC_UOM UMRSL Conv. Group
MEAYR UPOV_ME_MEDOC_UOM MEAYR Year
MEAPD UPOV_ME_MEDOC_UOM MEAPD Msmt.Period
MEATS UPOV_ME_MEDOC_UOM MEATS Timestamp
XCHNG UPOV_ME_MEDOC_UOM XCHNG Changed
XDELT UPOV_ME_MEDOC_UOM XDELT Deletion Ind.
OIU_CRUSER UPOV_ME_MEDOC_UOM OIU_CRUSER Created By
OIU_TIMESTAMP UPOV_ME_MEDOC_UOM OIU_TIMESTAMP 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 UPOV_ME_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_ME_MEDOC

CREATE VIEW UPOV_ME_MEDOC AS
SELECT
  nonMigrated.docnr AS docnr,
  nonMigrated.docyr AS docyr,
  nonMigrated.mecls AS mecls,
  nonMigrated.metyp AS metyp,
  nonMigrated.objnr AS objnr,
  nonMigrated.mesrc AS mesrc,
  nonMigrated.srcky AS srcky,
  nonMigrated.src_docnr AS src_docnr,
  nonMigrated.src_docyr AS src_docyr,
  nonMigrated.uomgr AS uomgr,
  nonMigrated.umrsl AS umrsl,
  nonMigrated.meayr AS meayr,
  nonMigrated.meapd AS meapd,
  nonMigrated.meats AS meats,
  nonMigrated.xchng AS xchng,
  nonMigrated.xdelt AS xdelt,
  nonMigrated.oiu_cruser AS oiu_cruser,
  uomCreated.OIU_TIMESTAMP AS OIU_TIMESTAMP
FROM UPOV_ME_MEDOC_PRA AS nonMigrated
LEFT OUTER JOIN UPOV_MIGRATED_MEDOC AS Migrated ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): UPOV_ME_MEDOC_UOM
;