I_ContrAllocVolSecdryProdWC

DDL: I_CONTRALLOCVOLSECDRYPRODWC SQL: IPVCAVOLSECWC Type: view BASIC Package: OIU_VDM_CDS

CA Volume Secondary Product For WC

I_ContrAllocVolSecdryProdWC is a Basic CDS View (Cube) that provides data about "CA Volume Secondary Product For WC" in SAP S/4HANA. It reads from 1 data source (oiu_sb_rnawc) and exposes 42 fields with key fields DeliveryNetwork, Well, WellCompletion, Material, PRAContract. It has 14 associations to related views. Part of development package OIU_VDM_CDS.

Data Sources (1)

SourceAliasJoin Type
oiu_sb_rnawc oiu_sb_rnawc from

Associations (14)

CardinalityTargetAliasCondition
[0..1] I_DeliveryNetwork _DeliveryNetwork $projection.DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork
[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
[0..1] I_UnitOfMeasure _VolReducnUnit $projection.VolReducnUnit = _VolReducnUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _EnergyReducnUnit $projection.EnergyReducnUnit = _EnergyReducnUnit.UnitOfMeasure

Annotations (11)

NameValueLevelField
EndUserText.label CA Volume Secondary Product For WC view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVCAVOLSECWC view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY DeliveryNetwork dn_no Delivery network ID
KEY Well wl_no Well
KEY WellCompletion wc_no Well Completion
KEY Material matnr Vehicle Model
KEY PRAContract ct_no Contract
KEY SalesDate sa_dt Sales Date
KEY PRAOwner own_no Owner Number
KEY OwnerInterestType own_int_type_cd Opart int type
KEY OwnerInterestSequence own_isq_no Own. ISQ
KEY OriginatingMeasurementPt orig_mp_no Originating MP
KEY Transporter trnsp_no Transporter nbr
OriginTransaction
CreatedByUser Created By
CreationDateTime Timestamp
VolumeUnit actl_vol_u Unit
HeatingValUnit heat_val_u HV Unit
EnergyUnit actl_energy_u UoM
VolReducnUnit Unit
EnergyReducnUnit Energy Unit
ActualVolume actl_vol Actual Volume
HeatingValue heat_val Heat.val.factor
ActualEnergy actl_energy Energy
EntitledVolume entl_ct_vol Ent. Ct. Volume
EntitledEnergy entl_ct_ener Ent Energy
ActualVolReducn pvr Plant vol red
ActualEnergyReducn ptr Owner PTR
EntitledVolReducn entl_pvr Owner PVR
EntitledEngyReducn entl_ptr Owner PTR
_DeliveryNetwork _DeliveryNetwork
_Well _Well
_WellCompletion _WellCompletion
_Material _Material
_PRAContract _PRAContract
_PRAOwner _PRAOwner
_OwnerInterestType _OwnerInterestType
_OriginatingMeasurementPt _OriginatingMeasurementPt
_Transporter _Transporter
_VolumeUnit _VolumeUnit
_HeatingValUnit _HeatingValUnit
_EnergyUnit _EnergyUnit
_VolReducnUnit _VolReducnUnit
_EnergyReducnUnit _EnergyReducnUnit

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_ContrAllocVolSecdryProdWC.
-- 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: IPVCAVOLSECWC

CREATE VIEW I_ContrAllocVolSecdryProdWC AS
SELECT
  dn_no AS DeliveryNetwork,
  wl_no AS Well,
  wc_no AS WellCompletion,
  matnr AS Material,
  ct_no AS PRAContract,
  sa_dt AS SalesDate,
  own_no AS PRAOwner,
  own_int_type_cd AS OwnerInterestType,
  own_isq_no AS OwnerInterestSequence,
  orig_mp_no AS OriginatingMeasurementPt,
  trnsp_no AS Transporter,
  cast( 'O3U_CA09' as fqm_origin_trans_id ) AS OriginTransaction,
  cast( oiu_cruser as fclm_bam_created_by ) AS CreatedByUser,
  cast( oiu_timestamp as oiu_vdm_created_on_ts ) AS CreationDateTime,
  actl_vol_u AS VolumeUnit,
  heat_val_u AS HeatingValUnit,
  actl_energy_u AS EnergyUnit,
  cast( pvr_uom as oiu_vdm_pvr_u ) AS VolReducnUnit,
  cast( ptr_uom as oiu_vdm_ptr_u ) AS EnergyReducnUnit,
  actl_vol AS ActualVolume,
  heat_val AS HeatingValue,
  actl_energy AS ActualEnergy,
  entl_ct_vol AS EntitledVolume,
  entl_ct_ener AS EntitledEnergy,
  pvr AS ActualVolReducn,
  ptr AS ActualEnergyReducn,
  entl_pvr AS EntitledVolReducn,
  entl_ptr AS EntitledEngyReducn
FROM oiu_sb_rnawc
LEFT OUTER JOIN I_DeliveryNetwork AS _DeliveryNetwork ON DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork  -- 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]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolReducnUnit ON VolReducnUnit = _VolReducnUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EnergyReducnUnit ON EnergyReducnUnit = _EnergyReducnUnit.UnitOfMeasure  -- association [0..1]
;