I_ContrAllocVolPrimProd
CA Volume for Primary Products
I_ContrAllocVolPrimProd (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Production Revenue Accounting Contract Allocation Volume Primary Product · Cross Applications
I_ContrAllocVolPrimProd is a Composite CDS View (Cube) that provides data about "CA Volume for Primary Products" in SAP S/4HANA. It reads from 1 data source (P_ContrAllocVolPrimProd) and exposes 39 fields with key fields DeliveryNetwork, MeasurementPoint, Well, WellCompletion, Material. It has 13 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Capabilities | Data Source in SQL Select, Data Provider for Analytical Queries, Data Source for Defining CDS Entities |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ContrAllocVolPrimProd | P_ContrAllocVolPrimProd | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DeliveryNetwork | _DeliveryNetwork | $projection.DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork |
| [0..1] | I_MeasurementPoint | _MeasurementPoint | $projection.MeasurementPoint = _MeasurementPoint.MeasurementPoint |
| [0..1] | I_Well | _Well | $projection.Well = _Well.Well |
| [0..1] | I_WellCompletion | _WellCompletion | $projection.Well = _WellCompletion.Well and $projection.WellCompletion = _WellCompletion.WellCompletion |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_PRAContract | _PRAContract | $projection.PRAContract = _PRAContract.PRAContract |
| [0..1] | I_PRAOwner | _PRAOwner | $projection.PRAOwner = _PRAOwner.PRAOwner |
| [0..1] | I_OwnerInterestType | _OwnerInterestType | $projection.OwnerInterestType = _OwnerInterestType.OwnerInterestType |
| [0..1] | I_MeasurementPoint | _OriginatingMeasurementPt | $projection.OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint |
| [0..1] | I_Customer | _Transporter | $projection.Transporter = _Transporter.Customer |
| [0..1] | I_UnitOfMeasure | _VolumeUnit | $projection.VolumeUnit = _VolumeUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _HeatingValUnit | $projection.HeatingValUnit = _HeatingValUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EnergyUnit | $projection.EnergyUnit = _EnergyUnit.UnitOfMeasure |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | CA Volume for Primary Products | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IPVCAVOLPRIM | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | PRAContrAllocVolPrimProd | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryNetwork | DeliveryNetwork | Delivery network number | |
| KEY | MeasurementPoint | MeasurementPoint | Measurement point number | |
| KEY | Well | Well | Well ID number | |
| KEY | WellCompletion | WellCompletion | Well Completion Number | |
| KEY | Material | Material | Material Number | |
| KEY | PRAContract | PRAContract | Contract Number | |
| KEY | SalesDate | SalesDate | Sales Date | |
| KEY | PRAOwner | PRAOwner | PRA owner | |
| KEY | OwnerInterestType | OwnerInterestType | Participant Interest Type | |
| KEY | OwnerInterestSequence | OwnerInterestSequence | Owner Interest Sequence Number | |
| KEY | OriginatingMeasurementPt | OriginatingMeasurementPt | Original measurement point number | |
| KEY | Transporter | Transporter | Transporter number | |
| OriginTransaction | OriginTransaction | Source Transaction ID | ||
| CreatedByUser | CreatedByUser | Created By | ||
| CreationDateTime | CreationDateTime | Created On Timestamp | ||
| VolumeUnit | VolumeUnit | Actual Volume Units | ||
| HeatingValUnit | HeatingValUnit | Heating Value Unit | ||
| EnergyUnit | EnergyUnit | Actual Energy Unit | ||
| WetGasOverridePct | WetGasOverridePct | Wet Gas Override Percent | ||
| ActualVolume | ActualVolume | Actual Volume | ||
| HeatingValue | HeatingValue | Heating value | ||
| ActualEnergy | ActualEnergy | Actual Energy | ||
| EntitledVolume | EntitledVolume | Entitled Contract Volume | ||
| EntitledEnergy | EntitledEnergy | Entitled Contract Energy | ||
| AdjustedEntitledVol | AdjustedEntitledVol | Adjusted Entitled Contract Volume | ||
| AdjustedEntitledEngy | AdjustedEntitledEngy | Adjusted Entitled Contract Energy | ||
| _DeliveryNetwork | _DeliveryNetwork | |||
| _MeasurementPoint | _MeasurementPoint | |||
| _Well | _Well | |||
| _WellCompletion | _WellCompletion | |||
| _Material | _Material | |||
| _PRAContract | _PRAContract | |||
| _PRAOwner | _PRAOwner | |||
| _OwnerInterestType | _OwnerInterestType | |||
| _OriginatingMeasurementPt | _OriginatingMeasurementPt | |||
| _Transporter | _Transporter | |||
| _VolumeUnit | _VolumeUnit | |||
| _HeatingValUnit | _HeatingValUnit | |||
| _EnergyUnit | _EnergyUnit |
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_ContrAllocVolPrimProd.
-- 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.
-- SQL view name: IPVCAVOLPRIM
CREATE VIEW I_ContrAllocVolPrimProd AS
SELECT
DeliveryNetwork,
MeasurementPoint,
Well,
WellCompletion,
Material,
PRAContract,
SalesDate,
PRAOwner,
OwnerInterestType,
OwnerInterestSequence,
OriginatingMeasurementPt,
Transporter,
OriginTransaction,
CreatedByUser,
CreationDateTime,
VolumeUnit,
HeatingValUnit,
EnergyUnit,
WetGasOverridePct,
ActualVolume,
HeatingValue,
ActualEnergy,
EntitledVolume,
EntitledEnergy,
AdjustedEntitledVol,
AdjustedEntitledEngy
FROM P_ContrAllocVolPrimProd
LEFT OUTER JOIN I_DeliveryNetwork AS _DeliveryNetwork ON DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON MeasurementPoint = _MeasurementPoint.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_Well AS _Well ON Well = _Well.Well -- association [0..1]
LEFT OUTER JOIN I_WellCompletion AS _WellCompletion ON Well = _WellCompletion.Well AND WellCompletion = _WellCompletion.WellCompletion -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_PRAContract AS _PRAContract ON PRAContract = _PRAContract.PRAContract -- association [0..1]
LEFT OUTER JOIN I_PRAOwner AS _PRAOwner ON PRAOwner = _PRAOwner.PRAOwner -- association [0..1]
LEFT OUTER JOIN I_OwnerInterestType AS _OwnerInterestType ON OwnerInterestType = _OwnerInterestType.OwnerInterestType -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _OriginatingMeasurementPt ON OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Transporter ON Transporter = _Transporter.Customer -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumeUnit ON VolumeUnit = _VolumeUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _HeatingValUnit ON HeatingValUnit = _HeatingValUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EnergyUnit ON EnergyUnit = _EnergyUnit.UnitOfMeasure -- 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