I_PRAWellTestHdr
PRA Well Test Header
I_PRAWellTestHdr is a Basic CDS View (Cube) that provides data about "PRA Well Test Header" in SAP S/4HANA. It reads from 1 data source (oiu_pr_wctst) and exposes 40 fields with key fields PRAWellTestNumber, PRAWellTestDocYear. Part of development package OIU_VDM_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_pr_wctst | oiu_pr_wctst | from |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | PRA Well Test Header | view | |
| AbapCatalog.sqlViewName | IPRAWELLTEST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #BASIC | view | |
| OData.entityType.name | WellTest_Type | view | |
| OData.entitySet.name | WellTest | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PRAWellTestNumber | wctst_no | Well Test No | |
| KEY | PRAWellTestDocYear | doc_year | Mat. Doc. Year | |
| Well | wl_no | Well | ||
| WellCompletion | wc_no | Well Completion | ||
| PRAWellTestDateTime | test_dt | Test date | ||
| PRAStreamTypeCode | strm_type_cd | Multi strm type | ||
| PRATestTypeCode | tst_type_cd | Test type | ||
| PRAIsAllocated | al_fl | Allocated | ||
| PRAOilCondensateUnit | oc_u | Oil Cond. Unit | ||
| PRAOilCondensateQuantity | oc | Original value | ||
| PRAWaterUnit | water_u | Water Unit | ||
| PRAWaterQuantity | water | Water Quantity | ||
| PRADurationHours | dur_hrs | Duration hours | ||
| PRADurationMinutes | dur_min | Duration Min. | ||
| HeatingValUnit | heat_val_u | HV Unit | ||
| HeatingValue | heat_val | Heat.val.factor | ||
| PRAGasLiftGasUnit | glg_u | GLG Unit | ||
| PRAGasLiftGasQuantity | glg | Gas Lift Gas | ||
| PRAGasUnit | gas_u | Gas Unit | ||
| PRAGasQuantity | gas | Gas | ||
| PRANetGasUnit | net_gas_u | Net Gas Ut | ||
| PRANetGasQuantity | net_gas | Net Gas | ||
| PRANitrogenGasPercent | n2_pc | N2 Percent | ||
| PRACarbon2OxidePct | co2_pc | CO2 PC | ||
| PRAPercentUnit | _UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | |
| PRAChokeSize | cho_sz | Choke size | ||
| PRAChokeSizeUnit | cho_sz_u | Choke unit | ||
| PRAFlowPressureUnit | flo_ps_u | Flow PS unit | ||
| PRAFlowPressure | flo_ps | Flow PS | ||
| PRATemperatureUnit | tmp_u | Temp unit | ||
| PRAWellTestTemperature | tmp | Temp. | ||
| PRADensityAtStdBaseCndnUnit | base_density_u | Unit | ||
| PRADensityAtStdBaseCndnQty | base_density | Std. density | ||
| PRADensityType | dentyp | Dens. Type | ||
| CreatedByUser | oiu_cruser | Created By | ||
| PRACreationDateTime | oiu_timestamp | Timestamp | ||
| OriginTransaction | ||||
| _Well | _Well | |||
| _WellCompletion | _WellCompletion | |||
| _UnitOfMeasure | _UnitOfMeasure |
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_PRAWellTestHdr.
-- 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.
CREATE VIEW I_PRAWellTestHdr AS
SELECT
wctst_no AS PRAWellTestNumber,
doc_year AS PRAWellTestDocYear,
wl_no AS Well,
wc_no AS WellCompletion,
test_dt AS PRAWellTestDateTime,
strm_type_cd AS PRAStreamTypeCode,
tst_type_cd AS PRATestTypeCode,
al_fl AS PRAIsAllocated,
oc_u AS PRAOilCondensateUnit,
oc AS PRAOilCondensateQuantity,
water_u AS PRAWaterUnit,
water AS PRAWaterQuantity,
dur_hrs AS PRADurationHours,
dur_min AS PRADurationMinutes,
heat_val_u AS HeatingValUnit,
heat_val AS HeatingValue,
glg_u AS PRAGasLiftGasUnit,
glg AS PRAGasLiftGasQuantity,
gas_u AS PRAGasUnit,
gas AS PRAGasQuantity,
net_gas_u AS PRANetGasUnit,
net_gas AS PRANetGasQuantity,
n2_pc AS PRANitrogenGasPercent,
co2_pc AS PRACarbon2OxidePct,
_UnitOfMeasure.UnitOfMeasure AS PRAPercentUnit,
cho_sz AS PRAChokeSize,
cho_sz_u AS PRAChokeSizeUnit,
flo_ps_u AS PRAFlowPressureUnit,
flo_ps AS PRAFlowPressure,
tmp_u AS PRATemperatureUnit,
tmp AS PRAWellTestTemperature,
base_density_u AS PRADensityAtStdBaseCndnUnit,
base_density AS PRADensityAtStdBaseCndnQty,
dentyp AS PRADensityType,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS PRACreationDateTime,
cast ( 'O3U_WLTS3' as fqm_origin_trans_id ) AS OriginTransaction
FROM oiu_pr_wctst
;
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