I_PRAMsmtPointVariableData

DDL: I_PRAMSMTPOINTVARIABLEDATA Type: view_entity BASIC

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

CategoryCDS Views for Production and Revenue Accounting (PRA)
Purpose
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)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesData Source in SQL Select
PackageCross 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

Data Sources (1)

SourceAliasJoin Type
oiu_pr_mpvd oiu_pr_mpvd from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;