I_ReceivablesPayablesItem

DDL: I_RECEIVABLESPAYABLESITEM SQL: IFIRECPAYITEM Type: view BASIC

Receivables Payables Item

I_ReceivablesPayablesItem is a Basic CDS View (Fact) that provides data about "Receivables Payables Item" in SAP S/4HANA. It reads from 1 data source (P_BSEG_COM) and exposes 1 field with key field CompanyCode. It has 50 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_BSEG_COM P_BSEG_COM from

Associations (50)

CardinalityTargetAliasCondition
[0..1] I_JournalEntry _JournalEntry $projection.AccountingDocument = _JournalEntry.AccountingDocument and $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_PostingKey _PostingKey $projection.PostingKey = _PostingKey.PostingKey
[0..1] I_FinancialAccountType _FinancialAccountType $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType
[0..1] I_SpecialGLCode _SpecialGLCode $projection.SpecialGLCode = _SpecialGLCode.SpecialGLCode and $projection.FinancialAccountType = _SpecialGLCode.FinancialAccountType
[0..1] I_SpecialGLCode _TargetSpecialGLCode $projection.TargetSpecialGLCode = _TargetSpecialGLCode.SpecialGLCode and $projection.FinancialAccountType = _TargetSpecialGLCode.FinancialAccountType
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_BusinessArea _PartnerBusinessArea $projection.PartnerBusinessArea = _PartnerBusinessArea.BusinessArea
[0..1] I_Currency _BalanceTransactionCurrency $projection.BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency
[0..1] I_TaxType _TaxType $projection.TaxType = _TaxType.TaxType
[0..1] I_CompanyCode _PartnerCompany $projection.PartnerCompany = _PartnerCompany.CompanyCode
[0..1] I_FinancialTransactionType _FinancialTransactionType $projection.FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType
[0..1] I_GLAccount _CorporateGroupAccount $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount and $projection.CompanyCode = _CorporateGroupAccount.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea
[0..1] I_SalesDocumentItem _SalesDocumentItem $projection.SalesDocument = _SalesDocumentItem.SalesDocument and $projection.SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem
[0..1] I_GLAccount _GLAccount $projection.GLAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode
[0..1] I_PaymentBlockingReason _PaymentBlockingReason $projection.PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason
[0..1] I_Country _SupplyingCountry $projection.SupplyingCountry = _SupplyingCountry.Country
[0..1] I_BillOfExchangeUsage _BillOfExchangeUsage $projection.BillOfExchangeUsage = _BillOfExchangeUsage.BillOfExchangeUsage
[0..1] I_DunningKey _DunningKey $projection.DunningKey = _DunningKey.DunningKey
[0..1] I_DunningBlockingReasonCode _DunningBlockingReasonCode $projection.DunningBlockingReason = _DunningBlockingReasonCode.DunningBlockingReason
[0..1] I_DunningArea _DunningArea $projection.CompanyCode = _DunningArea.CompanyCode and $projection.DunningArea = _DunningArea.DunningArea
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _EntryUnit $projection.EntryUnit = _EntryUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _PurchaseOrderPriceUnit $projection.PurchaseOrderPriceUnit = _PurchaseOrderPriceUnit.UnitOfMeasure
[0..1] I_InventoryValuationType _InventoryValType $projection.InventoryValuationType = _InventoryValType.InventoryValuationType
[0..1] I_PaymentDifferenceReason _PaymentDifferenceReason $projection.PaymentDifferenceReason = _PaymentDifferenceReason.PaymentDifferenceReason and $projection.CompanyCode = _PaymentDifferenceReason.CompanyCode
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea
[0..1] I_GLAccount _AlternativeGLAccount $projection.AlternativeGLAccount = _AlternativeGLAccount.GLAccount and $projection.CompanyCode = _AlternativeGLAccount.CompanyCode
[0..*] I_ProfitCenter _PartnerProfitCenter $projection.PartnerProfitCenter = _PartnerProfitCenter.ProfitCenter and $projection.ControllingArea = _PartnerProfitCenter.ControllingArea
[0..1] I_CreditControlArea _CreditControlArea $projection.CreditControlArea = _CreditControlArea.CreditControlArea
[0..1] I_Currency _PaymentCurrency $projection.PaymentCurrency = _PaymentCurrency.Currency
[0..1] I_CostCenterActivityType _CostCtrActivityType $projection.CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType and $projection.ControllingArea = _CostCtrActivityType.ControllingArea
[0..1] I_BusinessProcess _BusinessProcess $projection.BusinessProcess = _BusinessProcess.BusinessProcess and $projection.ControllingArea = _BusinessProcess.ControllingArea
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_Segment _Segment $projection.Segment = _Segment.Segment
[0..1] I_Segment _PartnerSegment $projection.PartnerSegment = _PartnerSegment.Segment
[0..1] I_FunctionalArea _PartnerFunctionalArea $projection.PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea
[0..1] I_ReferenceDocumentType _RefDocType $projection.ReferenceDocumentType = _RefDocType.ReferenceDocumentType
[0..1] I_AccountingDocumentCategory _AcctDocCategory $projection.AccountingDocumentCategory = _AcctDocCategory.AccountingDocumentCategory
[0..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[0..1] I_AccountingDocumentType _AcctDocType $projection.AccountingDocumentType = _AcctDocType.AccountingDocumentType
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Customer _Customer $projection.Debtor = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Creditor = _Supplier.Supplier
[0..1] I_FiscalYear _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.FiscalYearVariant = _FiscalYear.FiscalYearVariant
[0..1] I_FiscalYearVariant _FiscalYearVariant $projection.FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant

Annotations (13)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Receivables Payables Item view
Analytics.dataCategory #FACT view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IFIRECPAYITEM view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value

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_ReceivablesPayablesItem.
-- 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: IFIRECPAYITEM

CREATE VIEW I_ReceivablesPayablesItem AS
SELECT
  bukrs AS CompanyCode
FROM P_BSEG_COM
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON AccountingDocument = _JournalEntry.AccountingDocument AND CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_PostingKey AS _PostingKey ON PostingKey = _PostingKey.PostingKey  -- association [0..1]
LEFT OUTER JOIN I_FinancialAccountType AS _FinancialAccountType ON FinancialAccountType = _FinancialAccountType.FinancialAccountType  -- association [0..1]
LEFT OUTER JOIN I_SpecialGLCode AS _SpecialGLCode ON SpecialGLCode = _SpecialGLCode.SpecialGLCode AND FinancialAccountType = _SpecialGLCode.FinancialAccountType  -- association [0..1]
LEFT OUTER JOIN I_SpecialGLCode AS _TargetSpecialGLCode ON TargetSpecialGLCode = _TargetSpecialGLCode.SpecialGLCode AND FinancialAccountType = _TargetSpecialGLCode.FinancialAccountType  -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _PartnerBusinessArea ON PartnerBusinessArea = _PartnerBusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _BalanceTransactionCurrency ON BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_TaxType AS _TaxType ON TaxType = _TaxType.TaxType  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _PartnerCompany ON PartnerCompany = _PartnerCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FinancialTransactionType AS _FinancialTransactionType ON FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType  -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _CorporateGroupAccount ON CorporateGroupAccount = _CorporateGroupAccount.GLAccount AND CompanyCode = _CorporateGroupAccount.CompanyCode  -- 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 CostCenter = _CostCenter.CostCenter AND ControllingArea = _CostCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesDocument = _SalesDocumentItem.SalesDocument AND SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_PaymentBlockingReason AS _PaymentBlockingReason ON PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason  -- association [0..1]
LEFT OUTER JOIN I_Country AS _SupplyingCountry ON SupplyingCountry = _SupplyingCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_BillOfExchangeUsage AS _BillOfExchangeUsage ON BillOfExchangeUsage = _BillOfExchangeUsage.BillOfExchangeUsage  -- association [0..1]
LEFT OUTER JOIN I_DunningKey AS _DunningKey ON DunningKey = _DunningKey.DunningKey  -- association [0..1]
LEFT OUTER JOIN I_DunningBlockingReasonCode AS _DunningBlockingReasonCode ON DunningBlockingReason = _DunningBlockingReasonCode.DunningBlockingReason  -- association [0..1]
LEFT OUTER JOIN I_DunningArea AS _DunningArea ON CompanyCode = _DunningArea.CompanyCode AND DunningArea = _DunningArea.DunningArea  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EntryUnit ON EntryUnit = _EntryUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurchaseOrderPriceUnit ON PurchaseOrderPriceUnit = _PurchaseOrderPriceUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_InventoryValuationType AS _InventoryValType ON InventoryValuationType = _InventoryValType.InventoryValuationType  -- association [0..1]
LEFT OUTER JOIN I_PaymentDifferenceReason AS _PaymentDifferenceReason ON PaymentDifferenceReason = _PaymentDifferenceReason.PaymentDifferenceReason AND CompanyCode = _PaymentDifferenceReason.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_GLAccount AS _AlternativeGLAccount ON AlternativeGLAccount = _AlternativeGLAccount.GLAccount AND CompanyCode = _AlternativeGLAccount.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _PartnerProfitCenter ON PartnerProfitCenter = _PartnerProfitCenter.ProfitCenter AND ControllingArea = _PartnerProfitCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_CreditControlArea AS _CreditControlArea ON CreditControlArea = _CreditControlArea.CreditControlArea  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _PaymentCurrency ON PaymentCurrency = _PaymentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CostCenterActivityType AS _CostCtrActivityType ON CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType AND ControllingArea = _CostCtrActivityType.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_BusinessProcess AS _BusinessProcess ON BusinessProcess = _BusinessProcess.BusinessProcess AND ControllingArea = _BusinessProcess.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _PartnerSegment ON PartnerSegment = _PartnerSegment.Segment  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _PartnerFunctionalArea ON PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_ReferenceDocumentType AS _RefDocType ON ReferenceDocumentType = _RefDocType.ReferenceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentCategory AS _AcctDocCategory ON AccountingDocumentCategory = _AcctDocCategory.AccountingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AcctDocType ON AccountingDocumentType = _AcctDocType.AccountingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Debtor = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Creditor = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_FiscalYear AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND FiscalYearVariant = _FiscalYear.FiscalYearVariant  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearVariant AS _FiscalYearVariant ON FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant  -- association [0..1]
;