I_PRAValnDocTransUnitVolume
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
| Category | CDS Views for Production and Revenue Accounting (PRA) |
|---|
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 )
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Capabilities | Data Source in SQL Select |
| Package | Cross 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
- 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 |
|---|---|---|
| oiurv_doc_volunt | oiurv_doc_volunt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_VolumeClass | _VolumeClass | _VolumeClass.VolumeClass = $projection.VolumeClass |
| [0..1] | I_PRALevelCodeVH | _PRALevelCodeVH | _PRALevelCodeVH.PRALevelCode = $projection.PRALevelCode |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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