I_PRATstValnCrsRefVH

DDL: I_PRATSTVALNCRSREFVH SQL: IPRAVALNCRSREFVH Type: view BASIC

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)

SourceAliasJoin Type
oiu_rv_vcr oiu_rv_vcr from

Associations (13)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;