I_PRAWellCompletionDated
Well Completion Variable Data
I_PRAWellCompletionDated (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
PRAWellCompletionDated · Cross Applications
I_PRAWellCompletionDated is a Basic CDS View that provides data about "Well Completion Variable Data" in SAP S/4HANA. It reads from 1 data source (oiu_pr_wcvd) and exposes 32 fields with key fields Well, WellCompletion, EffectiveFromDate. It has 12 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Capabilities | Analytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view defines details about a well completion that are effective within a specified date range. This is used for situations in which you want to create a well completion ID specific to a set date range.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_pr_wcvd | oiu_pr_wcvd | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_PRACrudeType | _CrudeType | $projection.PRACrudeTypeCode = _CrudeType.PRACrudeTypeCode |
| [0..1] | I_PRACalorificValueClassVH | _HeatingValueClass | $projection.HeatingValueClass = _HeatingValueClass.PRACalorificValueClass |
| [0..1] | I_Indicator | _NetworkIsOperated | $projection.NetworkIsOperated = _NetworkIsOperated.IndicatorValue |
| [0..1] | I_Customer | _Operator | $projection.Operator = _Operator.Customer |
| [0..1] | I_PRAProducingMethodCodeVH | _ProducingMethodCode | $projection.ProducingMethod = _ProducingMethodCode.ProducingMethod |
| [0..1] | I_WBSElementBasicData | _WBSElement | $projection.PRAWellCompletionWBSIdentifier = _WBSElement.WBSElementInternalID |
| [0..1] | I_PRAWellClassCodeVH | _WellClassCode | $projection.PRAWellClassCode = _WellClassCode.PRAWellClassCode |
| [1..1] | I_PRAWell | _Well | $projection.Well = _Well.Well |
| [1..1] | I_PRAWellCompletion | _WellCompletion | $projection.Well = _WellCompletion.Well and $projection.WellCompletion = _WellCompletion.WellCompletion |
| [0..1] | I_PRAWellCompletionStatusVH | _WellCompletionStatus | $projection.PRAWellCompltnStatus = _WellCompletionStatus.PRAWellCompltnStatus |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Well Completion Variable Data | view | |
| ObjectModel.representativeKey | WellCompletion | view | |
| ObjectModel.sapObjectNodeType.name | PRAWellCompletionDated | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Well | wl_no | Well ID number | |
| KEY | WellCompletion | wc_no | Well Completion Number | |
| KEY | EffectiveFromDate | eff_from_dt | Effective From Date | |
| EffectiveToDate | eff_to_dt | Effective To Date | ||
| HeatingValueClass | hvcls | Heating Value Class (calorific value class) | ||
| PRACrudeTypeCode | crud_type_cd | Crude type code | ||
| NetworkIsOperated | op_fl | Operated flag | ||
| CycleIsContinuous | contn_fl | Continuous Flag | ||
| PRAWellCount | wl_count | Well Count | ||
| ProducingMethod | prd_mth_cd | Producing method code | ||
| PRAWellClassCode | wl_class_cd | Well class code | ||
| CompanyCode | bukrs | Company Code | ||
| CostCenter | cost_center | Posted Cost Center | ||
| Operator | operator | Type of OPTION component in row type of a Ranges type | ||
| PRAWellCompltnStatus | status_cd | Well completion status code | ||
| PRAWellCompletionWBSIdentifier | WBS Element | |||
| PRAWellCompletionWBSElement | WBS Element | |||
| PRAExternalLossPercent | ext_loss_pc | Ext. Loss Percentage | ||
| CreatedByUser | oiu_cruser | Name of Person Responsible for Creating the Object | ||
| CreationDateTime | oiu_timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| _CompanyCode | _CompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _CrudeType | _CrudeType | |||
| _HeatingValueClass | _HeatingValueClass | |||
| _NetworkIsOperated | _NetworkIsOperated | |||
| _Operator | _Operator | |||
| _ProducingMethodCode | _ProducingMethodCode | |||
| _WBSElement | _WBSElement | |||
| _Well | _Well | |||
| _WellClassCode | _WellClassCode | |||
| _WellCompletion | _WellCompletion | |||
| _WellCompletionStatus | _WellCompletionStatus |
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_PRAWellCompletionDated.
-- 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_PRAWellCompletionDated AS
SELECT
wl_no AS Well,
wc_no AS WellCompletion,
eff_from_dt AS EffectiveFromDate,
eff_to_dt AS EffectiveToDate,
hvcls AS HeatingValueClass,
crud_type_cd AS PRACrudeTypeCode,
op_fl AS NetworkIsOperated,
contn_fl AS CycleIsContinuous,
wl_count AS PRAWellCount,
prd_mth_cd AS ProducingMethod,
wl_class_cd AS PRAWellClassCode,
bukrs AS CompanyCode,
cost_center AS CostCenter,
Operator,
status_cd AS PRAWellCompltnStatus,
cast ( pspnr as ps_s4_pspnr preserving type ) AS PRAWellCompletionWBSIdentifier,
cast ( _WBSElement.WBSElement as ps_s4_posid preserving type ) AS PRAWellCompletionWBSElement,
ext_loss_pc AS PRAExternalLossPercent,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime
FROM oiu_pr_wcvd
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_PRACrudeType AS _CrudeType ON PRACrudeTypeCode = _CrudeType.PRACrudeTypeCode -- association [0..1]
LEFT OUTER JOIN I_PRACalorificValueClassVH AS _HeatingValueClass ON HeatingValueClass = _HeatingValueClass.PRACalorificValueClass -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _NetworkIsOperated ON NetworkIsOperated = _NetworkIsOperated.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Operator ON Operator = _Operator.Customer -- association [0..1]
LEFT OUTER JOIN I_PRAProducingMethodCodeVH AS _ProducingMethodCode ON ProducingMethod = _ProducingMethodCode.ProducingMethod -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON PRAWellCompletionWBSIdentifier = _WBSElement.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_PRAWellClassCodeVH AS _WellClassCode ON PRAWellClassCode = _WellClassCode.PRAWellClassCode -- association [0..1]
LEFT OUTER JOIN I_PRAWell AS _Well ON Well = _Well.Well -- association [1..1]
LEFT OUTER JOIN I_PRAWellCompletion AS _WellCompletion ON Well = _WellCompletion.Well AND WellCompletion = _WellCompletion.WellCompletion -- association [1..1]
LEFT OUTER JOIN I_PRAWellCompletionStatusVH AS _WellCompletionStatus ON PRAWellCompltnStatus = _WellCompletionStatus.PRAWellCompltnStatus -- association [0..1]
;
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