I_PRAProdBalcngAgreementDOI

DDL: I_PRAPRODBALCNGAGREEMENTDOI Type: view_entity BASIC

PBA DOI

I_PRAProdBalcngAgreementDOI is a Basic CDS View (Fact) that provides data about "PBA DOI" in SAP S/4HANA. It reads from 1 data source (oiubl01_pbadoi) and exposes 20 fields with key fields ProductBalancingAgreement, Well, WellCompletion, MeasurementPoint, BalancingReportDate. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiubl01_pbadoi oiubl01_pbadoi from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_PRAWell _Well $projection.Well = _Well.Well
[0..1] I_PRAWellCompletion _WellCompletion $projection.Well = _WellCompletion.Well and $projection.WellCompletion = _WellCompletion.WellCompletion
[0..1] I_MeasurementPoint _MeasurementPoint $projection.MeasurementPoint = _MeasurementPoint.MeasurementPoint
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..*] I_PRAMaintDOI _DivisionOfInterest $projection.DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest
[0..1] I_PRAOwner _PRAOwner $projection.PRAOwner = _PRAOwner.PRAOwner

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PBA DOI view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
Analytics.dataCategory #FACT view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
ObjectModel.modelingPattern #ANALYTICAL_FACT view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.sapObjectNodeType.name PRAProdBalancingAgreementDOI view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ProductBalancingAgreement pba_no PBA No
KEY Well wl_no Well
KEY WellCompletion wc_no Well Completion
KEY MeasurementPoint mp_no Measurement Pt
KEY BalancingReportDate rpt_mo Rpt Month
KEY CompanyCode bukrs Value
KEY PRAJointVenture vname Volatility Name
KEY DivisionOfInterest doi_no Venture/DOI
KEY PRAOwner own_no Owner Number
KEY OwnerInterestType own_int_type_cd Opart int type
KEY OwnerInterestSequence own_isq_no Own. ISQ
GrossRevenueInterestRatio gri_pc GRI
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
_Well _Well
_WellCompletion _WellCompletion
_MeasurementPoint _MeasurementPoint
_CompanyCode _CompanyCode
_DivisionOfInterest _DivisionOfInterest
_PRAOwner _PRAOwner

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_PRAProdBalcngAgreementDOI.
-- 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_PRAProdBalcngAgreementDOI AS
SELECT
  pba_no AS ProductBalancingAgreement,
  wl_no AS Well,
  wc_no AS WellCompletion,
  mp_no AS MeasurementPoint,
  rpt_mo AS BalancingReportDate,
  bukrs AS CompanyCode,
  vname AS PRAJointVenture,
  doi_no AS DivisionOfInterest,
  own_no AS PRAOwner,
  own_int_type_cd AS OwnerInterestType,
  own_isq_no AS OwnerInterestSequence,
  gri_pc AS GrossRevenueInterestRatio,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiubl01_pbadoi
LEFT OUTER JOIN I_PRAWell AS _Well ON Well = _Well.Well  -- association [0..1]
LEFT OUTER JOIN I_PRAWellCompletion AS _WellCompletion ON Well = _WellCompletion.Well AND WellCompletion = _WellCompletion.WellCompletion  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON MeasurementPoint = _MeasurementPoint.MeasurementPoint  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_PRAMaintDOI AS _DivisionOfInterest ON DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest  -- association [0..*]
LEFT OUTER JOIN I_PRAOwner AS _PRAOwner ON PRAOwner = _PRAOwner.PRAOwner  -- association [0..1]
;