P_ARBSITMCLRITEM03

DDL: P_ARBSITMCLRITEM03 SQL: PARBSITMCLRITEM3 Type: view_entity BASIC Package: FINS_AR_MACHINE_LEARNING

Cleared Receivable Item

P_ARBSITMCLRITEM03 is a Basic CDS View that provides data about "Cleared Receivable Item" in SAP S/4HANA. It reads from 2 data sources (P_ARBSITMBANKSTMT01, P_ARBSITMCLRITEM01) and exposes 36 fields. Part of development package FINS_AR_MACHINE_LEARNING.

Data Sources (2)

SourceAliasJoin Type
P_ARBSITMBANKSTMT01 BankStatementItem inner
P_ARBSITMCLRITEM01 ReceivableItem from

Annotations (6)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view

Fields (36)

KeyFieldSource TableSource FieldDescription
CompanyCode P_ARBSITMCLRITEM01 CompanyCode Receiver Company Code
FiscalYear P_ARBSITMCLRITEM01 FiscalYear G/L Fiscal Year
AccountingDocument P_ARBSITMCLRITEM01 AccountingDocument Journal Entry
AccountingDocumentItem P_ARBSITMCLRITEM01 AccountingDocumentItem Posting View Item
AccountingDocumentType P_ARBSITMCLRITEM01 AccountingDocumentType Journal Entry Type
PostingDate P_ARBSITMCLRITEM01 PostingDate Posting Date for GR
DocumentReferenceID P_ARBSITMCLRITEM01 DocumentReferenceID Reference
AssignmentReference P_ARBSITMCLRITEM01 AssignmentReference Assignment Reference
PaymentReference P_ARBSITMCLRITEM01 PaymentReference Payment Reference
BillingDocument P_ARBSITMCLRITEM01 BillingDocument SD Document
ClearingDocFiscalYear P_ARBSITMCLRITEM01 ClearingDocFiscalYear Fiscal Year of Clearing Journal Entry
ClearingAccountingDocument P_ARBSITMCLRITEM01 ClearingAccountingDocument Clearing Journal Entry
ClearingDate P_ARBSITMCLRITEM01 ClearingDate Clearing Date
CompanyCodeCurrency P_ARBSITMCLRITEM01 CompanyCodeCurrency Local Currency
TransactionCurrency P_ARBSITMCLRITEM01 TransactionCurrency Transaction Currency
AmountInCompanyCodeCurrency P_ARBSITMCLRITEM01 AmountInCompanyCodeCurrency Local Crcy Amt
AmountInTransactionCurrency P_ARBSITMCLRITEM01 AmountInTransactionCurrency Pt Crcy Amt
TaxAmountInCoCodeCrcy P_ARBSITMCLRITEM01 TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxAmount P_ARBSITMCLRITEM01 TaxAmount Tax Amt in Rptg Crcy
CashDiscountAmtInCoCodeCrcy P_ARBSITMCLRITEM01 CashDiscountAmtInCoCodeCrcy Discount Amt
CashDiscountAmount P_ARBSITMCLRITEM01 CashDiscountAmount CD Amount
DebitCreditCode P_ARBSITMCLRITEM01 DebitCreditCode Single-Character Flag
DocumentItemText P_ARBSITMCLRITEM01 DocumentItemText Text
FinancialAccountType P_ARBSITMCLRITEM01 FinancialAccountType Fin. Account Type
InvoiceReference P_ARBSITMCLRITEM01 InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear P_ARBSITMCLRITEM01 InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
InvoiceItemReference P_ARBSITMCLRITEM01 InvoiceItemReference Item
FollowOnDocumentType P_ARBSITMCLRITEM01 FollowOnDocumentType Follow-On Document Type
Debtor P_ARBSITMCLRITEM01 Debtor Debtor
OrganizationBPName1 P_ARBSITMCLRITEM01 OrganizationBPName1 Name 1
OrganizationBPName2 P_ARBSITMCLRITEM01 OrganizationBPName2 Name 2
OrganizationBPName3 P_ARBSITMCLRITEM01 OrganizationBPName3 Name 3
OrganizationBPName4 P_ARBSITMCLRITEM01 OrganizationBPName4 Name 4
CityName P_ARBSITMCLRITEM01 CityName Name
Country P_ARBSITMCLRITEM01 Country Venue: Ctry/Reg
PartnerCompany P_ARBSITMCLRITEM01 PartnerCompany Trading Partner

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 P_ARBSITMCLRITEM03.
-- 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: PARBSITMCLRITEM3

CREATE VIEW P_ARBSITMCLRITEM03 AS
SELECT
  ReceivableItem.CompanyCode AS CompanyCode,
  ReceivableItem.FiscalYear AS FiscalYear,
  ReceivableItem.AccountingDocument AS AccountingDocument,
  ReceivableItem.AccountingDocumentItem AS AccountingDocumentItem,
  ReceivableItem.AccountingDocumentType AS AccountingDocumentType,
  ReceivableItem.PostingDate AS PostingDate,
  ReceivableItem.DocumentReferenceID AS DocumentReferenceID,
  ReceivableItem.AssignmentReference AS AssignmentReference,
  ReceivableItem.PaymentReference AS PaymentReference,
  ReceivableItem.BillingDocument AS BillingDocument,
  ReceivableItem.ClearingDocFiscalYear AS ClearingDocFiscalYear,
  ReceivableItem.ClearingAccountingDocument AS ClearingAccountingDocument,
  ReceivableItem.ClearingDate AS ClearingDate,
  ReceivableItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  ReceivableItem.TransactionCurrency AS TransactionCurrency,
  ReceivableItem.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  ReceivableItem.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  ReceivableItem.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
  ReceivableItem.TaxAmount AS TaxAmount,
  ReceivableItem.CashDiscountAmtInCoCodeCrcy AS CashDiscountAmtInCoCodeCrcy,
  ReceivableItem.CashDiscountAmount AS CashDiscountAmount,
  ReceivableItem.DebitCreditCode AS DebitCreditCode,
  ReceivableItem.DocumentItemText AS DocumentItemText,
  ReceivableItem.FinancialAccountType AS FinancialAccountType,
  ReceivableItem.InvoiceReference AS InvoiceReference,
  ReceivableItem.InvoiceReferenceFiscalYear AS InvoiceReferenceFiscalYear,
  ReceivableItem.InvoiceItemReference AS InvoiceItemReference,
  ReceivableItem.FollowOnDocumentType AS FollowOnDocumentType,
  ReceivableItem.Debtor AS Debtor,
  ReceivableItem.OrganizationBPName1 AS OrganizationBPName1,
  ReceivableItem.OrganizationBPName2 AS OrganizationBPName2,
  ReceivableItem.OrganizationBPName3 AS OrganizationBPName3,
  ReceivableItem.OrganizationBPName4 AS OrganizationBPName4,
  ReceivableItem.CityName AS CityName,
  ReceivableItem.Country AS Country,
  ReceivableItem.PartnerCompany AS PartnerCompany
FROM P_ARBSITMCLRITEM01 AS ReceivableItem
INNER JOIN P_ARBSITMBANKSTMT01 AS BankStatementItem ON /* join condition not captured in parsed metadata */
;