I_PRAProdBalcngAgreementDOI
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)
| Source | Alias | Join Type |
|---|---|---|
| oiubl01_pbadoi | oiubl01_pbadoi | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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