I_JVAPartnerBillingCube

DDL: I_JVAPARTNERBILLINGCUBE SQL: IJVPARTBILLC Type: view COMPOSITE

Joint Venture Partner Billing

I_JVAPartnerBillingCube is a Composite CDS View (Cube) that provides data about "Joint Venture Partner Billing" in SAP S/4HANA. It reads from 4 data sources (I_JntVntrEquityGrp, I_JVALineItemCube, I_JntVntrBusinessPartner, I_JointVentureMasterFld) and exposes 73 fields with key fields CompanyCode, Ledger, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 3 associations to related views.

Data Sources (4)

SourceAliasJoin Type
I_JntVntrEquityGrp EqGroup inner
I_JVALineItemCube JVItem from
I_JntVntrBusinessPartner Partner inner
I_JointVentureMasterFld Venture inner

Parameters (3)

NameTypeDefault
P_LedgerFiscalYear gjahr
P_FiscalPeriod poper
P_JointVenturePartner jv_part

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_JntVntrBusinessPartner _JntVntrBusinessPartner _JntVntrBusinessPartner.CompanyCode = $projection.CompanyCode and _JntVntrBusinessPartner.JointVenturePartner = $projection.JointVenturePartner
[0..1] I_JntVntrFundCrcyByEquityGrp _TransCrcyAsFundCrcy _TransCrcyAsFundCrcy.CompanyCode = $projection.CompanyCode and _TransCrcyAsFundCrcy.JointVenture = $projection.JointVenture and _TransCrcyAsFundCrcy.JointVentureEquityGroup = $projection.JointVentureEquityGroup and _TransCrcyAsFundCrcy.JointVentureFundingCrcy = $projection.TransactionCurrency
[0..1] I_JVADefaultFundCrcy _DefaultFundCrcy _DefaultFundCrcy.CompanyCode = $projection.CompanyCode and _DefaultFundCrcy.JointVenture = $projection.JointVenture and _DefaultFundCrcy.JointVentureEquityGroup = $projection.JointVentureEquityGroup

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IJVPARTBILLC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Joint Venture Partner Billing view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.allowExtensions true view
Analytics.internalName #LOCAL view
Analytics.settings.valueHelp.supressInitialValue true view

