I_PRAMsmtPointVariableData
PRA Measurement Point Variable Data
I_PRAMsmtPointVariableData (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
PRAMsmtPointVariableData · Cross Applications
I_PRAMsmtPointVariableData is a Basic CDS View that provides data about "PRA Measurement Point Variable Data" in SAP S/4HANA. It reads from 1 data source (oiu_pr_mpvd) and exposes 27 fields with key fields MeasurementPoint, EffectiveFromDate. It has 7 associations to related views.
SAP Help Documentation
| Category | CDS Views for Production and Revenue Accounting (PRA) |
|---|
This CDS view holds the attributes and controlling data for a given Measurement point.
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: O_OIU_TXN:ACTVT-03,O_OIU_TXN:OIU_TCODE-O3U_MPD3 (Mapping role for I_PRAMsmtPointVariableData)
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Capabilities | Data Source in SQL Select |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view holds the attributes and controlling data for a given Measurement point. </p> |
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_mpvd | oiu_pr_mpvd | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MeasurementPoint | _MeasurementPoint | _MeasurementPoint.MeasurementPoint = $projection.MeasurementPoint |
| [0..1] | I_PRACrudeType | _PRACrudeType | _PRACrudeType.PRACrudeTypeCode = $projection.PRACrudeTypeCode |
| [0..1] | I_PRACalorificValueClassVH | _PRACalorificValueClassVH | _PRACalorificValueClassVH.PRACalorificValueClass = $projection.PRACalorificValueClass |
| [0..1] | I_PRASaturatedDryCodeVH | _PRASaturatedDryCodeVH | _PRASaturatedDryCodeVH.PRASaturatedDryCode = $projection.PRASaturatedDryCode |
| [0..1] | I_PRAStreamTypeCodeVH | _PRAStreamTypeCode | _PRAStreamTypeCode.PRAStreamTypeCode = $projection.PRAStreamTypeCode |
| [0..1] | I_PRAChartTypeCodeVH | _PRAChartTypeCodeVH | _PRAChartTypeCodeVH.PRAMsmtPtChartTypeCode = $projection.PRAMsmtPtChartTypeCode |
| [0..1] | I_CompanyCode | _CompanyCode | _CompanyCode.CompanyCode = $projection.CompanyCode |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | PRA Measurement Point Variable Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.sapObjectNodeType.name | PRAMsmtPointVariableData | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MeasurementPoint | mp_no | Measurement point number | |
| KEY | EffectiveFromDate | eff_from_dt | Effective From Date | |
| EffectiveToDate | eff_to_dt | Effective To Date | ||
| PRACalorificValueClass | hvcls | Heating Value Class (calorific value class) | ||
| PRACrudeTypeCode | crud_type_cd | Crude type code | ||
| PRAIsSalesPointFlag | sa_pt_fl | Sales point field/flag | ||
| PRAIsMsmtPointInactive | inactive_fl | Inactive indicator | ||
| PRAIsMsmtPointOperated | op_fl | Operated flag | ||
| PRASaturatedDryCode | sat_dry_cd | Saturated/Dry Code | ||
| PRAIsIntraNetworkNode | intra_nwk_fl | Intra-Network Node Flag | ||
| PRAMsmtPointIsPlantInlet | plt_inlet_fl | Plant inlet flag | ||
| PRAStreamTypeCode | strm_type_cd | Stream type code | ||
| PRAIsMsmtPointDefaultForStream | strm_dflt_fl | Stream default flag | ||
| PRAMsmtPtHasReturnLeaseFuelUse | rlf_usage_fl | Return lease fuel usage flag | ||
| CompanyCode | company_code | Company Code | ||
| CostCenter | cost_center | Posted Cost Center | ||
| PRAMsmtPtChartTypeCode | chrt_typ_cd | Chart type code | ||
| CreatedByUser | oiu_cruser | Name of Person Responsible for Creating the Object | ||
| CreationDateTime | oiu_timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| PRAMsmtPtPipelineOpenPeriod | pipl_open_pd | Number of months pipeline accepts changes | ||
| _MeasurementPoint | _MeasurementPoint | |||
| _PRACrudeType | _PRACrudeType | |||
| _PRACalorificValueClassVH | _PRACalorificValueClassVH | |||
| _PRASaturatedDryCodeVH | _PRASaturatedDryCodeVH | |||
| _PRAStreamTypeCode | _PRAStreamTypeCode | |||
| _PRAChartTypeCodeVH | _PRAChartTypeCodeVH | |||
| _CompanyCode | _CompanyCode |
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_PRAMsmtPointVariableData.
-- 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_PRAMsmtPointVariableData AS
SELECT
mp_no AS MeasurementPoint,
eff_from_dt AS EffectiveFromDate,
eff_to_dt AS EffectiveToDate,
hvcls AS PRACalorificValueClass,
crud_type_cd AS PRACrudeTypeCode,
sa_pt_fl AS PRAIsSalesPointFlag,
inactive_fl AS PRAIsMsmtPointInactive,
op_fl AS PRAIsMsmtPointOperated,
sat_dry_cd AS PRASaturatedDryCode,
intra_nwk_fl AS PRAIsIntraNetworkNode,
plt_inlet_fl AS PRAMsmtPointIsPlantInlet,
strm_type_cd AS PRAStreamTypeCode,
strm_dflt_fl AS PRAIsMsmtPointDefaultForStream,
rlf_usage_fl AS PRAMsmtPtHasReturnLeaseFuelUse,
company_code AS CompanyCode,
cost_center AS CostCenter,
chrt_typ_cd AS PRAMsmtPtChartTypeCode,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime,
pipl_open_pd AS PRAMsmtPtPipelineOpenPeriod
FROM oiu_pr_mpvd
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON _MeasurementPoint.MeasurementPoint = MeasurementPoint -- association [1..1]
LEFT OUTER JOIN I_PRACrudeType AS _PRACrudeType ON _PRACrudeType.PRACrudeTypeCode = PRACrudeTypeCode -- association [0..1]
LEFT OUTER JOIN I_PRACalorificValueClassVH AS _PRACalorificValueClassVH ON _PRACalorificValueClassVH.PRACalorificValueClass = PRACalorificValueClass -- association [0..1]
LEFT OUTER JOIN I_PRASaturatedDryCodeVH AS _PRASaturatedDryCodeVH ON _PRASaturatedDryCodeVH.PRASaturatedDryCode = PRASaturatedDryCode -- association [0..1]
LEFT OUTER JOIN I_PRAStreamTypeCodeVH AS _PRAStreamTypeCode ON _PRAStreamTypeCode.PRAStreamTypeCode = PRAStreamTypeCode -- association [0..1]
LEFT OUTER JOIN I_PRAChartTypeCodeVH AS _PRAChartTypeCodeVH ON _PRAChartTypeCodeVH.PRAMsmtPtChartTypeCode = PRAMsmtPtChartTypeCode -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = CompanyCode -- 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