I_PRAContrMsmtPtCrsRef

DDL: I_PRACONTRMSMTPTCRSREF Type: view_entity BASIC

PRA Contract to Measurement Pt Cross ref

I_PRAContrMsmtPtCrsRef (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

PRAContrMsmtPtCrsRef · Cross Applications

I_PRAContrMsmtPtCrsRef is a Basic CDS View that provides data about "PRA Contract to Measurement Pt Cross ref" in SAP S/4HANA. It reads from 1 data source (oiuca_ctmp) and exposes 10 fields with key fields Transporter, PRAContract, MeasurementPoint, EffectiveFromDate. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Production and Revenue Accounting (PRA)
Purpose
This CDS view is a link between the contract, transporter and 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-O3UCA_TRNCT (Mapping role for I_PRAContrMsmtPtCrsRef )

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 is a link between the contract, transporter and measurement point. </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
oiuca_ctmp oiuca_ctmp from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_PRAContract _PRAContract _PRAContract.PRAContract = $projection.PRAContract
[1..1] I_MeasurementPoint _MeasurementPoint _MeasurementPoint.MeasurementPoint = $projection.MeasurementPoint
[1..1] I_Customer _Customer _Customer.Customer = $projection.Transporter

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PRA Contract to Measurement Pt Cross ref 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 PRAContrMsmtPtCrsRef view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Transporter trnsp_no Transporter number
KEY PRAContract ct_no Contract Number
KEY MeasurementPoint mp_no Measurement point number
KEY EffectiveFromDate eff_from_dt Effective From Date
EffectiveToDate eff_to_dt Effective To Date
CreatedByUser oiu_cruser Name of Person Responsible for Creating the Object
CreationDateTime oiu_timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_Customer _Customer
_PRAContract _PRAContract
_MeasurementPoint _MeasurementPoint

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_PRAContrMsmtPtCrsRef.
-- 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_PRAContrMsmtPtCrsRef AS
SELECT
  trnsp_no AS Transporter,
  ct_no AS PRAContract,
  mp_no AS MeasurementPoint,
  eff_from_dt AS EffectiveFromDate,
  eff_to_dt AS EffectiveToDate,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiuca_ctmp
LEFT OUTER JOIN I_PRAContract AS _PRAContract ON _PRAContract.PRAContract = PRAContract  -- association [1..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON _MeasurementPoint.MeasurementPoint = MeasurementPoint  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = Transporter  -- association [1..1]
;