I_MeasurementPointVolume
Measurement Point Volume
I_MeasurementPointVolume (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
ProductionRevenueAccountingMeasurementPointVolumes · Cross Applications
I_MeasurementPointVolume is a Basic CDS View (Cube) that provides data about "Measurement Point Volume" in SAP S/4HANA. It reads from 1 data source (oiu_pr_mpvl) and exposes 72 fields with key fields MeasurementPtVolDocYear, MeasurementPtVolumeDoc. It has 24 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Capabilities | Data Source in SQL Select, Data Provider for Analytical Queries, Data Source for Data Extraction, Data Source for Defining CDS Entities |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_pr_mpvl | oiu_pr_mpvl | from |
Associations (24)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CalendarYear | _DocYear | $projection.MeasurementPtVolDocYear = _DocYear.CalendarYear |
| [0..1] | I_MeasurementPoint | _MeasurementPoint | $projection.MeasurementPoint = _MeasurementPoint.MeasurementPoint |
| [0..1] | I_VolumeType | _VolumeType | $projection.VolumeType = _VolumeType.VolumeType |
| [0..1] | I_VolumeClass | _VolumeClass | $projection.VolumeClass = _VolumeClass.VolumeClass |
| [0..1] | I_VolumeSource | _VolumeSource | $projection.VolumeSource = _VolumeSource.VolumeSource |
| [0..1] | I_Customer | _Transporter | $projection.Transporter = _Transporter.Customer |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_AllocationFrequencyCode | _AllocationFrequencyCode | $projection.AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency |
| [0..1] | I_DeliveryNetwork | _DeliveryNetwork | $projection.DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork |
| [0..1] | I_PRAContract | _PRAContract | $projection.PRAContract = _PRAContract.PRAContract |
| [0..1] | I_ConversionGroup | _ConversionGroup | $projection.ConversionGroup = _ConversionGroup.ConversionGroup |
| [0..1] | I_MeasurementPoint | _TankBatteryMeasurementPt | $projection.TankBatteryMeasurementPt = _TankBatteryMeasurementPt.MeasurementPoint |
| [0..1] | I_VolumeCategory | _VolumeCategory | $projection.VolumeCategory = _VolumeCategory.VolumeCategory |
| [0..1] | I_DeliveryNetwork | _LoadOilDeliveryNetwork | $projection.LoadOilDeliveryNetwork = _LoadOilDeliveryNetwork.DeliveryNetwork |
| [0..1] | I_Well | _LoadOilWell | $projection.LoadOilWell = _LoadOilWell.Well |
| [0..1] | I_WellCompletion | _LoadOilWellCompletion | $projection.LoadOilWell = _LoadOilWellCompletion.Well and $projection.LoadOilWellCompletion = _LoadOilWellCompletion.WellCompletion |
| [0..1] | I_MeasurementPoint | _LoadOilMeasurementPoint | $projection.LoadOilMeasurementPoint = _LoadOilMeasurementPoint.MeasurementPoint |
| [0..1] | I_MeasurementPoint | _OriginatingMeasurementPt | $projection.OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint |
| [0..1] | I_DensityType | _DensityType | $projection.DensityType = _DensityType.DensityType |
| [0..1] | I_UnitOfMeasure | _StandardVolUnit | $projection.StandardVolUnit = _StandardVolUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EnergyUnit | $projection.EnergyUnit = _EnergyUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _HeatingValUnit | $projection.HeatingValUnit = _HeatingValUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _StandardDensityUnit | $projection.StandardDensityUnit = _StandardDensityUnit.UnitOfMeasure |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Measurement Point Volume | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IPVMPVL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | PRAMeasurementPointVolumes | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MeasurementPtVolDocYear | mpvl_year | Measurement point document year | |
| KEY | MeasurementPtVolumeDoc | mpvl_no | MP volume Number | |
| MeasurementPoint | mp_no | Measurement point number | ||
| VolumeType | vt_cd | Volume Type Code | ||
| VolumeClass | vc_cd | Volume class code | ||
| Transporter | trnsp_no | Transporter number | ||
| TransporterReference | trnsp_ref_no | Transporter Reference Number | ||
| Material | matnr | Material Number | ||
| AllocationFrequency | freq_cd | Frequency | ||
| DeliveryNetwork | dn_no | Delivery network number | ||
| PRAContract | ct_no | Contract Number | ||
| TicketNumber | tkt_no | Ticket Number | ||
| TicketDateTime | tkt_timestamp | Ticket timestamp | ||
| ProductionDate | prd_dt | Production Date | ||
| VolumeEntryDateTime | ent_timestamp | Entry timestamp | ||
| EffectiveValidityStartDate | eff_from_dt | Effective From Date | ||
| EffectiveValidityEndDate | eff_to_dt | Effective To Date | ||
| MeterStartDateTime | meter_start | Meter start time | ||
| MeterStopDateTime | meter_stop | Meter stop time | ||
| ConversionGroup | conv_grp | Conversion Group (Oil, Natural Gas,..) | ||
| TankBatteryMeasurementPt | tkbtry_mp_no | Tank battery measurement point number | ||
| VolumeSource | vs_cd | Volume Source Code | ||
| VolumeCategory | vl_cat_cd | Volume Category Code | ||
| LoadOilDeliveryNetwork | ld_oil_dn_no | Load oil delivery network | ||
| LoadOilWell | ld_oil_wl_no | Load oil well number | ||
| LoadOilWellCompletion | ld_oil_wc_no | Load oil well completion | ||
| LoadOilMeasurementPoint | ld_oil_mp_no | Load oil measurement point | ||
| OriginatingMeasurementPt | orig_mp_no | Original measurement point number | ||
| DensityType | dentyp | Density Type | ||
| InventoryDate | invt_dt | Inventory date | ||
| CreatedByUser | Created By | |||
| CreationDateTime | Created On Timestamp | |||
| OriginTransaction | Source Transaction ID | |||
| StandardVolUnit | std_vol_u | Standard volume unit | ||
| EnergyUnit | energy_u | Energy quantity unit | ||
| HeatingValUnit | heat_val_u | Heating Value Unit | ||
| StandardDensityUnit | base_density_u | Unit for densities at standard/base conditions | ||
| HeatingValue | heat_val | Heat.val.factor | ||
| StandardDensity | base_density | Oil/gas density at standard/base conditions | ||
| StandardVolume | std_vol | Standard volume | ||
| Energy | energy | Energy quantity | ||
| GasMolarVolume | mol_volume | Gas mol volume | ||
| LoadOilTransferWithoutRecovery | ld_oil_wo_recov | Load Oil Transfer without Recovery | ||
| MsmtPtVolDocSts | status | MP Volume Status Code | ||
| PRAMeasurementDocumentNumber | me_docnr | Meas. document number | ||
| MeasurementDocYear | me_docyr | Meas. document year | ||
| DraftMeasurementDocumentNumber | draft_me_docnr | Meas. document number | ||
| DraftMeasurementDocYear | draft_me_docyr | Meas. document year | ||
| _DocYear | _DocYear | |||
| _MeasurementPoint | _MeasurementPoint | |||
| _VolumeType | _VolumeType | |||
| _VolumeClass | _VolumeClass | |||
| _Transporter | _Transporter | |||
| _Material | _Material | |||
| _AllocationFrequencyCode | _AllocationFrequencyCode | |||
| _DeliveryNetwork | _DeliveryNetwork | |||
| _PRAContract | _PRAContract | |||
| _ConversionGroup | _ConversionGroup | |||
| _TankBatteryMeasurementPt | _TankBatteryMeasurementPt | |||
| _VolumeSource | _VolumeSource | |||
| _VolumeCategory | _VolumeCategory | |||
| _LoadOilDeliveryNetwork | _LoadOilDeliveryNetwork | |||
| _LoadOilWell | _LoadOilWell | |||
| _LoadOilWellCompletion | _LoadOilWellCompletion | |||
| _LoadOilMeasurementPoint | _LoadOilMeasurementPoint | |||
| _OriginatingMeasurementPt | _OriginatingMeasurementPt | |||
| _DensityType | _DensityType | |||
| _StandardVolUnit | _StandardVolUnit | |||
| _EnergyUnit | _EnergyUnit | |||
| _HeatingValUnit | _HeatingValUnit | |||
| _StandardDensityUnit | _StandardDensityUnit | |||
| _CreatedByUser | _CreatedByUser |
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_MeasurementPointVolume.
-- 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: IPVMPVL
CREATE VIEW I_MeasurementPointVolume AS
SELECT
mpvl_year AS MeasurementPtVolDocYear,
mpvl_no AS MeasurementPtVolumeDoc,
mp_no AS MeasurementPoint,
vt_cd AS VolumeType,
vc_cd AS VolumeClass,
trnsp_no AS Transporter,
trnsp_ref_no AS TransporterReference,
matnr AS Material,
freq_cd AS AllocationFrequency,
dn_no AS DeliveryNetwork,
ct_no AS PRAContract,
tkt_no AS TicketNumber,
tkt_timestamp AS TicketDateTime,
prd_dt AS ProductionDate,
ent_timestamp AS VolumeEntryDateTime,
eff_from_dt AS EffectiveValidityStartDate,
eff_to_dt AS EffectiveValidityEndDate,
meter_start AS MeterStartDateTime,
meter_stop AS MeterStopDateTime,
conv_grp AS ConversionGroup,
tkbtry_mp_no AS TankBatteryMeasurementPt,
vs_cd AS VolumeSource,
vl_cat_cd AS VolumeCategory,
ld_oil_dn_no AS LoadOilDeliveryNetwork,
ld_oil_wl_no AS LoadOilWell,
ld_oil_wc_no AS LoadOilWellCompletion,
ld_oil_mp_no AS LoadOilMeasurementPoint,
orig_mp_no AS OriginatingMeasurementPt,
dentyp AS DensityType,
invt_dt AS InventoryDate,
cast( oiu_cruser as fclm_bam_created_by ) AS CreatedByUser,
cast( oiu_timestamp as oiu_vdm_created_on_ts ) AS CreationDateTime,
cast( 'O3U_MPVL3' as fqm_origin_trans_id ) AS OriginTransaction,
std_vol_u AS StandardVolUnit,
energy_u AS EnergyUnit,
heat_val_u AS HeatingValUnit,
base_density_u AS StandardDensityUnit,
heat_val AS HeatingValue,
base_density AS StandardDensity,
std_vol AS StandardVolume,
Energy,
mol_volume AS GasMolarVolume,
ld_oil_wo_recov AS LoadOilTransferWithoutRecovery,
status AS MsmtPtVolDocSts,
me_docnr AS PRAMeasurementDocumentNumber,
me_docyr AS MeasurementDocYear,
draft_me_docnr AS DraftMeasurementDocumentNumber,
draft_me_docyr AS DraftMeasurementDocYear
FROM oiu_pr_mpvl
LEFT OUTER JOIN I_CalendarYear AS _DocYear ON MeasurementPtVolDocYear = _DocYear.CalendarYear -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON MeasurementPoint = _MeasurementPoint.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_VolumeType AS _VolumeType ON VolumeType = _VolumeType.VolumeType -- association [0..1]
LEFT OUTER JOIN I_VolumeClass AS _VolumeClass ON VolumeClass = _VolumeClass.VolumeClass -- association [0..1]
LEFT OUTER JOIN I_VolumeSource AS _VolumeSource ON VolumeSource = _VolumeSource.VolumeSource -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Transporter ON Transporter = _Transporter.Customer -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_AllocationFrequencyCode AS _AllocationFrequencyCode ON AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency -- association [0..1]
LEFT OUTER JOIN I_DeliveryNetwork AS _DeliveryNetwork ON DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork -- association [0..1]
LEFT OUTER JOIN I_PRAContract AS _PRAContract ON PRAContract = _PRAContract.PRAContract -- association [0..1]
LEFT OUTER JOIN I_ConversionGroup AS _ConversionGroup ON ConversionGroup = _ConversionGroup.ConversionGroup -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _TankBatteryMeasurementPt ON TankBatteryMeasurementPt = _TankBatteryMeasurementPt.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_VolumeCategory AS _VolumeCategory ON VolumeCategory = _VolumeCategory.VolumeCategory -- association [0..1]
LEFT OUTER JOIN I_DeliveryNetwork AS _LoadOilDeliveryNetwork ON LoadOilDeliveryNetwork = _LoadOilDeliveryNetwork.DeliveryNetwork -- association [0..1]
LEFT OUTER JOIN I_Well AS _LoadOilWell ON LoadOilWell = _LoadOilWell.Well -- association [0..1]
LEFT OUTER JOIN I_WellCompletion AS _LoadOilWellCompletion ON LoadOilWell = _LoadOilWellCompletion.Well AND LoadOilWellCompletion = _LoadOilWellCompletion.WellCompletion -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _LoadOilMeasurementPoint ON LoadOilMeasurementPoint = _LoadOilMeasurementPoint.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _OriginatingMeasurementPt ON OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_DensityType AS _DensityType ON DensityType = _DensityType.DensityType -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _StandardVolUnit ON StandardVolUnit = _StandardVolUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EnergyUnit ON EnergyUnit = _EnergyUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _HeatingValUnit ON HeatingValUnit = _HeatingValUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _StandardDensityUnit ON StandardDensityUnit = _StandardDensityUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
;
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