I_PRAWellMsmtDocumentItem
PRA Well Measurement Document Item
I_PRAWellMsmtDocumentItem is a Basic CDS View that provides data about "PRA Well Measurement Document Item" in SAP S/4HANA. It reads from 2 data sources (oiu_me_medoc, oiu_me_medoc_it) and exposes 17 fields with key fields Well, PRAMeasurementDocumentNumber, MeasurementDocYear, MeasurementReadingIdentifier.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| oiu_me_medoc | oiu_me_medoc | inner |
| oiu_me_medoc_it | oiu_me_medoc_it | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | PRA Well Measurement Document Item | view | |
| ObjectModel.sapObjectNodeType.name | PRAMeasurementDocumentItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Well | _Well | Well | Well |
| KEY | PRAMeasurementDocumentNumber | oiu_me_medoc_it | docnr | Well doc.no. |
| KEY | MeasurementDocYear | oiu_me_medoc_it | docyr | Year |
| KEY | MeasurementReadingIdentifier | oiu_me_medoc_it | rdgid | Meas.Reading ID |
| PRAReadingType | oiu_me_medoc_it | retyp | Read.Type | |
| PRAReadingTypeFormat | oiu_me_medoc_it | refmt | Fmt | |
| PRAMeasurementReadingTxt | oiu_me_medoc_it | merdg | Reading | |
| MeasurementReadingUnit | oiu_me_medoc_it | runit | Unit/Area | |
| PRAIsObservedValueFlag | oiu_me_medoc_it | xvobs | Obs | |
| PRANullValueFlag | oiu_me_medoc_it | xnval | N.Val | |
| PRAMeasurementRdngIsHidnFlag | oiu_me_medoc_it | xhide | Hide | |
| PRAReadingDisplayFormat | oiu_me_medoc_it | rdfmt | Format | |
| PRAReadingDisplayLengthTxt | ||||
| PRAReadingDisplayDecimals | oiu_me_medoc_it | rddec | Dec | |
| PRASourceDocumentNumber | oiu_me_medoc | src_docnr | Source Doc. | |
| PRASourceDocumentYear | oiu_me_medoc | src_docyr | Source Year | |
| _Well | _Well |
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 I_PRAWellMsmtDocumentItem.
-- 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.
CREATE VIEW I_PRAWellMsmtDocumentItem AS
SELECT
_Well.Well AS Well,
oiu_me_medoc_it.docnr AS PRAMeasurementDocumentNumber,
oiu_me_medoc_it.docyr AS MeasurementDocYear,
oiu_me_medoc_it.rdgid AS MeasurementReadingIdentifier,
oiu_me_medoc_it.retyp AS PRAReadingType,
oiu_me_medoc_it.refmt AS PRAReadingTypeFormat,
oiu_me_medoc_it.merdg AS PRAMeasurementReadingTxt,
oiu_me_medoc_it.runit AS MeasurementReadingUnit,
oiu_me_medoc_it.xvobs AS PRAIsObservedValueFlag,
oiu_me_medoc_it.xnval AS PRANullValueFlag,
oiu_me_medoc_it.xhide AS PRAMeasurementRdngIsHidnFlag,
oiu_me_medoc_it.rdfmt AS PRAReadingDisplayFormat,
cast( oiu_me_medoc_it.rdlen as char3 ) AS PRAReadingDisplayLengthTxt,
oiu_me_medoc_it.rddec AS PRAReadingDisplayDecimals,
oiu_me_medoc.src_docnr AS PRASourceDocumentNumber,
oiu_me_medoc.src_docyr AS PRASourceDocumentYear
FROM oiu_me_medoc_it
INNER JOIN oiu_me_medoc ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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