I_PRATstBslnActlPrimProd

DDL: I_PRATSTBSLNACTLPRIMPROD SQL: IPRATBCAACTWC Type: view BASIC

PRA Test Validation - Baseline Primary Products Actual Vols

I_PRATstBslnActlPrimProd is a Basic CDS View that provides data about "PRA Test Validation - Baseline Primary Products Actual Vols" in SAP S/4HANA. It reads from 1 data source (oiutv_sb_actwc_b) and exposes 27 fields with key fields PRATstAllocVersion, DeliveryNetwork, Well, WellCompletion, Material.

Data Sources (1)

SourceAliasJoin Type
oiutv_sb_actwc_b oiutv_sb_actwc_b from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPRATBCAACTWC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label PRA Test Validation - Baseline Primary Products Actual Vols view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY PRATstAllocVersion ca_version_id VERSION_ID
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
KEY AllocationFrequency freq_cd Frequency
VolumeUnit actl_vol_u Unit
ActualVolume actl_vol Actual Volume
HeatingValUnit heat_val_u HV Unit
HeatingValue heat_val Heat.val.factor
EnergyUnit actl_energy_u UoM
ActualEnergy actl_energy Energy
WetGasOverridePct wg_ovrd_pc WG override %
EntitledVolume entl_ct_vol Ent. Ct. Volume
AdjustedEntitledVol adj_entl_ct_vol Adj.Ent.Ct.Vol.
EntitledEnergy entl_ct_ener Ent Energy
AdjustedEntitledEngy adj_entl_ct_ener Adj.Ent.Ct.En.
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
SequenceNumber

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_PRATstBslnActlPrimProd.
-- 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: IPRATBCAACTWC

CREATE VIEW I_PRATstBslnActlPrimProd AS
SELECT
  ca_version_id AS PRATstAllocVersion,
  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,
  freq_cd AS AllocationFrequency,
  actl_vol_u AS VolumeUnit,
  actl_vol AS ActualVolume,
  heat_val_u AS HeatingValUnit,
  heat_val AS HeatingValue,
  actl_energy_u AS EnergyUnit,
  actl_energy AS ActualEnergy,
  wg_ovrd_pc AS WetGasOverridePct,
  entl_ct_vol AS EntitledVolume,
  adj_entl_ct_vol AS AdjustedEntitledVol,
  entl_ct_ener AS EntitledEnergy,
  adj_entl_ct_ener AS AdjustedEntitledEngy,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime,
  cast( '001' as abap.numc(3) ) AS SequenceNumber
FROM oiutv_sb_actwc_b
;