C_ONRRRptgHistPRADetQ
ONRR PRA Reporting Details Query
C_ONRRRptgHistPRADetQ (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
C_ONRRRptgHistPRADetQ is a Consumption CDS View that provides data about "ONRR PRA Reporting Details Query" in SAP S/4HANA. It reads from 1 data source (I_ONRRRptgHistoryPRADetails) and exposes 69 fields.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | IS-OIL-PRA |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
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 |
|---|---|---|
| I_ONRRRptgHistoryPRADetails | I_ONRRRptgHistoryPRADetails | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | ONRR PRA Reporting Details Query | view | |
| Analytics.query | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AbapCatalog.sqlViewName | CPVONRRREPHISDQ | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (69)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SalesDate | SalesDate | Sales Date / Month | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| JointVenture | JointVenture | Joint venture | ||
| DivisionOfInterest | DivisionOfInterest | Division of Interest (DOI) | ||
| Well | Well | Well ID number | ||
| WellCompletion | WellCompletion | Well Completion Number | ||
| PRAContract | PRAContract | Contract Number | ||
| VolumeType | VolumeType | Volume Type Code | ||
| Product | Product | Full three char. product code (Major and Detail Products) | ||
| PRAOwner | PRAOwner | Owner Number | ||
| GLAccount | GLAccount | G/L Account Number | ||
| CostCenter | CostCenter | Cost Center | ||
| ONRRBusinessTransactionType | ONRRBusinessTransactionType | ONRR-2014 - PRA Detail Line Type | ||
| ProcessRun | ProcessRun | Proc 2.0 - Run ID | ||
| AgencyReportType | AgencyReportType | Proc 2.0 - Amended/Current Indicator | ||
| PriorPeriodAdjustmentReason | PriorPeriodAdjustmentReason | Prior Period Adjustment Reason Code | ||
| VolumeUnit | VolumeUnit | Volume Base Unit of Measure | ||
| EnergyUnit | EnergyUnit | Energy Base Unit Of Measure | ||
| Currency | Currency | Valuation Crcy | ||
| DeliveryNetwork | DeliveryNetwork | Delivery network number | ||
| MasterDataRecordingLvl | MasterDataRecordingLvl | ONRR-2014 - Master Level | ||
| ONRRPayerCode | ONRRPayerCode | ONRR-2014 - Payor Code | ||
| ONRRLease | ONRRLease | ONRR-2014 - Lease Number | ||
| ONRRAgreement | ONRRAgreement | ONRR-2014 - Agreement Number | ||
| IsCompensatoryRoyalty | IsCompensatoryRoyalty | ONRR-2014 - Compensatory Royalty Flag | ||
| IsSection6LeaseOverride | IsSection6LeaseOverride | ONRR-2014 - Section 6 Lease Flag | ||
| IsShallowWaterRoyaltyRelieved | IsShallowWaterRoyaltyRelieved | ONRR-2014 - Royalty Relief - Shallow Flag | ||
| IsDeepWaterRoyaltyRelieved | IsDeepWaterRoyaltyRelieved | ONRR-2014 - Royalty Relief - Deep Flag | ||
| IsRptgAtAPIWellLvl | IsRptgAtAPIWellLvl | ONRR-2014 - Report API Well Flag | ||
| ONRRLessorType | ONRRLessorType | ONRR-2014 - Lessor Code | ||
| TribalOrAllotteeLeaseType | TribalOrAllotteeLeaseType | ONRR-2014 - Tribal / Allottee Indicator | ||
| RoyaltyPaytDistributeeType | RoyaltyPaytDistributeeType | ONRR-2014 - Distributee Code | ||
| OnOrOffShoreLeaseSale | OnOrOffShoreLeaseSale | ONRR-2014 - On-Shore/Off-Shore Indicator | ||
| IndianIndexZone | IndianIndexZone | ONRR-2014 - Index Zone | ||
| ONRRLeaseName | ONRRLeaseName | ONRR-2014 - Lease Name | ||
| IsSection6Lease | IsSection6Lease | Section 6 | ||
| HasTransactionCode37 | HasTransactionCode37 | Transaction 37 | ||
| HasTransactionCode38 | HasTransactionCode38 | Transaction 38 | ||
| ONRRSalesType | ONRRSalesType | ONRR-2014 - Sales Type Code | ||
| APIWellNumber | APIWellNumber | ONRR-2014 - API Well Number | ||
| ONRRReportedProduct | ONRRReportedProduct | ONRR-2014 - Product Code | ||
| ONRRReportedTransType | ONRRReportedTransType | ONRR-2014 - Transaction Code | ||
| ONRRPaymentMethod | ONRRPaymentMethod | ONRR-2014 - Payment Method Code | ||
| ONRRReportStatus | ONRRReportStatus | ONRR-2014 - Status | ||
| ONRROverrideAdjmtReason | ONRROverrideAdjmtReason | ONRR-2014 - Override Adjustment Code | ||
| IsRejectOverridden | IsRejectOverridden | ONRR-2014 - Override Reject Flag | ||
| OverrideDocument | OverrideDocument | ONRR-2014 - Override Payor Assigned Document Number | ||
| FutureRptHasRoyaltyDueAdjmt | FutureRptHasRoyaltyDueAdjmt | ONRR-2014: Persist Royalty Due Adjustment | ||
| SalesFigureIsToBeRecalculated | SalesFigureIsToBeRecalculated | ONRR-2014: Recalculate Sales Vol/Val | ||
| CreatedByUser | CreatedByUser | Created By | ||
| CreationDateTime | CreationDateTime | Created On Timestamp | ||
| RoyaltyRate | RoyaltyRate | ONRR-2014 - Royalty Rate | ||
| AllocationPercent | AllocationPercent | ONRR-2014 - Allocation Percent | ||
| OverrideRoyaltyRate | OverrideRoyaltyRate | ONRR-2014 - Override Royalty Rate | ||
| OwnerNetAmount | OwnerNetAmount | Owner Net Value | ||
| OwnerNetVolInVolUnit | OwnerNetVolInVolUnit | Owner Net Volume | ||
| OwnerGrossAmount | OwnerGrossAmount | Owner Gross Value | ||
| OwnerEnergyInEnergyUnit | OwnerEnergyInEnergyUnit | Owner Energy | ||
| GrossAmount | GrossAmount | Gross value | ||
| GrossVolInVolUnit | GrossVolInVolUnit | Total Gross Volume | ||
| GrossEnergyInEnergyUnit | GrossEnergyInEnergyUnit | Gross Energy | ||
| TranspAllwncDeductAdjmtAmt | TranspAllwncDeductAdjmtAmt | ONRR-2014 - Transportation Allowance Deduction Adjustment | ||
| ProcgAllwncDeductAdjmtAmt | ProcgAllwncDeductAdjmtAmt | ONRR-2014 - Processing Allowance Deduction Adjustment | ||
| RoyaltyDueAdjustmentAmount | RoyaltyDueAdjustmentAmount | ONRR-2014 - Royalty Due Adjustment | ||
| TranspAllwncDeductAmt | TranspAllwncDeductAmt | ONRR-2014 - Transportation Allowance Deduction | ||
| ProcgAllwncDeductAmt | ProcgAllwncDeductAmt | ONRR-2014 - Processing Allowance Deduction | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| TaxReimbursementAmount | TaxReimbursementAmount | ONRR-2014 - Tax Reimbursement | ||
| MarketingReimbursementAmount | MarketingReimbursementAmount | ONRR-2014 - Marketing Reimbursement |
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 C_ONRRRptgHistPRADetQ.
-- 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: CPVONRRREPHISDQ
CREATE VIEW C_ONRRRptgHistPRADetQ AS
SELECT
SalesDate,
CompanyCode,
JointVenture,
DivisionOfInterest,
Well,
WellCompletion,
PRAContract,
VolumeType,
Product,
PRAOwner,
GLAccount,
CostCenter,
ONRRBusinessTransactionType,
ProcessRun,
AgencyReportType,
PriorPeriodAdjustmentReason,
VolumeUnit,
EnergyUnit,
Currency,
DeliveryNetwork,
MasterDataRecordingLvl,
ONRRPayerCode,
ONRRLease,
ONRRAgreement,
IsCompensatoryRoyalty,
IsSection6LeaseOverride,
IsShallowWaterRoyaltyRelieved,
IsDeepWaterRoyaltyRelieved,
IsRptgAtAPIWellLvl,
ONRRLessorType,
TribalOrAllotteeLeaseType,
RoyaltyPaytDistributeeType,
OnOrOffShoreLeaseSale,
IndianIndexZone,
ONRRLeaseName,
IsSection6Lease,
HasTransactionCode37,
HasTransactionCode38,
ONRRSalesType,
APIWellNumber,
ONRRReportedProduct,
ONRRReportedTransType,
ONRRPaymentMethod,
ONRRReportStatus,
ONRROverrideAdjmtReason,
IsRejectOverridden,
OverrideDocument,
FutureRptHasRoyaltyDueAdjmt,
SalesFigureIsToBeRecalculated,
CreatedByUser,
CreationDateTime,
RoyaltyRate,
AllocationPercent,
OverrideRoyaltyRate,
OwnerNetAmount,
OwnerNetVolInVolUnit,
OwnerGrossAmount,
OwnerEnergyInEnergyUnit,
GrossAmount,
GrossVolInVolUnit,
GrossEnergyInEnergyUnit,
TranspAllwncDeductAdjmtAmt,
ProcgAllwncDeductAdjmtAmt,
RoyaltyDueAdjustmentAmount,
TranspAllwncDeductAmt,
ProcgAllwncDeductAmt,
TaxAmount,
TaxReimbursementAmount,
MarketingReimbursementAmount
FROM I_ONRRRptgHistoryPRADetails
;
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