I_PRAValnDocTransUnitVolume

DDL: I_PRAVALNDOCTRANSUNITVOLUME Type: view_entity BASIC

Valuation Document Concept Volume Unit

I_PRAValnDocTransUnitVolume (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

PRAValnDocTransUnitVolume · Cross Applications

I_PRAValnDocTransUnitVolume is a Basic CDS View that provides data about "Valuation Document Concept Volume Unit" in SAP S/4HANA. It reads from 1 data source (oiurv_doc_volunt) and exposes 44 fields with key fields ValuationDocumentNumber, PRAWellTestDocYear, ValuationDocumentLineNumber, PRAPositionNumber. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Production and Revenue Accounting (PRA)
Purpose
This CDS view provides details on the volumes for unit ventures that are processed by the valuation document.

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: O_OIU_TXN:ACTVT-03 (Mapping role for I_PRAValnDocTransUnitVolume )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesData Source in SQL Select
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides details on the volumes for unit ventures that are processed by the valuation document. </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
oiurv_doc_volunt oiurv_doc_volunt from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_VolumeClass _VolumeClass _VolumeClass.VolumeClass = $projection.VolumeClass
[0..1] I_PRALevelCodeVH _PRALevelCodeVH _PRALevelCodeVH.PRALevelCode = $projection.PRALevelCode

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Valuation Document Concept Volume Unit view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
ObjectModel.sapObjectNodeType.name PRAValnDocTransUnitVolume view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY ValuationDocumentNumber doc_no Val. document number
KEY PRAWellTestDocYear doc_year Mat. Doc. Year
KEY ValuationDocumentLineNumber line_no Document Line Number
KEY PRAPositionNumber pos_no Tax doc. item number
CompanyCode tr_bukrs Company Code
PRAJointVenture tr_vname Joint venture
DivisionOfInterest tr_doi Division of Interest (DOI)
PRASchoolDistrictCode school_dist_cd School district code
PRATaxClass tax_cls Tax Class
VolumeType vl_type_cd Volume type code
VolumeClass vl_cls_cd Volume class code
PRALevelCode lvl_cd Level Code
PRAWorkingInterestOwner wi_own_no Working Interest Owner
OwnerInterestType wi_int_type_cd Participant Interest Type
OwnerInterestSequence wi_own_isq_no Owner Interest Sequence Number
PRANetInterestOwner ni_own_no Net Interest Owner
NetInterestOwnerInterestType ni_int_type_cd Participant Interest Type
NetIntrstOwnerInterestSequence ni_own_isq_no Owner Interest Sequence Number
OriginatingMeasurementPt orig_mp_no Original measurement point number
MeasurementPtType mp_type_cd Measurement point type code
Well pc_wl_no Well ID number
WellCompletion pc_wc_no Well Completion Number
MeasurementPoint pc_mp_no Measurement point number
PRAContract oicontnr Contract Number
SDPricingProcedure kalsm Pricing Procedure in Pricing
ConditionType kschl Condition Type
ActualGrossVolume actl_gr_vl Actual Gross Volume Amount
PRAActualGrossVolumeUnit actl_gr_vl_u Measurement unit
EntldGrossVolume entl_gr_vl Entitled Gross Volume Amount
PRAEntitledGrossVolUnit entl_gr_vl_u Measurement unit
PRASettlementGrossVolume sett_gr_vl Settlement Gross Volume Amount
PRASettlementGrossVolUnit sett_gr_vl_u Measurement unit
ActualEnergy actl_energy Actual Energy
PRAActualEnergyUnit actl_energy_u Measurement unit
PRAEntitlementEnergy entl_energy Entitlement Energy
PRAEntitledEnergyUnit entl_energy_u Measurement unit
PRASettlementEnergy sett_energy Settlement Amount
PRASettlementEnergyUnit sett_energy_u Measurement unit
PRAActualHeatingFactorQty act_heat_val_fct Actual Heating Factor
PRAHeatingValueFactorUnit heat_value_fct_u Measurement unit
Transporter trnsp_no Transporter number
TransporterReference trnsp_ref_no Transporter Reference Number
_VolumeClass _VolumeClass
_PRALevelCodeVH _PRALevelCodeVH

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_PRAValnDocTransUnitVolume.
-- 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_PRAValnDocTransUnitVolume AS
SELECT
  doc_no AS ValuationDocumentNumber,
  doc_year AS PRAWellTestDocYear,
  line_no AS ValuationDocumentLineNumber,
  pos_no AS PRAPositionNumber,
  tr_bukrs AS CompanyCode,
  tr_vname AS PRAJointVenture,
  tr_doi AS DivisionOfInterest,
  school_dist_cd AS PRASchoolDistrictCode,
  tax_cls AS PRATaxClass,
  vl_type_cd AS VolumeType,
  vl_cls_cd AS VolumeClass,
  lvl_cd AS PRALevelCode,
  wi_own_no AS PRAWorkingInterestOwner,
  wi_int_type_cd AS OwnerInterestType,
  wi_own_isq_no AS OwnerInterestSequence,
  ni_own_no AS PRANetInterestOwner,
  ni_int_type_cd AS NetInterestOwnerInterestType,
  ni_own_isq_no AS NetIntrstOwnerInterestSequence,
  orig_mp_no AS OriginatingMeasurementPt,
  mp_type_cd AS MeasurementPtType,
  pc_wl_no AS Well,
  pc_wc_no AS WellCompletion,
  pc_mp_no AS MeasurementPoint,
  oicontnr AS PRAContract,
  kalsm AS SDPricingProcedure,
  kschl AS ConditionType,
  actl_gr_vl AS ActualGrossVolume,
  actl_gr_vl_u AS PRAActualGrossVolumeUnit,
  entl_gr_vl AS EntldGrossVolume,
  entl_gr_vl_u AS PRAEntitledGrossVolUnit,
  sett_gr_vl AS PRASettlementGrossVolume,
  sett_gr_vl_u AS PRASettlementGrossVolUnit,
  actl_energy AS ActualEnergy,
  actl_energy_u AS PRAActualEnergyUnit,
  entl_energy AS PRAEntitlementEnergy,
  entl_energy_u AS PRAEntitledEnergyUnit,
  sett_energy AS PRASettlementEnergy,
  sett_energy_u AS PRASettlementEnergyUnit,
  act_heat_val_fct AS PRAActualHeatingFactorQty,
  heat_value_fct_u AS PRAHeatingValueFactorUnit,
  trnsp_no AS Transporter,
  trnsp_ref_no AS TransporterReference
FROM oiurv_doc_volunt
LEFT OUTER JOIN I_VolumeClass AS _VolumeClass ON _VolumeClass.VolumeClass = VolumeClass  -- association [0..1]
LEFT OUTER JOIN I_PRALevelCodeVH AS _PRALevelCodeVH ON _PRALevelCodeVH.PRALevelCode = PRALevelCode  -- association [0..1]
;