I_PRATstBslnProdnRslts
PRA Test validation - Baseline production result
I_PRATstBslnProdnRslts is a Basic CDS View that provides data about "PRA Test validation - Baseline production result" in SAP S/4HANA. It reads from 1 data source (oiutv_wcdvlh_b) and exposes 41 fields with key fields PRATstAllocVersion, WellCompltnVolDoc, WellCompltnVolDocYr.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiutv_wcdvlh_b | oiutv_wcdvlh_b | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRATBPR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | PRA Test validation - Baseline production result | 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 (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PRATstAllocVersion | pr_version_id | VERSION_ID | |
| KEY | WellCompltnVolDoc | wcdvlh_no | Document No. | |
| KEY | WellCompltnVolDocYr | doc_year | Mat. Doc. Year | |
| Well | wl_no | Well | ||
| WellCompletion | wc_no | Well Completion | ||
| DeliveryNetwork | dn_no | Delivery network ID | ||
| EffectiveValidityStartDate | eff_from_dt | Effective From Date | ||
| EffectiveValidityEndDate | eff_to_dt | Effective To Date | ||
| ProductionDate | prd_dt | Production Date | ||
| ReclassifiedMaterial | prd_matnr | Material | ||
| BaselineMaterial | matnr | Vehicle Model | ||
| AllocationFrequency | freq_cd | Frequency | ||
| TankBatteryMeasurementPt | tkbtry_mp_no | Tk.Batt. MP.No. | ||
| VolumeType | vt_cd | Volume Type | ||
| VolumeClass | vc_cd | Volume Class | ||
| VolumeSource | vs_cd | Volume Source | ||
| Transporter | trnsp_no | Transporter nbr | ||
| TransporterReference | trnsp_ref_no | Trsprt.Ref. | ||
| BslnNmbrOfDaysProduced | Days produced | |||
| TicketNumber | tkt_no | Ticket Number | ||
| TicketDateTime | tkt_timestamp | Ticket timestp | ||
| OriginatingMeasurementPt | orig_mp_no | Originating MP | ||
| ThrtclVolUnit | theo_u | Theo. unit | ||
| TheoreticalVolume | theo | Theo. volume | ||
| ConversionGroup | conv_grp | Conv. Grp. | ||
| StandardVolUnit | std_vol_u | Unit | ||
| BaselineStandardVolume | std_vol | Volume | ||
| EnergyUnit | energy_u | UoM | ||
| BaselineEnergy | energy | Energy Qty. | ||
| HeatingValUnit | heat_val_u | HV Unit | ||
| BaselineHeatingValue | heat_val | Heat.val.factor | ||
| BaselineStandardDensity | base_density | Std. density | ||
| StandardDensityUnit | base_density_u | Unit | ||
| DensityType | dentyp | Dens. Type | ||
| GasMolarVolume | mol_volume | Ratio/Mole % | ||
| InventoryDate | invt_dt | Inventory date | ||
| CrossRefWell | xref_wl_no | Crossref.Wl.No. | ||
| CrossRefWellCompletion | xref_wc_no | Crossref.WC.No. | ||
| 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_PRATstBslnProdnRslts.
-- 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: IPRATBPR
CREATE VIEW I_PRATstBslnProdnRslts AS
SELECT
pr_version_id AS PRATstAllocVersion,
wcdvlh_no AS WellCompltnVolDoc,
doc_year AS WellCompltnVolDocYr,
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 BaselineMaterial,
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,
cast( days_prod as oiu_vdm_int_days_of_prod ) AS BslnNmbrOfDaysProduced,
tkt_no AS TicketNumber,
tkt_timestamp AS TicketDateTime,
orig_mp_no AS OriginatingMeasurementPt,
theo_u AS ThrtclVolUnit,
theo AS TheoreticalVolume,
conv_grp AS ConversionGroup,
std_vol_u AS StandardVolUnit,
std_vol AS BaselineStandardVolume,
energy_u AS EnergyUnit,
energy AS BaselineEnergy,
heat_val_u AS HeatingValUnit,
heat_val AS BaselineHeatingValue,
base_density AS BaselineStandardDensity,
base_density_u AS StandardDensityUnit,
dentyp AS DensityType,
mol_volume AS GasMolarVolume,
invt_dt AS InventoryDate,
xref_wl_no AS CrossRefWell,
xref_wc_no AS CrossRefWellCompletion,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime,
cast( '001' as abap.numc(3) ) AS SequenceNumber
FROM oiutv_wcdvlh_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