Fields (73)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JVALineItemCube CompanyCode Receiver Company Code
KEY Ledger I_JVALineItemCube Ledger Ledger
KEY FiscalYear I_JVALineItemCube FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JVALineItemCube AccountingDocument Journal Entry
KEY LedgerGLLineItem I_JVALineItemCube LedgerGLLineItem Journal Entry Item
FiscalYearVariant I_JVALineItemCube FiscalYearVariant FY Variant
FiscalPeriod I_JVALineItemCube FiscalPeriod Tax period
LedgerFiscalYear I_JVALineItemCube LedgerFiscalYear
PostingDate I_JVALineItemCube PostingDate Posting Date for GR
GLRecordType I_JVALineItemCube GLRecordType Record Type
ChartOfAccounts I_JVALineItemCube ChartOfAccounts Node Class
GLAccount I_JVALineItemCube GLAccount General Ledger
DebitCreditCode I_JVALineItemCube DebitCreditCode Single-Character Flag
ControllingArea I_JVALineItemCube ControllingArea Controlling Area
CostCenter I_JVALineItemCube CostCenter Cost Center
ProfitCenter I_JVALineItemCube ProfitCenter Profit Center
BusinessArea I_JVALineItemCube BusinessArea Business Area
MasterFixedAsset I_JVALineItemCube MasterFixedAsset Fixed Asset
FixedAsset I_JVALineItemCube FixedAsset Sub-number
AssetTransactionType I_JVALineItemCube AssetTransactionType Trans.Type
OrderID I_JVALineItemCube OrderID Order ID
ProjectNetwork I_JVALineItemCube ProjectNetwork Order
WBSElementInternalID I_JVALineItemCube WBSElementInternalID WBS Internal ID
WBSElementExternalID I_JVALineItemCube WBSElementExternalID WBS Element External ID
JointVenture I_JVALineItemCube JointVenture Joint venture
JointVentureType I_JointVentureMasterFld JointVentureType Venture Type
JointVentureEquityGroup I_JVALineItemCube JointVentureEquityGroup Joint Venture Equity Group
JointVentureEquityType I_JVALineItemCube JointVentureEquityType Joint Venture Equity Type
JointVentureCostRecoveryCode I_JVALineItemCube JointVentureCostRecoveryCode Recovery Ind.
JntVntrOperatedShare
JntVntrEquityShare
Customer I_JVALineItemCube Customer Sold-to Party
JointVentureBillingType I_JVALineItemCube JointVentureBillingType
BaseUnit I_JVALineItemCube BaseUnit Unit of Measure
Quantity I_JVALineItemCube Quantity Value
Supplier I_JVALineItemCube Supplier Supplier
AccountingDocumentType I_JVALineItemCube AccountingDocumentType Journal Entry Type
FinancialAccountType I_JVALineItemCube FinancialAccountType Fin. Account Type
Segment I_JVALineItemCube Segment Segment number
SalesDocument I_JVALineItemCube SalesDocument SD Document
SalesOrganization I_JVALineItemCube SalesOrganization Sales Organization
ServiceDocumentType I_JVALineItemCube ServiceDocumentType Transaction Type
ValuationArea I_JVALineItemCube ValuationArea Valuation Area
Plant I_JVALineItemCube Plant Valuation Area
DistributionChannel I_JVALineItemCube DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_JVALineItemCube OrganizationDivision Org. Division
ServiceDocument I_JVALineItemCube ServiceDocument Transaction ID
AssetClass I_JVALineItemCube AssetClass Asset Class
FunctionalArea I_JVALineItemCube FunctionalArea Sendr Fctl Area
TransactionCurrency I_JVALineItemCube TransactionCurrency Transaction Currency
ITDAmtInTC
CompanyCodeCurrency I_JVALineItemCube CompanyCodeCurrency Local Currency
ITDAmtInCCrcy
GlobalCurrency I_JVALineItemCube GlobalCurrency GM Billing Element: Global Currency
ITDAmtInGCrcy
BalanceTransactionCurrency I_JVALineItemCube BalanceTransactionCurrency Currency
ITDAmtInBlTCrcy
FreeDefinedCurrency1 I_JVALineItemCube FreeDefinedCurrency1 Freely Defined Currency 1
ITDAmtInFDCrcy1
FreeDefinedCurrency2 I_JVALineItemCube FreeDefinedCurrency2 Freely Defined Currency 2
ITDAmtInFDCrcy2
FreeDefinedCurrency3 I_JVALineItemCube FreeDefinedCurrency3 Freely Defined Currency 3
ITDAmtInFDCrcy3
FreeDefinedCurrency4 I_JVALineItemCube FreeDefinedCurrency4 Freely Defined Currency 4
ITDAmtInFDCrcy4
FreeDefinedCurrency5 I_JVALineItemCube FreeDefinedCurrency5 Freely Defined Currency 5
ITDAmtInFDCrcy5
FreeDefinedCurrency6 I_JVALineItemCube FreeDefinedCurrency6 Freely Defined Currency 6
ITDAmtInFDCrcy6
FreeDefinedCurrency7 I_JVALineItemCube FreeDefinedCurrency7 Freely Defined Currency 7
ITDAmtInFDCrcy7
FreeDefinedCurrency8 I_JVALineItemCube FreeDefinedCurrency8 Freely Defined Currency 8
ITDAmtInFDCrcy8

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_JVAPartnerBillingCube.
-- 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: IJVPARTBILLC
-- Parameters: P_LedgerFiscalYear : gjahr, P_FiscalPeriod : poper, P_JointVenturePartner : jv_part

