I_JointVentureAcctgDetail

DDL: I_JOINTVENTUREACCTGDETAIL SQL: IPVJVACCTGDETAIL Type: view BASIC

Joint Venture Accounting Detail

I_JointVentureAcctgDetail is a Basic CDS View (Cube) that provides data about "Joint Venture Accounting Detail" in SAP S/4HANA. It reads from 1 data source (jvso1) and exposes 103 fields with key field JointVentureLineItem. It has 37 associations to related views.

Data Sources (1)

SourceAliasJoin Type
jvso1 jvso1 from

Associations (37)

CardinalityTargetAliasCondition
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_JVARecordType _RecordType $projection.RecordType = _RecordType.JVARecordType
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_SpecialLedgerVersion _SpecialLedgerVersion $projection.Ledger = _SpecialLedgerVersion.Ledger and $projection.SpecialLedgerVersion = _SpecialLedgerVersion.SpecialLedgerVersion
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_JVADocumentType _DocumentType $projection.DocumentType = _DocumentType.JVADocumentType
[0..1] I_JointVenture _JointVenture $projection.CompanyCode = _JointVenture.CompanyCode and $projection.JointVenture = _JointVenture.JointVenture
[0..1] I_JointVentureEquityGroup _JointVentureEquityGroup $projection.CompanyCode = _JointVentureEquityGroup.CompanyCode and $projection.JointVenture = _JointVentureEquityGroup.JointVenture and $projection.JointVentureEquityGroup = _JointVentureEquityGroup.JointVentureEquityGroup
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccount _GLAccount $projection.CompanyCode = _GLAccount.CompanyCode and $projection.GLAccount = _GLAccount.GLAccount
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_CostCenter _CostCenter $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter
[0..1] I_Order _Order $projection.OriginOrder = _Order.OrderID
[0..1] I_Order _InternalOrder $projection.InternalOrder = _InternalOrder.OrderID
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.ProjectInternalID = _WBSElementBasicData.WBSElementInternalID
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[0..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[0..1] I_AssetTransactionType _AssetTransactionType $projection.AssetTransactionType = _AssetTransactionType.AssetTransactionType
[0..1] I_JointVentureRecovery _JointVentureRecovery $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode and $projection.CompanyCode = _JointVentureRecovery.CompanyCode
[0..1] I_Customer _Partner $projection.Partner = _Partner.Customer
[0..1] I_Indicator _IsAutomaticallyPosted $projection.IsAutomaticallyPosted = _IsAutomaticallyPosted.IndicatorValue
[0..1] I_AccountingDocumentType _AccountingDocumentType $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType
[0..1] I_PurchasingDocument _PurchasingDocument $projection.PurchaseOrder = _PurchasingDocument.PurchasingDocument
[0..1] I_PurchasingDocumentItem _PurchasingDocumentItem $projection.PurchaseOrder = _PurchasingDocumentItem.PurchasingDocument and $projection.PurchaseOrderItem = _PurchasingDocumentItem.PurchasingDocumentItem
[0..*] I_CostCenterActivityType _CostCenterActivityType $projection.ControllingArea = _CostCenterActivityType.ControllingArea and $projection.ActivityType = _CostCenterActivityType.CostCtrActivityType
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_JVAPayrollType _JVAPayrolltype $projection.PayrollType = _JVAPayrolltype.PayrollType
[0..1] I_LedgerCompanyCodeCrcyRoles _LedgerCompanyCodeCrcyRoleVH $projection.CompanyCode = _LedgerCompanyCodeCrcyRoleVH.CompanyCode and $projection.Ledger = _LedgerCompanyCodeCrcyRoleVH.Ledger
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency

Annotations (11)

NameValueLevelField
EndUserText.label Joint Venture Accounting Detail view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVJVACCTGDETAIL view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (103)

KeyFieldSource TableSource FieldDescription
KEY JointVentureLineItem Record number
Ledger rldnr Ledger (Compat.)
RecordType rrcty Record Type
SpecialLedgerVersion rvers Version: Tax rt
FiscalYear ryear Ref. Year1
Currency rtcur Currency
UnitOfMeasure runit Unit/Area
DebitCreditCode Debit/Credit
LedgerFiscalPeriod poper Posting periods
DocumentType docct Document Categ.
AccountingDocument Well doc.no.
AccountingDocumentItem Matching Document Line Item
CompanyCode Company Code
JointVenture rjvnam Joint venture
JointVentureEquityGroup regrou Equity group
ChartOfAccounts _CompanyCode ChartOfAccounts Node Class
GLAccount racct GL Account From
BusinessArea rbusa Business Area
ControllingArea rkokrs CO Area
CostCenter rcntr Cost Center
OriginOrder rordnr Order
ProjectInternalID WBS Element
ProfitCenter rprctr Profit Center
MasterFixedAsset ranln1 Asset
FixedAsset ranln2 Sub-number
AssetTransactionType ranbwa Ast Transaction Type
JointVentureRecoveryCode rrecin Recovery Ind.
Partner rpartn Partner
InternalOrder Network
NetworkActivity vornr Operation
AdditionalQuantity1Unit Add.unit/meas.
DocumentItemText Text
IsAutomaticallyPosted Automatic Call
AccountingDocumentType Document Type
BusinessTransactionType Transaction
PostingDate budat Posting Date
ValDateForCurrencyTranslation wsdat Value Date
ValueDate valut Value date
RefAccountingDocument Reference
ReferenceDocumentFiscalYear Reference year
RefJntVentureDocumentLineItem Reference Item
ReferenceDocumentType Ref. Doc. Cat.
BusinessTransactionDocItem refactiv Ref. Transactn
RefAccountingDocumentItem Item
PayrollType Billing ind.
AccountingDocCreatedByUser User Name
DocumentDate bldat Journal Entry Date
TimeEntry cputm Time
TaxCode mwskz Tax Code
BillingMonth billm Billing Month
PurchaseOrder Source PurchDoc
PurchaseOrderItem Item pur. doc.
TransactionTypeDetermination Transaction
ActivityType lstar Activity Type
PRAAllocationFrequencyCode cycle Single-Character Flag
StartDate sdate Valid From
Material matnr Vehicle Model
ReferenceDocument Reference Doc.
ProductionMonth prodper Production Month
ReferenceBillingDocument Document Number
Customer cbcustomer Customer
Supplier cbvendor Supplier
PaymentTerms cbpayterm Pyt Terms
CompanyCodeCurrency
GlobalCurrency
AmountInTransactionCurrency Trans. Currency
toomanyjoins
toomanyjoins
QuantityInBaseUnit Stat. KeyFig. Qty
_Ledger _Ledger
_RecordType _RecordType
_SpecialLedgerVersion _SpecialLedgerVersion
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure
_CompanyCode _CompanyCode
_JointVenture _JointVenture
_JointVentureEquityGroup _JointVentureEquityGroup
_ChartOfAccounts _ChartOfAccounts
_GLAccount _GLAccount
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_BusinessArea _BusinessArea
_ControllingArea _ControllingArea
_CostCenter _CostCenter
_Order _Order
_InternalOrder _InternalOrder
_WBSElementBasicData _WBSElementBasicData
_ProfitCenter _ProfitCenter
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_AssetTransactionType _AssetTransactionType
_JointVentureRecovery _JointVentureRecovery
_Partner _Partner
_IsAutomaticallyPosted _IsAutomaticallyPosted
_AccountingDocumentType _AccountingDocumentType
_PurchasingDocument _PurchasingDocument
_PurchasingDocumentItem _PurchasingDocumentItem
_CostCenterActivityType _CostCenterActivityType
_Material _Material
_Customer _Customer
_Supplier _Supplier
_DocumentType _DocumentType
_JVAPayrolltype _JVAPayrolltype
_DebitCreditCode _DebitCreditCode

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_JointVentureAcctgDetail.
-- 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: IPVJVACCTGDETAIL

CREATE VIEW I_JointVentureAcctgDetail AS
SELECT
  cast(gl_sirid as oiu_vdm_joint_venture_line_itm) AS JointVentureLineItem,
  rldnr AS Ledger,
  rrcty AS RecordType,
  rvers AS SpecialLedgerVersion,
  ryear AS FiscalYear,
  rtcur AS Currency,
  runit AS UnitOfMeasure,
  cast (drcrk as fis_shkzg) AS DebitCreditCode,
  poper AS LedgerFiscalPeriod,
  docct AS DocumentType,
  cast(docnr as oiu_vdm_accounting_document) AS AccountingDocument,
  cast(docln as oiu_vdm_accounting_doc_line_no) AS AccountingDocumentItem,
  cast(rbukrs as fis_bukrs preserving type ) AS CompanyCode,
  rjvnam AS JointVenture,
  regrou AS JointVentureEquityGroup,
  _CompanyCode.ChartOfAccounts AS ChartOfAccounts,
  racct AS GLAccount,
  rbusa AS BusinessArea,
  rkokrs AS ControllingArea,
  rcntr AS CostCenter,
  rordnr AS OriginOrder,
  cast(rprojk as oiu_vdm_internal_wbs_element) AS ProjectInternalID,
  rprctr AS ProfitCenter,
  ranln1 AS MasterFixedAsset,
  ranln2 AS FixedAsset,
  ranbwa AS AssetTransactionType,
  rrecin AS JointVentureRecoveryCode,
  rpartn AS Partner,
  cast(nplnr as oiu_vdm_internal_order) AS InternalOrder,
  vornr AS NetworkActivity,
  cast(aunit as oiu_vdm_addl_unit_of_measure) AS AdditionalQuantity1Unit,
  cast(sgtxt as oiu_vdm_desc_of_line_item) AS DocumentItemText,
  cast(autom as oiu_vdm_automatic_posting) AS IsAutomaticallyPosted,
  cast(docty as oiu_vdm_accounting_doc_type) AS AccountingDocumentType,
  cast(activ as oiu_vdm_business_trans_type) AS BusinessTransactionType,
  budat AS PostingDate,
  wsdat AS ValDateForCurrencyTranslation,
  valut AS ValueDate,
  cast(refdocnr as oiu_vdm_ref_acctg_document) AS RefAccountingDocument,
  cast(refryear as oiu_vdm_reference_doc_year) AS ReferenceDocumentFiscalYear,
  cast(refdocln as oiu_vdm_ref_jv_document_item) AS RefJntVentureDocumentLineItem,
  cast(refdocct as oiu_vdm_reference_doc_type) AS ReferenceDocumentType,
  refactiv AS BusinessTransactionDocItem,
  cast(reffidln as oiu_vdm_ref_acctg_doc_line_itm) AS RefAccountingDocumentItem,
  cast(bilid as oiu_vdm_jv_payroll_type) AS PayrollType,
  cast (usnam as fclm_bam_created_by) AS AccountingDocCreatedByUser,
  bldat AS DocumentDate,
  cputm AS TimeEntry,
  mwskz AS TaxCode,
  billm AS BillingMonth,
  cast(ebeln as vdm_purchaseorder) AS PurchaseOrder,
  cast(ebelp as vdm_purchaseorderitem) AS PurchaseOrderItem,
  cast(ktosl as fac_ktosl) AS TransactionTypeDetermination,
  lstar AS ActivityType,
  cycle AS PRAAllocationFrequencyCode,
  sdate AS StartDate,
  matnr AS Material,
  cast(refawref as oiu_vdm_reference_doc_number) AS ReferenceDocument,
  prodper AS ProductionMonth,
  cast(reffidoc as oiu_vdm_ref_billing_document) AS ReferenceBillingDocument,
  cbcustomer AS Customer,
  cbvendor AS Supplier,
  cbpayterm AS PaymentTerms,
  _LedgerCompanyCodeCrcyRoleVH._CoCodeCurrencyRoleCurrency.Currency AS CompanyCodeCurrency,
  _LedgerCompanyCodeCrcyRoleVH._GlobalCurrencyRoleCurrency.Currency AS GlobalCurrency,
  cast(tsl as oiu_vdm_amount_in_trans_crcy) AS AmountInTransactionCurrency,
  cast(msl as oiu_vdm_quantity_in_base_unit preserving type ) AS QuantityInBaseUnit
FROM jvso1
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_JVARecordType AS _RecordType ON RecordType = _RecordType.JVARecordType  -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_SpecialLedgerVersion AS _SpecialLedgerVersion ON Ledger = _SpecialLedgerVersion.Ledger AND SpecialLedgerVersion = _SpecialLedgerVersion.SpecialLedgerVersion  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_JVADocumentType AS _DocumentType ON DocumentType = _DocumentType.JVADocumentType  -- association [0..1]
LEFT OUTER JOIN I_JointVenture AS _JointVenture ON CompanyCode = _JointVenture.CompanyCode AND JointVenture = _JointVenture.JointVenture  -- association [0..1]
LEFT OUTER JOIN I_JointVentureEquityGroup AS _JointVentureEquityGroup ON CompanyCode = _JointVentureEquityGroup.CompanyCode AND JointVenture = _JointVentureEquityGroup.JointVenture AND JointVentureEquityGroup = _JointVentureEquityGroup.JointVentureEquityGroup  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON CompanyCode = _GLAccount.CompanyCode AND GLAccount = _GLAccount.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_Order AS _Order ON OriginOrder = _Order.OrderID  -- association [0..1]
LEFT OUTER JOIN I_Order AS _InternalOrder ON InternalOrder = _InternalOrder.OrderID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON ProjectInternalID = _WBSElementBasicData.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset  -- association [0..1]
LEFT OUTER JOIN I_AssetTransactionType AS _AssetTransactionType ON AssetTransactionType = _AssetTransactionType.AssetTransactionType  -- association [0..1]
LEFT OUTER JOIN I_JointVentureRecovery AS _JointVentureRecovery ON JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode AND CompanyCode = _JointVentureRecovery.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Partner ON Partner = _Partner.Customer  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsAutomaticallyPosted ON IsAutomaticallyPosted = _IsAutomaticallyPosted.IndicatorValue  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocument AS _PurchasingDocument ON PurchaseOrder = _PurchasingDocument.PurchasingDocument  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentItem AS _PurchasingDocumentItem ON PurchaseOrder = _PurchasingDocumentItem.PurchasingDocument AND PurchaseOrderItem = _PurchasingDocumentItem.PurchasingDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_CostCenterActivityType AS _CostCenterActivityType ON ControllingArea = _CostCenterActivityType.ControllingArea AND ActivityType = _CostCenterActivityType.CostCtrActivityType  -- association [0..*]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_JVAPayrollType AS _JVAPayrolltype ON PayrollType = _JVAPayrolltype.PayrollType  -- association [0..1]
LEFT OUTER JOIN I_LedgerCompanyCodeCrcyRoles AS _LedgerCompanyCodeCrcyRoleVH ON CompanyCode = _LedgerCompanyCodeCrcyRoleVH.CompanyCode AND Ledger = _LedgerCompanyCodeCrcyRoleVH.Ledger  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
;