I_PRATstBslnActlPrimProd
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)
| Source | Alias | Join Type |
|---|---|---|
| oiutv_sb_actwc_b | oiutv_sb_actwc_b | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA