C_JntVntrProdgStstclRatio

DDL: C_JNTVNTRPRODGSTSTCLRATIO SQL: CJVPRDSTSRAT Type: view CONSUMPTION

Producing Statistical Ratio for JOA

C_JntVntrProdgStstclRatio is a Consumption CDS View that provides data about "Producing Statistical Ratio for JOA" in SAP S/4HANA. It reads from 2 data sources (I_JntVntrProdgStstclAssgmt, I_JVAAssgdProdgStstclRatioThld) and exposes 13 fields with key fields CompanyCode, JntOpgAgrmt, JntVntrProducingStstclRatioID, JointVentureSequenceNumber.

Data Sources (2)

SourceAliasJoin Type
I_JntVntrProdgStstclAssgmt _ProdgStstclAssgmt from
I_JVAAssgdProdgStstclRatioThld _ProdgStstclRatio inner

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CJVPRDSTSRAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Producing Statistical Ratio for JOA view
UI.headerInfo.typeName Statistical Producing Ratio view
UI.headerInfo.typeNamePlural Statistical Producing Ratios view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JntVntrProdgStstclAssgmt CompanyCode Receiver Company Code
KEY JntOpgAgrmt I_JntVntrProdgStstclAssgmt JntOpgAgrmt Joint Oper.Agr
KEY JntVntrProducingStstclRatioID I_JntVntrProdgStstclAssgmt JntVntrProducingStstclRatioID Prod.Stat.Rat.
KEY JointVentureSequenceNumber
JntVntrDrillingFromDepth I_JntVntrProdgStstclAssgmt JntVntrDrillingFromDepth From Depth
JntVntrDrillingToDepth I_JntVntrProdgStstclAssgmt JntVntrDrillingToDepth To Depth
JntVntrThresholdNumberOfWells
JointVentureRatePerProdgWell I_JVAAssgdProdgStstclRatioThld JointVentureRatePerProdgWell Tax Rate
Currency Currency Valuation Crcy
_CompanyCode I_JntVntrProdgStstclAssgmt _CompanyCode
_JntOpgAgrmt I_JntVntrProdgStstclAssgmt _JntOpgAgrmt
_JntVntrProdgStstclRatio _JntVntrProdgStstclRatio
_Currency _Currency

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_JntVntrProdgStstclRatio.
-- 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: CJVPRDSTSRAT

CREATE VIEW C_JntVntrProdgStstclRatio AS
SELECT
  _ProdgStstclAssgmt.CompanyCode AS CompanyCode,
  _ProdgStstclAssgmt.JntOpgAgrmt AS JntOpgAgrmt,
  _ProdgStstclAssgmt.JntVntrProducingStstclRatioID AS JntVntrProducingStstclRatioID,
  cast( _ProdgStstclRatio.JointVentureSequenceNumber as abap.dec( 2, 0 ) ) AS JointVentureSequenceNumber,
  _ProdgStstclAssgmt.JntVntrDrillingFromDepth AS JntVntrDrillingFromDepth,
  _ProdgStstclAssgmt.JntVntrDrillingToDepth AS JntVntrDrillingToDepth,
  cast( _ProdgStstclRatio.JntVntrThresholdNumberOfWells as abap.dec( 5, 0 ) ) AS JntVntrThresholdNumberOfWells,
  _ProdgStstclRatio.JointVentureRatePerProdgWell AS JointVentureRatePerProdgWell,
  Currency,
  _ProdgStstclAssgmt._CompanyCode AS _CompanyCode,
  _ProdgStstclAssgmt._JntOpgAgrmt AS _JntOpgAgrmt
FROM I_JntVntrProdgStstclAssgmt AS _ProdgStstclAssgmt
INNER JOIN I_JVAAssgdProdgStstclRatioThld AS _ProdgStstclRatio ON /* join condition not captured in parsed metadata */
;