I_PRAContrVolBySlsPtDetail

DDL: I_PRACONTRVOLBYSLSPTDETAIL Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_PRAMsmtPtContrVolGasDet PRAMsmtPtContrVolGasDet union_all
I_PRAMsmtPtContrVolOilDet PRAMsmtPtContrVolOilDet from
I_PRAMsmtPtContrVolumeHeader PRAMsmtPtContrVolumeHeader inner
I_PRAMsmtPtContrVolumeHeader PRAMsmtPtContrVolumeHeader inner

Annotations (10)

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

KeyFieldSource TableSource FieldDescription
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
;