C_PRATaxRptgHistWYConsvnQry

DDL: C_PRATAXRPTGHISTWYCONSVNQRY SQL: CPVTAXRPTGHWYC Type: view CONSUMPTION

PRA Tax Rptg Hist Wyoming Consvn Qry

C_PRATaxRptgHistWYConsvnQry (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_PRATaxRptgHistWYConsvnQry is a Consumption CDS View that provides data about "PRA Tax Rptg Hist Wyoming Consvn Qry" in SAP S/4HANA. It reads from 1 data source (I_PRATaxRptgHistWYConsvn) and exposes 50 fields with key fields CompanyCode, SalesDate, Product, Well, WellCompletion.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_PRATaxRptgHistWYConsvn I_PRATaxRptgHistWYConsvn from

Annotations (9)

NameValueLevelField
EndUserText.label PRA Tax Rptg Hist Wyoming Consvn Qry view
Analytics.query true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.sqlViewName CPVTAXRPTGHWYC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (50)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY SalesDate SalesDate Sales Date / Month
KEY Product Product Full three char. product code (Major and Detail Products)
KEY Well Well Well ID number
KEY WellCompletion WellCompletion Well Completion Number
KEY MeasurementPoint MeasurementPoint Measurement point number
KEY JointVenture JointVenture Joint venture
KEY DivisionOfInterest DivisionOfInterest Division of Interest (DOI)
KEY DeliveryNetwork DeliveryNetwork Delivery network number
KEY PRAContract PRAContract Contract Number
KEY VolumeType VolumeType Volume type code
KEY TaxClassification TaxClassification Tax class.
KEY TaxRptgRvslOrBkgOrAdjmt TaxRptgRvslOrBkgOrAdjmt Tax 2.0 - Reversal/Booking/Reversal Adjustment/Adjustment
ProducerOrPurchaserCode ProducerOrPurchaserCode Producer or Purchaser
UnitJointVenture UnitJointVenture Joint venture
HasSeveranceTaxPaytOblgn HasSeveranceTaxPaytOblgn Tax Severance Tax Calculation Payment Obligations Types
SeveranceTaxRptgType SeveranceTaxRptgType State Severance Tax Reporting Indicators
CompanyCodeCurrency CompanyCodeCurrency Local Currency
ReturnedProductRatio ReturnedProductRatio Percent Returned to Lease
County County Tax 2.0 - Wyoming County Identifier
APIWellNumber APIWellNumber Tax 2.0 - Wyoming API Well Number
WyomingTaxRptgSideTrackNmbr WyomingTaxRptgSideTrackNmbr Tax 2.0 - Wyoming Side Track Number
Reservoir Reservoir Tax 2.0 - Wyoming Reservoir
TaxRptgGroupNumber TaxRptgGroupNumber Tax 2.0 - Wyoming Report Group Number
GeologicFieldName GeologicFieldName Tax 2.0 - Wyoming Field Name
AgencyLeaseOrUnitName AgencyLeaseOrUnitName Tax 2.0 - Wyoming Lease Unit Name / API
EntityIsCompanyOperated EntityIsCompanyOperated Tax 2.0 - Operated Flag
District District Tax 2.0 - Wyoming Tax District
MasterDataRecordingLvl MasterDataRecordingLvl Texas Master Data Level
OperatorIDByAgency OperatorIDByAgency Tax 2.0 - Wyoming Operator ID
Operator Operator Type of OPTION component in row type of a Ranges type
OperatorName OperatorName Tax 2.0 - Operator Name
Purchaser Purchaser Master Record
PurchaserName PurchaserName Tax 2.0 - Purchaser Name
ProductType ProductType Oil and Gas Indicator
ValuationDocumentNumber ValuationDocumentNumber Val. document number
ValuationDocumentYear ValuationDocumentYear Mat. Doc. Year
CreatedByUser CreatedByUser Created By
CreationDateTime CreationDateTime Created On Timestamp
GrossVolInBaseUnit GrossVolInBaseUnit Gross Volume
TaxableVolInBaseUnit TaxableVolInBaseUnit Taxable Volume
TaxableValInCoCodeCrcy TaxableValInCoCodeCrcy Taxable Value
TaxExmptVolInBaseUnit TaxExmptVolInBaseUnit Exempt Volume
GrossTaxAmtInCoCodeCrcy GrossTaxAmtInCoCodeCrcy Tax Amount
TaxReimbmtAmtInCoCodeCrcy TaxReimbmtAmtInCoCodeCrcy Tax Reimbursement
WetGasLessResidueGasVolInMCF WetGasLessResidueGasVolInMCF Tax 2.0 - Wet Less Residue Volume (MCF)
GrossSalesVolInBaseUnit GrossSalesVolInBaseUnit Tax 2.0 - Wyoming Before Lease Plant Split Gross Volume
PlantProcgVolInBaseUnit PlantProcgVolInBaseUnit Tax 2.0 - Wyoming Plant Processing Volume
Country Country Country/Region Key
PrimaryGeogrlLocation PrimaryGeogrlLocation Primary Geographical Location

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_PRATaxRptgHistWYConsvnQry.
-- 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: CPVTAXRPTGHWYC

CREATE VIEW C_PRATaxRptgHistWYConsvnQry AS
SELECT
  CompanyCode,
  SalesDate,
  Product,
  Well,
  WellCompletion,
  MeasurementPoint,
  JointVenture,
  DivisionOfInterest,
  DeliveryNetwork,
  PRAContract,
  VolumeType,
  TaxClassification,
  TaxRptgRvslOrBkgOrAdjmt,
  ProducerOrPurchaserCode,
  UnitJointVenture,
  HasSeveranceTaxPaytOblgn,
  SeveranceTaxRptgType,
  CompanyCodeCurrency,
  ReturnedProductRatio,
  County,
  APIWellNumber,
  WyomingTaxRptgSideTrackNmbr,
  Reservoir,
  TaxRptgGroupNumber,
  GeologicFieldName,
  AgencyLeaseOrUnitName,
  EntityIsCompanyOperated,
  District,
  MasterDataRecordingLvl,
  OperatorIDByAgency,
  Operator,
  OperatorName,
  Purchaser,
  PurchaserName,
  ProductType,
  ValuationDocumentNumber,
  ValuationDocumentYear,
  CreatedByUser,
  CreationDateTime,
  GrossVolInBaseUnit,
  TaxableVolInBaseUnit,
  TaxableValInCoCodeCrcy,
  TaxExmptVolInBaseUnit,
  GrossTaxAmtInCoCodeCrcy,
  TaxReimbmtAmtInCoCodeCrcy,
  WetGasLessResidueGasVolInMCF,
  GrossSalesVolInBaseUnit,
  PlantProcgVolInBaseUnit,
  Country,
  PrimaryGeogrlLocation
FROM I_PRATaxRptgHistWYConsvn
;