CREATE VIEW I_JVAPartnerBillingCube AS
SELECT
  JVItem.CompanyCode AS CompanyCode,
  JVItem.Ledger AS Ledger,
  JVItem.FiscalYear AS FiscalYear,
  JVItem.AccountingDocument AS AccountingDocument,
  JVItem.LedgerGLLineItem AS LedgerGLLineItem,
  JVItem.FiscalYearVariant AS FiscalYearVariant,
  JVItem.FiscalPeriod AS FiscalPeriod,
  JVItem.LedgerFiscalYear AS LedgerFiscalYear,
  JVItem.PostingDate AS PostingDate,
  JVItem.GLRecordType AS GLRecordType,
  JVItem.ChartOfAccounts AS ChartOfAccounts,
  JVItem.GLAccount AS GLAccount,
  JVItem.DebitCreditCode AS DebitCreditCode,
  JVItem.ControllingArea AS ControllingArea,
  JVItem.CostCenter AS CostCenter,
  JVItem.ProfitCenter AS ProfitCenter,
  JVItem.BusinessArea AS BusinessArea,
  JVItem.MasterFixedAsset AS MasterFixedAsset,
  JVItem.FixedAsset AS FixedAsset,
  JVItem.AssetTransactionType AS AssetTransactionType,
  JVItem.OrderID AS OrderID,
  JVItem.ProjectNetwork AS ProjectNetwork,
  JVItem.WBSElementInternalID AS WBSElementInternalID,
  JVItem.WBSElementExternalID AS WBSElementExternalID,
  JVItem.JointVenture AS JointVenture,
  Venture.JointVentureType AS JointVentureType,
  JVItem.JointVentureEquityGroup AS JointVentureEquityGroup,
  JVItem.JointVentureEquityType AS JointVentureEquityType,
  JVItem.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
  cast ( EqGroup.JntVntrOperatedShare as abap.char(16) ) AS JntVntrOperatedShare,
  cast ( PShare.JntVntrEquityShare as abap.char(16) ) AS JntVntrEquityShare,
  JVItem.Customer AS Customer,
  JVItem.JointVentureBillingType AS JointVentureBillingType,
  JVItem.BaseUnit AS BaseUnit,
  JVItem.Quantity AS Quantity,
  JVItem.Supplier AS Supplier,
  JVItem.AccountingDocumentType AS AccountingDocumentType,
  JVItem.FinancialAccountType AS FinancialAccountType,
  JVItem.Segment AS Segment,
  JVItem.SalesDocument AS SalesDocument,
  JVItem.SalesOrganization AS SalesOrganization,
  JVItem.ServiceDocumentType AS ServiceDocumentType,
  JVItem.ValuationArea AS ValuationArea,
  JVItem.Plant AS Plant,
  JVItem.DistributionChannel AS DistributionChannel,
  JVItem.OrganizationDivision AS OrganizationDivision,
  JVItem.ServiceDocument AS ServiceDocument,
  JVItem.AssetClass AS AssetClass,
  JVItem.FunctionalArea AS FunctionalArea,
  JVItem.TransactionCurrency AS TransactionCurrency,
  cast(JVItem.AmountInTransactionCurrency as jv_itdamt_tc preserving type) AS ITDAmtInTC,
  JVItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  cast(JVItem.AmountInCompanyCodeCurrency as jv_itdamt_cc preserving type) AS ITDAmtInCCrcy,
  JVItem.GlobalCurrency AS GlobalCurrency,
  cast(JVItem.AmountInGlobalCurrency as jv_itdamt_gc preserving type) AS ITDAmtInGCrcy,
  JVItem.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  cast(JVItem.AmountInBalanceTransacCrcy as jv_itdamt_btc preserving type) AS ITDAmtInBlTCrcy,
  JVItem.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
  cast(JVItem.AmountInFreeDefinedCurrency1 as jv_itdamt_fdc1 preserving type) AS ITDAmtInFDCrcy1,
  JVItem.FreeDefinedCurrency2 AS FreeDefinedCurrency2,
  cast(JVItem.AmountInFreeDefinedCurrency2 as jv_itdamt_fdc2 preserving type) AS ITDAmtInFDCrcy2,
  JVItem.FreeDefinedCurrency3 AS FreeDefinedCurrency3,
  cast(JVItem.AmountInFreeDefinedCurrency3 as jv_itdamt_fdc3 preserving type) AS ITDAmtInFDCrcy3,
  JVItem.FreeDefinedCurrency4 AS FreeDefinedCurrency4,
  cast(JVItem.AmountInFreeDefinedCurrency4 as jv_itdamt_fdc4 preserving type) AS ITDAmtInFDCrcy4,
  JVItem.FreeDefinedCurrency5 AS FreeDefinedCurrency5,
  cast(JVItem.AmountInFreeDefinedCurrency5 as jv_itdamt_fdc5 preserving type) AS ITDAmtInFDCrcy5,
  JVItem.FreeDefinedCurrency6 AS FreeDefinedCurrency6,
  cast(JVItem.AmountInFreeDefinedCurrency6 as jv_itdamt_fdc6 preserving type) AS ITDAmtInFDCrcy6,
  JVItem.FreeDefinedCurrency7 AS FreeDefinedCurrency7,
  cast(JVItem.AmountInFreeDefinedCurrency7 as jv_itdamt_fdc7 preserving type) AS ITDAmtInFDCrcy7,
  JVItem.FreeDefinedCurrency8 AS FreeDefinedCurrency8,
  cast(JVItem.AmountInFreeDefinedCurrency8 as jv_itdamt_fdc8 preserving type) AS ITDAmtInFDCrcy8
FROM I_JVALineItemCube AS JVItem
INNER JOIN I_JointVentureMasterFld AS Venture ON /* join condition not captured in parsed metadata */
INNER JOIN I_JntVntrEquityGrp AS EqGroup ON /* join condition not captured in parsed metadata */
INNER JOIN I_JntVntrBusinessPartner AS Partner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_JntVntrBusinessPartner AS _JntVntrBusinessPartner ON _JntVntrBusinessPartner.CompanyCode = CompanyCode AND _JntVntrBusinessPartner.JointVenturePartner = JointVenturePartner  -- association [0..1]
LEFT OUTER JOIN I_JntVntrFundCrcyByEquityGrp AS _TransCrcyAsFundCrcy ON _TransCrcyAsFundCrcy.CompanyCode = CompanyCode AND _TransCrcyAsFundCrcy.JointVenture = JointVenture AND _TransCrcyAsFundCrcy.JointVentureEquityGroup = JointVentureEquityGroup AND _TransCrcyAsFundCrcy.JointVentureFundingCrcy = TransactionCurrency  -- association [0..1]
LEFT OUTER JOIN I_JVADefaultFundCrcy AS _DefaultFundCrcy ON _DefaultFundCrcy.CompanyCode = CompanyCode AND _DefaultFundCrcy.JointVenture = JointVenture AND _DefaultFundCrcy.JointVentureEquityGroup = JointVentureEquityGroup  -- association [0..1]
;