I_PRATstValnCrsRefVH
Value Help for VCR
I_PRATstValnCrsRefVH is a Basic CDS View that provides data about "Value Help for VCR" in SAP S/4HANA. It reads from 1 data source (oiu_rv_vcr) and exposes 41 fields with key field DeliveryNetwork. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_rv_vcr | oiu_rv_vcr | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DeliveryNetwork | _DeliveryNetwork | $projection.DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork |
| [1..1] | I_PRAJointVenture | _PRAJointVenture | $projection.PRAJointVenture = _PRAJointVenture.PRAJointVenture and $projection.CompanyCode = _PRAJointVenture.CompanyCode |
| [1..1] | I_PRAMaintDOI | _PRAMaintDOI | $projection.PRAJointVenture = _PRAMaintDOI.PRAJointVenture and $projection.DivisionOfInterest = _PRAMaintDOI.DivisionOfInterest and $projection.CompanyCode = _PRAMaintDOI.CompanyCode |
| [1..1] | I_PRAContract | _PRAContract | $projection.PRAContract = _PRAContract.PRAContract |
| [1..1] | I_Well | _Well | $projection.Well = _Well.Well |
| [1..1] | I_WellCompletion | _WellCompletion | $projection.Well = _WellCompletion.Well and $projection.WellCompletion = _WellCompletion.WellCompletion |
| [1..1] | I_MeasurementPoint | _MeasurementPoint | $projection.MeasurementPoint = _MeasurementPoint.MeasurementPoint |
| [0..1] | I_MajorProduct | _MajorProduct | $projection.MajorProduct = _MajorProduct.MajorProduct |
| [1..1] | I_PRAValuationFormulaID | _PRAValuationFormulaID | _PRAValuationFormulaID.PRAFormulaNumber = $projection.PRAFormulaNumber |
| [1..1] | I_MeasurementPtType | _MeasurementPtType | _MeasurementPtType.MeasurementPtType = $projection.MeasurementPtType |
| [1..1] | I_AllocationFrequencyCode | _AllocationFrequencyCode | $projection.AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency |
| [0..1] | I_PRAGroupCodeVH | _PRAGroupCodeVH | $projection.PRAGroupCode = _PRAGroupCodeVH.PRAGroupCode |
| [1..1] | I_CompanyCode | _CompanyCode | _CompanyCode.CompanyCode = $projection.CompanyCode |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRAVALNCRSREFVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Value Help for VCR | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryNetwork | dn_no | Delivery network ID | |
| PRAJointVenture | vname | Volatility Name | ||
| DivisionOfInterest | doi_no | Venture/DOI | ||
| PRAContract | ct_no | Contract | ||
| Well | wl_no | Well | ||
| WellCompletion | wc_no | Well Completion | ||
| MeasurementPoint | mp_no | Measurement Pt | ||
| DeliveryNetworkName | _DeliveryNetwork | DeliveryNetworkName | ||
| PRAJointVentureName | _PRAJointVenture | PRAJointVentureName | ||
| DivisionOfInterestDesc | _PRAMaintDOI | DivisionOfInterestDesc | DOI Description | |
| PRAContractDesc | _PRAContract | PRAContractDesc | ||
| WellName | _Well | WellName | ||
| WellCompletionName | _WellCompletion | WellCompletionName | ||
| MeasurementPtName | _MeasurementPoint | MeasurementPtName | MP descr. | |
| CompanyCode | bukrs | Value | ||
| MajorProduct | majpd_cd | Major Product | ||
| AllocationFrequency | freq_cd | Frequency | ||
| EffectiveFromDate | eff_from_dt | Effective From Date | ||
| EffectiveToDate | eff_to_dt | Effective To Date | ||
| PRAValnCrsRefNumber | vcr_no | VCR no | ||
| PRAFormulaNumber | frml_no | Formula Number | ||
| MeasurementPtType | mp_type_cd | MP Type | ||
| PRAHasContractDiversity | ca_dvrs_fl | Contract Dvrs | ||
| PRAHasSettlementDiversity | stlmt_dvrs_fl | Settlement Dvrs | ||
| PRAValnCrossRefIsApproved | vcr_appr_fl | Approval | ||
| PRAGroupCode | group_cd | Group Code | ||
| CreatedByUser | oiu_cruser | Created By | ||
| CreationDateTime | oiu_timestamp | Timestamp | ||
| _MajorProduct | _MajorProduct | |||
| _AllocationFrequencyCode | _AllocationFrequencyCode | |||
| _DeliveryNetwork | _DeliveryNetwork | |||
| _WellCompletion | _WellCompletion | |||
| _MeasurementPoint | _MeasurementPoint | |||
| _CompanyCode | _CompanyCode | |||
| _PRAJointVenture | _PRAJointVenture | |||
| _PRAMaintDOI | _PRAMaintDOI | |||
| _PRAValuationFormulaID | _PRAValuationFormulaID | |||
| _MeasurementPtType | _MeasurementPtType | |||
| _PRAGroupCodeVH | _PRAGroupCodeVH | |||
| _Well | _Well | |||
| _PRAContract | _PRAContract |
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_PRATstValnCrsRefVH.
-- 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: IPRAVALNCRSREFVH
CREATE VIEW I_PRATstValnCrsRefVH AS
SELECT
dn_no AS DeliveryNetwork,
vname AS PRAJointVenture,
doi_no AS DivisionOfInterest,
ct_no AS PRAContract,
wl_no AS Well,
wc_no AS WellCompletion,
mp_no AS MeasurementPoint,
_DeliveryNetwork.DeliveryNetworkName AS DeliveryNetworkName,
_PRAJointVenture.PRAJointVentureName AS PRAJointVentureName,
_PRAMaintDOI.DivisionOfInterestDesc AS DivisionOfInterestDesc,
_PRAContract.PRAContractDesc AS PRAContractDesc,
_Well.WellName AS WellName,
_WellCompletion.WellCompletionName AS WellCompletionName,
_MeasurementPoint.MeasurementPtName AS MeasurementPtName,
bukrs AS CompanyCode,
majpd_cd AS MajorProduct,
freq_cd AS AllocationFrequency,
eff_from_dt AS EffectiveFromDate,
eff_to_dt AS EffectiveToDate,
vcr_no AS PRAValnCrsRefNumber,
frml_no AS PRAFormulaNumber,
mp_type_cd AS MeasurementPtType,
ca_dvrs_fl AS PRAHasContractDiversity,
stlmt_dvrs_fl AS PRAHasSettlementDiversity,
vcr_appr_fl AS PRAValnCrossRefIsApproved,
group_cd AS PRAGroupCode,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime
FROM oiu_rv_vcr
LEFT OUTER JOIN I_DeliveryNetwork AS _DeliveryNetwork ON DeliveryNetwork = _DeliveryNetwork.DeliveryNetwork -- association [1..1]
LEFT OUTER JOIN I_PRAJointVenture AS _PRAJointVenture ON PRAJointVenture = _PRAJointVenture.PRAJointVenture AND CompanyCode = _PRAJointVenture.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_PRAMaintDOI AS _PRAMaintDOI ON PRAJointVenture = _PRAMaintDOI.PRAJointVenture AND DivisionOfInterest = _PRAMaintDOI.DivisionOfInterest AND CompanyCode = _PRAMaintDOI.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_PRAContract AS _PRAContract ON PRAContract = _PRAContract.PRAContract -- association [1..1]
LEFT OUTER JOIN I_Well AS _Well ON Well = _Well.Well -- association [1..1]
LEFT OUTER JOIN I_WellCompletion AS _WellCompletion ON Well = _WellCompletion.Well AND WellCompletion = _WellCompletion.WellCompletion -- association [1..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON MeasurementPoint = _MeasurementPoint.MeasurementPoint -- association [1..1]
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON MajorProduct = _MajorProduct.MajorProduct -- association [0..1]
LEFT OUTER JOIN I_PRAValuationFormulaID AS _PRAValuationFormulaID ON _PRAValuationFormulaID.PRAFormulaNumber = PRAFormulaNumber -- association [1..1]
LEFT OUTER JOIN I_MeasurementPtType AS _MeasurementPtType ON _MeasurementPtType.MeasurementPtType = MeasurementPtType -- association [1..1]
LEFT OUTER JOIN I_AllocationFrequencyCode AS _AllocationFrequencyCode ON AllocationFrequency = _AllocationFrequencyCode.AllocationFrequency -- association [1..1]
LEFT OUTER JOIN I_PRAGroupCodeVH AS _PRAGroupCodeVH ON PRAGroupCode = _PRAGroupCodeVH.PRAGroupCode -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = CompanyCode -- association [1..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