I_PRAContrVolBySlsPtDetail
PRA Contract Vol by Sales Point
I_PRAContrVolBySlsPtDetail is a Composite CDS View that provides data about "PRA Contract Vol by Sales Point" in SAP S/4HANA. It reads from 4 data sources (I_PRAMsmtPtContrVolGasDet, I_PRAMsmtPtContrVolOilDet, I_PRAMsmtPtContrVolumeHeader, I_PRAMsmtPtContrVolumeHeader) and exposes 49 fields with key fields DeliveryNetwork, MeasurementPoint, PRASalesDate, AllocationFrequency, PRAMaterial.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_PRAMsmtPtContrVolGasDet | PRAMsmtPtContrVolGasDet | union_all |
| I_PRAMsmtPtContrVolOilDet | PRAMsmtPtContrVolOilDet | from |
| I_PRAMsmtPtContrVolumeHeader | PRAMsmtPtContrVolumeHeader | inner |
| I_PRAMsmtPtContrVolumeHeader | PRAMsmtPtContrVolumeHeader | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | PRA Contract Vol by Sales Point | 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 | #COMPOSITE | view | |
| ObjectModel.sapObjectNodeType.name | PRAContractVolumeDetail | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryNetwork | I_PRAMsmtPtContrVolumeHeader | DeliveryNetwork | Delivery network ID |
| KEY | MeasurementPoint | I_PRAMsmtPtContrVolumeHeader | MeasurementPoint | Measurement Pt |
| KEY | PRASalesDate | I_PRAMsmtPtContrVolumeHeader | PRASalesDate | Sales Date |
| KEY | AllocationFrequency | I_PRAMsmtPtContrVolumeHeader | AllocationFrequency | Frequency |
| KEY | PRAMaterial | I_PRAMsmtPtContrVolumeHeader | PRAMaterial | Vehicle Model |
| KEY | Transporter | I_PRAMsmtPtContrVolumeHeader | Transporter | Partner |
| KEY | PRAContract | I_PRAMsmtPtContrVolOilDet | PRAContract | Contract |
| PRAContrVolByMsmtPointNumber | I_PRAMsmtPtContrVolOilDet | PRAContrVolByMsmtPointNumber | CAMPH No | |
| PRAQuantityUnitOfMeasure | I_PRAMsmtPtContrVolOilDet | PRAQuantityUnitOfMeasure | UoM | |
| AllocationPercent | I_PRAMsmtPtContrVolOilDet | AllocationPercent | Alloc. Percent | |
| PRAOriginalNominationQuantity | Original Noms | |||
| PRAOverrideNominationQuantity | Override Noms | |||
| PRAPipelineActualValue | Pipeline Act. | |||
| PRAPipelineImbalanceValue | Pipeline Imb. | |||
| PRAMktgRprstvImbalanceValue | I_PRAMsmtPtContrVolOilDet | PRAMktgRprstvImbalanceValue | Mkt. Group Adj. | |
| PRAAllocVolumeUnitOfMeasure | Alloc. UoM | |||
| PRAAllocationVolume | I_PRAMsmtPtContrVolOilDet | PRAAllocationVolume | Allocated vol. | |
| PRAAllocEnergyUnitOfMeasure | All. Energy UoM | |||
| PRAAllocationEnergy | Allocated Eng | |||
| PRAPhseOneAllocationQuantity | I_PRAMsmtPtContrVolOilDet | PRAPhseOneAllocVolQuantity | Phase 1 Imb. | |
| PRAPhseTwoAllocationQuantity | I_PRAMsmtPtContrVolOilDet | PRAPhseTwoAllocVolQuantity | Phase 2 Imb. | |
| PRAPhseThreeAllocationQuantity | I_PRAMsmtPtContrVolOilDet | PRAPhseThreeAllocVolQuantity | Phase 3 Imb. | |
| PRAImbalanceMakeupQuantity | I_PRAMsmtPtContrVolOilDet | PRAImbalanceMakeupQuantity | Imb. Makeup | |
| CreatedByUser | I_PRAMsmtPtContrVolOilDet | CreatedByUser | User Name | |
| DeliveryNetworkasDeliveryNetwork | ||||
| KEY | MeasurementPoint | I_PRAMsmtPtContrVolumeHeader | MeasurementPoint | Measurement Pt |
| KEY | PRASalesDate | I_PRAMsmtPtContrVolumeHeader | PRASalesDate | Sales Date |
| KEY | AllocationFrequency | I_PRAMsmtPtContrVolumeHeader | AllocationFrequency | Frequency |
| KEY | PRAMaterial | I_PRAMsmtPtContrVolumeHeader | PRAMaterial | Vehicle Model |
| KEY | Transporter | I_PRAMsmtPtContrVolumeHeader | Transporter | Partner |
| KEY | PRAContract | I_PRAMsmtPtContrVolGasDet | PRAContract | Contract |
| PRAContrVolByMsmtPointNumber | I_PRAMsmtPtContrVolGasDet | PRAContrVolByMsmtPointNumber | CAMPH No | |
| PRAQuantityUnitOfMeasure | I_PRAMsmtPtContrVolGasDet | PRAQuantityUnitOfMeasure | UoM | |
| AllocationPercent | Alloc. Percent | |||
| PRAOriginalNominationQuantity | I_PRAMsmtPtContrVolGasDet | PRAOriginalNominationQuantity | Original Noms | |
| PRAOverrideNominationQuantity | I_PRAMsmtPtContrVolGasDet | PRAOverrideNominationQuantity | Override Noms | |
| PRAPipelineActualValue | I_PRAMsmtPtContrVolGasDet | PRAPipelineActualValue | Pipeline Act. | |
| PRAPipelineImbalanceValue | I_PRAMsmtPtContrVolGasDet | PRAPipelineImbalanceValue | Pipeline Imb. | |
| PRAMktgRprstvImbalanceValue | I_PRAMsmtPtContrVolGasDet | PRAMktgRprstvImbalanceValue | Mkt. Group Adj. | |
| PRAAllocVolumeUnitOfMeasure | I_PRAMsmtPtContrVolGasDet | PRAAllocVolumeUnitOfMeasure | Alloc. UoM | |
| PRAAllocationVolume | I_PRAMsmtPtContrVolGasDet | PRAAllocationVolume | Allocated vol. | |
| PRAAllocEnergyUnitOfMeasure | I_PRAMsmtPtContrVolGasDet | PRAAllocEnergyUnitOfMeasure | All. Energy UoM | |
| PRAAllocationEnergy | I_PRAMsmtPtContrVolGasDet | PRAAllocationEnergy | Allocated Eng | |
| PRAPhseOneAllocationQuantity | I_PRAMsmtPtContrVolGasDet | PRAPhseOneAllocEnergyQuantity | Phase 1 Imb. | |
| PRAPhseTwoAllocationQuantity | I_PRAMsmtPtContrVolGasDet | PRAPhseTwoAllocEnergyQuantity | Phase 2 Imb. | |
| PRAPhseThreeAllocationQuantity | I_PRAMsmtPtContrVolGasDet | PRAPhseThreeAllocEngyQuantity | Phase 3 Imb. | |
| PRAImbalanceMakeupQuantity | I_PRAMsmtPtContrVolGasDet | PRAImbalanceMakeupQuantity | Imb. Makeup | |
| CreatedByUser | I_PRAMsmtPtContrVolGasDet | CreatedByUser | User Name | |
| CreationDateTime | I_PRAMsmtPtContrVolGasDet | CreationDateTime | Timestamp |
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_PRAContrVolBySlsPtDetail.
-- 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_PRAContrVolBySlsPtDetail AS
SELECT
PRAMsmtPtContrVolumeHeader.DeliveryNetwork AS DeliveryNetwork,
PRAMsmtPtContrVolumeHeader.MeasurementPoint AS MeasurementPoint,
PRAMsmtPtContrVolumeHeader.PRASalesDate AS PRASalesDate,
PRAMsmtPtContrVolumeHeader.AllocationFrequency AS AllocationFrequency,
PRAMsmtPtContrVolumeHeader.PRAMaterial AS PRAMaterial,
PRAMsmtPtContrVolumeHeader.Transporter AS Transporter,
PRAMsmtPtContrVolOilDet.PRAContract AS PRAContract,
PRAMsmtPtContrVolOilDet.PRAContrVolByMsmtPointNumber AS PRAContrVolByMsmtPointNumber,
PRAMsmtPtContrVolOilDet.PRAQuantityUnitOfMeasure AS PRAQuantityUnitOfMeasure,
PRAMsmtPtContrVolOilDet.AllocationPercent AS AllocationPercent,
cast( 0.0 as oiu_orig_nom_qy ) AS PRAOriginalNominationQuantity,
cast( 0.0 as oiu_ovrd_nom_qy ) AS PRAOverrideNominationQuantity,
cast( 0.0 as oiu_pipln_actl_qy ) AS PRAPipelineActualValue,
cast( 0.0 as oiu_pipln_imb_qy ) AS PRAPipelineImbalanceValue,
PRAMsmtPtContrVolOilDet.PRAMktgRprstvImbalanceValue AS PRAMktgRprstvImbalanceValue,
cast( abap.char'' as oiu_alloc_vol_u ) AS PRAAllocVolumeUnitOfMeasure,
PRAMsmtPtContrVolOilDet.PRAAllocationVolume AS PRAAllocationVolume,
cast( abap.char'' as oiu_alloc_energy_u ) AS PRAAllocEnergyUnitOfMeasure,
cast( 0.0 as oiu_alloc_energy ) AS PRAAllocationEnergy,
PRAMsmtPtContrVolOilDet.PRAPhseOneAllocVolQuantity AS PRAPhseOneAllocationQuantity,
PRAMsmtPtContrVolOilDet.PRAPhseTwoAllocVolQuantity AS PRAPhseTwoAllocationQuantity,
PRAMsmtPtContrVolOilDet.PRAPhseThreeAllocVolQuantity AS PRAPhseThreeAllocationQuantity,
PRAMsmtPtContrVolOilDet.PRAImbalanceMakeupQuantity AS PRAImbalanceMakeupQuantity,
PRAMsmtPtContrVolOilDet.CreatedByUser AS CreatedByUser,
PRAMsmtPtContrVolOilDet.CreationDateTime as CreationDateTime AS DeliveryNetworkasDeliveryNetwork,
PRAMsmtPtContrVolGasDet.CreationDateTime AS CreationDateTime
FROM I_PRAMsmtPtContrVolOilDet AS PRAMsmtPtContrVolOilDet
INNER JOIN I_PRAMsmtPtContrVolumeHeader AS PRAMsmtPtContrVolumeHeader ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_PRAMsmtPtContrVolGasDet
;
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