P_ContrAllocVolSecdryProd

DDL: P_CONTRALLOCVOLSECDRYPROD SQL: PPVCAVOLSECDRY Type: view COMPOSITE Package: OIU_VDM_CDS

Private view for CA Volumes for Primary Products

P_ContrAllocVolSecdryProd is a Composite CDS View that provides data about "Private view for CA Volumes for Primary Products" in SAP S/4HANA. It reads from 2 data sources (I_ContrAllocVolSecdryProdMP, I_ContrAllocVolSecdryProdWC) and exposes 58 fields with key fields Material, PRAContract, DeliveryNetwork, MeasurementPoint, Well. Part of development package OIU_VDM_CDS.

Data Sources (2)

SourceAliasJoin Type
I_ContrAllocVolSecdryProdMP I_ContrAllocVolSecdryProdMP union_all
I_ContrAllocVolSecdryProdWC I_ContrAllocVolSecdryProdWC from

Annotations (8)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PPVCAVOLSECDRY view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY PRAContract PRAContract Contract
KEY DeliveryNetwork DeliveryNetwork Delivery network ID
KEY MeasurementPoint Measurement Pt
KEY Well Well Well
KEY WellCompletion WellCompletion Well Completion
KEY OwnerInterestType OwnerInterestType Opart int type
KEY PRAOwner PRAOwner Owner Number
KEY OriginatingMeasurementPt OriginatingMeasurementPt Originating MP
KEY OwnerInterestSequence OwnerInterestSequence Own. ISQ
KEY SalesDate SalesDate Sales Date
KEY Transporter Transporter Partner
KEY IsLeaseOrPlant Lease plt cd
VolumeUnit VolumeUnit Volume Unit
HeatingValUnit HeatingValUnit HV Unit
EnergyUnit EnergyUnit UoM
VolReducnUnit VolReducnUnit
EnergyReducnUnit EnergyReducnUnit
ActualVolume ActualVolume Actual Volume
HeatingValue HeatingValue Heat.val.factor
ActualEnergy ActualEnergy Energy
EntitledVolume EntitledVolume Ent. Ct. Volume
EntitledEnergy EntitledEnergy Ent Energy
ActualVolReducn ActualVolReducn Plant vol red
ActualEnergyReducn ActualEnergyReducn Owner PTR
EntitledVolReducn EntitledVolReducn Owner PVR
EntitledEngyReducn EntitledEngyReducn Owner PTR
OriginTransaction OriginTransaction
CreatedByUser CreatedByUser User Name
KEY PRAContract PRAContract Contract
KEY DeliveryNetwork DeliveryNetwork Delivery network ID
KEY MeasurementPoint MeasurementPoint Measurement Pt
KEY Well Well
KEY WellCompletion Well Completion
KEY OwnerInterestType OwnerInterestType Opart int type
KEY PRAOwner PRAOwner Owner Number
KEY OriginatingMeasurementPt OriginatingMeasurementPt Originating MP
KEY OwnerInterestSequence OwnerInterestSequence Own. ISQ
KEY SalesDate SalesDate Sales Date
KEY Transporter Transporter Partner
KEY IsLeaseOrPlant IsLeaseOrPlant Lease plt cd
VolumeUnit VolumeUnit Volume Unit
HeatingValUnit HeatingValUnit HV Unit
EnergyUnit EnergyUnit UoM
VolReducnUnit VolReducnUnit
EnergyReducnUnit EnergyReducnUnit
ActualVolume ActualVolume Actual Volume
HeatingValue HeatingValue Heat.val.factor
ActualEnergy ActualEnergy Energy
EntitledVolume EntitledVolume Ent. Ct. Volume
EntitledEnergy EntitledEnergy Ent Energy
ActualVolReducn ActualVolReducn Plant vol red
ActualEnergyReducn ActualEnergyReducn Owner PTR
EntitledVolReducn EntitledVolReducn Owner PVR
EntitledEngyReducn EntitledEngyReducn Owner PTR
OriginTransaction OriginTransaction
CreatedByUser CreatedByUser User Name
CreationDateTime 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 P_ContrAllocVolSecdryProd.
-- 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: PPVCAVOLSECDRY

CREATE VIEW P_ContrAllocVolSecdryProd AS
SELECT
  Material,
  PRAContract,
  DeliveryNetwork,
  cast ( '' as oiu_mp_no ) AS MeasurementPoint,
  Well,
  WellCompletion,
  OwnerInterestType,
  PRAOwner,
  OriginatingMeasurementPt,
  OwnerInterestSequence,
  SalesDate,
  Transporter,
  cast( 'L' as oiu_lse_plt_cd ) AS IsLeaseOrPlant,
  VolumeUnit,
  HeatingValUnit,
  EnergyUnit,
  VolReducnUnit,
  EnergyReducnUnit,
  ActualVolume,
  HeatingValue,
  ActualEnergy,
  EntitledVolume,
  EntitledEnergy,
  ActualVolReducn,
  ActualEnergyReducn,
  EntitledVolReducn,
  EntitledEngyReducn,
  OriginTransaction,
  CreatedByUser,
  CreationDateTime
FROM I_ContrAllocVolSecdryProdWC
-- UNION ALL with additional select branch(es): I_ContrAllocVolSecdryProdMP
;