I_WellCompltnDisposnVol

DDL: I_WELLCOMPLTNDISPOSNVOL SQL: IPVWCDVL Type: view BASIC

Well Completion Disposition Volume

I_WellCompltnDisposnVol (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Production Revenue Accounting Well Completion Disposition Volume · Cross Applications

I_WellCompltnDisposnVol is a Basic CDS View (Cube) that provides data about "Well Completion Disposition Volume" in SAP S/4HANA. It reads from 1 data source (oiu_pr_wcdvlh) and exposes 65 fields with key fields WellCompltnVolDocYr, WellCompltnVolDoc. It has 23 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesData Source in SQL Select, Data Provider for Analytical Queries, Data Source for Data Extraction, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
oiu_pr_wcdvlh oiu_pr_wcdvlh from

Associations (23)

CardinalityTargetAliasCondition
[0..1] I_CalendarYear _DocYear $projection.WellCompltnVolDocYr = _DocYear.CalendarYear
[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_DeliveryNetwork _DeliveryNetwork $projection.DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork
[0..1] I_Material _ReclassifiedMaterial $projection.ReclassifiedMaterial = _ReclassifiedMaterial.Material
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_AllocationFrequencyCode _AllocationFrequencyCode $projection.AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency
[0..1] I_MeasurementPoint _TankBatteryMeasurementPt $projection.TankBatteryMeasurementPt = _TankBatteryMeasurementPt.MeasurementPoint
[0..1] I_MeasurementPoint _OriginatingMeasurementPt $projection.OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint
[0..1] I_VolumeType _VolumeType $projection.VolumeType = _VolumeType.VolumeType
[0..1] I_VolumeClass _VolumeClass $projection.VolumeClass = _VolumeClass.VolumeClass
[0..1] I_VolumeSource _VolumeSource $projection.VolumeSource = _VolumeSource.VolumeSource
[0..1] I_Customer _Transporter $projection.Transporter = _Transporter.Customer
[0..1] I_ConversionGroup _ConversionGroup $projection.ConversionGroup = _ConversionGroup.ConversionGroup
[0..1] I_DensityType _DensityType $projection.DensityType = _DensityType.DensityType
[0..1] I_Well _CrossRefWell $projection.CrossRefWell = _CrossRefWell.Well
[0..1] I_WellCompletion _CrossRefWellCompletion $projection.CrossRefWell = _CrossRefWellCompletion.Well and $projection.CrossRefWellCompletion = _CrossRefWellCompletion.WellCompletion
[0..1] I_UnitOfMeasure _StandardVolUnit $projection.StandardVolUnit = _StandardVolUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ThrtclVolUnit $projection.ThrtclVolUnit = _ThrtclVolUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _EnergyUnit $projection.EnergyUnit = _EnergyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _StandardDensityUnit $projection.StandardDensityUnit = _StandardDensityUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _HeatingValUnit $projection.HeatingValUnit = _HeatingValUnit.UnitOfMeasure
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID

Annotations (14)

NameValueLevelField
EndUserText.label Well Completion Disposition Volume view
Analytics.dataCategory #CUBE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVWCDVL view
AccessControl.authorizationCheck #CHECK view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.sapObjectNodeType.name PRAWellCompltnDsposVol view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY WellCompltnVolDocYr WC Volumes Document Year
KEY WellCompltnVolDoc wcdvlh_no Well Completion Delivery Volume Header Number
Well wl_no Well ID number
WellCompletion wc_no Well Completion Number
DeliveryNetwork dn_no Delivery network number
EffectiveValidityStartDate eff_from_dt Effective From Date
EffectiveValidityEndDate eff_to_dt Effective To Date
ProductionDate prd_dt Production Date
ReclassifiedMaterial prd_matnr Production Material
Material matnr Material Number
AllocationFrequency freq_cd Frequency
TankBatteryMeasurementPt tkbtry_mp_no Tank battery measurement point number
VolumeType vt_cd Volume type code
VolumeClass vc_cd Volume class code
VolumeSource vs_cd Volume Source Code
Transporter trnsp_no Transporter number
TransporterReference trnsp_ref_no Transporter Reference Number
TicketNumber tkt_no Ticket Number
TicketDateTime tkt_timestamp Ticket Timestamp (Date)
OriginatingMeasurementPt orig_mp_no Original measurement point number
ConversionGroup conv_grp Conversion Group (Oil, Natural Gas,..)
DensityType dentyp Density Type
InventoryDate invt_dt Inventory date
CrossRefWell xref_wl_no Cross-Reference Well Number
CrossRefWellCompletion xref_wc_no Cross-Reference Wellcompletion Number
CreatedByUser Created By
CreationDateTime Created On Timestamp
OriginTransaction Source Transaction ID
StandardVolUnit std_vol_u Standard volume unit
EnergyUnit energy_u Energy quantity unit
ThrtclVolUnit theo_u Theoretical Unit
HeatingValUnit heat_val_u Heating Value Unit
StandardDensityUnit base_density_u Unit for densities at standard/base conditions
HeatingValue heat_val Heat.val.factor
StandardDensity base_density Oil/gas density at standard/base conditions
NmbrOfDaysProduced Days of Production
NmbrOfHoursProduced Days of Production
NumberOfItems Number of Items
TheoreticalVolume theo Theoretical Volume
StandardVolume std_vol Standard volume
Energy energy Energy quantity
GasMolarVolume mol_volume Gas mol volume
_DocYear _DocYear
_Well _Well
_WellCompletion _WellCompletion
_DeliveryNetwork _DeliveryNetwork
_ReclassifiedMaterial _ReclassifiedMaterial
_Material _Material
_AllocationFrequencyCode _AllocationFrequencyCode
_TankBatteryMeasurementPt _TankBatteryMeasurementPt
_VolumeType _VolumeType
_VolumeClass _VolumeClass
_VolumeSource _VolumeSource
_Transporter _Transporter
_OriginatingMeasurementPt _OriginatingMeasurementPt
_ConversionGroup _ConversionGroup
_DensityType _DensityType
_CrossRefWell _CrossRefWell
_CrossRefWellCompletion _CrossRefWellCompletion
_StandardVolUnit _StandardVolUnit
_ThrtclVolUnit _ThrtclVolUnit
_EnergyUnit _EnergyUnit
_StandardDensityUnit _StandardDensityUnit
_HeatingValUnit _HeatingValUnit
_CreatedByUser _CreatedByUser

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_WellCompltnDisposnVol.
-- 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: IPVWCDVL

CREATE VIEW I_WellCompltnDisposnVol AS
SELECT
  cast( doc_year as oiu_vdm_wc_vol_doc_year preserving type ) AS WellCompltnVolDocYr,
  wcdvlh_no AS WellCompltnVolDoc,
  wl_no AS Well,
  wc_no AS WellCompletion,
  dn_no AS DeliveryNetwork,
  eff_from_dt AS EffectiveValidityStartDate,
  eff_to_dt AS EffectiveValidityEndDate,
  prd_dt AS ProductionDate,
  prd_matnr AS ReclassifiedMaterial,
  matnr AS Material,
  freq_cd AS AllocationFrequency,
  tkbtry_mp_no AS TankBatteryMeasurementPt,
  vt_cd AS VolumeType,
  vc_cd AS VolumeClass,
  vs_cd AS VolumeSource,
  trnsp_no AS Transporter,
  trnsp_ref_no AS TransporterReference,
  tkt_no AS TicketNumber,
  tkt_timestamp AS TicketDateTime,
  orig_mp_no AS OriginatingMeasurementPt,
  conv_grp AS ConversionGroup,
  dentyp AS DensityType,
  invt_dt AS InventoryDate,
  xref_wl_no AS CrossRefWell,
  xref_wc_no AS CrossRefWellCompletion,
  cast( oiu_cruser as fclm_bam_created_by ) AS CreatedByUser,
  cast( oiu_timestamp as oiu_vdm_created_on_ts ) AS CreationDateTime,
  cast( 'O3U_WCDVL3' as fqm_origin_trans_id ) AS OriginTransaction,
  std_vol_u AS StandardVolUnit,
  energy_u AS EnergyUnit,
  theo_u AS ThrtclVolUnit,
  heat_val_u AS HeatingValUnit,
  base_density_u AS StandardDensityUnit,
  heat_val AS HeatingValue,
  base_density AS StandardDensity,
  cast( days_prod as oiu_vdm_int_days_of_prod ) AS NmbrOfDaysProduced,
  cast( prd_hrs as oiu_vdm_int_hrs_of_prod ) AS NmbrOfHoursProduced,
  cast( 1 as oiu_vdm_no_of_items ) AS NumberOfItems,
  theo AS TheoreticalVolume,
  std_vol AS StandardVolume,
  Energy,
  mol_volume AS GasMolarVolume
FROM oiu_pr_wcdvlh
LEFT OUTER JOIN I_CalendarYear AS _DocYear ON WellCompltnVolDocYr = _DocYear.CalendarYear  -- 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_DeliveryNetwork AS _DeliveryNetwork ON DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork  -- association [0..1]
LEFT OUTER JOIN I_Material AS _ReclassifiedMaterial ON ReclassifiedMaterial = _ReclassifiedMaterial.Material  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_AllocationFrequencyCode AS _AllocationFrequencyCode ON AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _TankBatteryMeasurementPt ON TankBatteryMeasurementPt = _TankBatteryMeasurementPt.MeasurementPoint  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _OriginatingMeasurementPt ON OriginatingMeasurementPt = _OriginatingMeasurementPt.MeasurementPoint  -- association [0..1]
LEFT OUTER JOIN I_VolumeType AS _VolumeType ON VolumeType = _VolumeType.VolumeType  -- association [0..1]
LEFT OUTER JOIN I_VolumeClass AS _VolumeClass ON VolumeClass = _VolumeClass.VolumeClass  -- association [0..1]
LEFT OUTER JOIN I_VolumeSource AS _VolumeSource ON VolumeSource = _VolumeSource.VolumeSource  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Transporter ON Transporter = _Transporter.Customer  -- association [0..1]
LEFT OUTER JOIN I_ConversionGroup AS _ConversionGroup ON ConversionGroup = _ConversionGroup.ConversionGroup  -- association [0..1]
LEFT OUTER JOIN I_DensityType AS _DensityType ON DensityType = _DensityType.DensityType  -- association [0..1]
LEFT OUTER JOIN I_Well AS _CrossRefWell ON CrossRefWell = _CrossRefWell.Well  -- association [0..1]
LEFT OUTER JOIN I_WellCompletion AS _CrossRefWellCompletion ON CrossRefWell = _CrossRefWellCompletion.Well AND CrossRefWellCompletion = _CrossRefWellCompletion.WellCompletion  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _StandardVolUnit ON StandardVolUnit = _StandardVolUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ThrtclVolUnit ON ThrtclVolUnit = _ThrtclVolUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EnergyUnit ON EnergyUnit = _EnergyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _StandardDensityUnit ON StandardDensityUnit = _StandardDensityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _HeatingValUnit ON HeatingValUnit = _HeatingValUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
;