I_PRAContrWellCompltnCrsRef

DDL: I_PRACONTRWELLCOMPLTNCRSREF Type: view_entity BASIC

PRA Contract to Well Completion Crs Ref

I_PRAContrWellCompltnCrsRef (Basic)

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

PRAContrWellCompltnCrsRef · Cross Applications

I_PRAContrWellCompltnCrsRef is a Basic CDS View that provides data about "PRA Contract to Well Completion Crs Ref" in SAP S/4HANA. It reads from 1 data source (oiuca_ctwc) and exposes 12 fields with key fields Transporter, PRAContract, Well, WellCompletion, EffectiveFromDate. It has 4 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 well completion.

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

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 well completion. </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
oiuca_ctwc oiuca_ctwc from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Customer _Customer _Customer.Customer = $projection.Transporter
[1..1] I_PRAContract _PRAContract _PRAContract.PRAContract = $projection.PRAContract
[1..1] I_Well _PRAWell _PRAWell.Well = $projection.Well
[1..1] I_WellCompletion _PRAWellCompletion _PRAWellCompletion.Well = $projection.Well and _PRAWellCompletion.WellCompletion = $projection.WellCompletion

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PRA Contract to Well Completion Crs 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 PRAContrWellCompltnCrsRef view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Transporter trnsp_no Transporter number
KEY PRAContract ct_no Contract Number
KEY Well wl_no Well ID number
KEY WellCompletion wc_no Well Completion 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
_PRAWell _PRAWell
_PRAWellCompletion _PRAWellCompletion

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_PRAContrWellCompltnCrsRef.
-- 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_PRAContrWellCompltnCrsRef AS
SELECT
  trnsp_no AS Transporter,
  ct_no AS PRAContract,
  wl_no AS Well,
  wc_no AS WellCompletion,
  eff_from_dt AS EffectiveFromDate,
  eff_to_dt AS EffectiveToDate,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiuca_ctwc
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = Transporter  -- association [1..1]
LEFT OUTER JOIN I_PRAContract AS _PRAContract ON _PRAContract.PRAContract = PRAContract  -- association [1..1]
LEFT OUTER JOIN I_Well AS _PRAWell ON _PRAWell.Well = Well  -- association [1..1]
LEFT OUTER JOIN I_WellCompletion AS _PRAWellCompletion ON _PRAWellCompletion.Well = Well AND _PRAWellCompletion.WellCompletion = WellCompletion  -- association [1..1]
;