P_ARBSITMBANKSTMT02

DDL: P_ARBSITMBANKSTMT02 SQL: PARBSITMBNKSTMT2 Type: view_entity BASIC Package: FINS_AR_MACHINE_LEARNING

Cleared Bank Statement

P_ARBSITMBANKSTMT02 is a Basic CDS View that provides data about "Cleared Bank Statement" in SAP S/4HANA. It reads from 3 data sources (P_ARBSITMBANKSTMT01, P_Arbsitmemoline, P_ARBSITMCLRITEM01) and exposes 35 fields. Part of development package FINS_AR_MACHINE_LEARNING.

Data Sources (3)

SourceAliasJoin Type
P_ARBSITMBANKSTMT01 BankStatementItem inner
P_Arbsitmemoline P_Arbsitmemoline left_outer
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 (35)

KeyFieldSource TableSource FieldDescription
CompanyCode P_ARBSITMBANKSTMT01 CompanyCode Receiver Company Code
HouseBank P_ARBSITMBANKSTMT01 HouseBank House Bank
HouseBankAccount P_ARBSITMBANKSTMT01 HouseBankAccount House Bank Account
BankStatement P_ARBSITMBANKSTMT01 BankStatement Bank Statement No.
BankStatementShortID P_ARBSITMBANKSTMT01 BankStatementShortID Statement Short Key
BankStatementItem P_ARBSITMBANKSTMT01 BankStatementItem Memo Record No.
FiscalYear P_ARBSITMBANKSTMT01 FiscalYear G/L Fiscal Year
PostingDate P_ARBSITMBANKSTMT01 PostingDate Posting Date for GR
ValueDate P_ARBSITMBANKSTMT01 ValueDate Value Date
Currency P_ARBSITMBANKSTMT01 Currency Valuation Crcy
TransactionCurrency P_ARBSITMBANKSTMT01 TransactionCurrency Transaction Currency
AmountInTransactionCurrency P_ARBSITMBANKSTMT01 AmountInTransactionCurrency Pt Crcy Amt
DebitCreditCode P_ARBSITMBANKSTMT01 DebitCreditCode Single-Character Flag
PartnerBankCountry P_ARBSITMBANKSTMT01 PartnerBankCountry Part. Ctry/Rgn
PartnerBank P_ARBSITMBANKSTMT01 PartnerBank Bank Number
PartnerBankSWIFTCode P_ARBSITMBANKSTMT01 PartnerBankSWIFTCode Partner SWIFT
PartnerBankAccount P_ARBSITMBANKSTMT01 PartnerBankAccount Part. Bank Acct
PartnerBankIBAN P_ARBSITMBANKSTMT01 PartnerBankIBAN Partner IBAN
BusinessPartnerName P_ARBSITMBANKSTMT01 BusinessPartnerName Extracted Customer Name
BankLedgerDocument P_ARBSITMBANKSTMT01 BankLedgerDocument SD Document
SubledgerDocument P_ARBSITMBANKSTMT01 SubledgerDocument Subl.Doc.No.
DocumentReferenceID P_ARBSITMBANKSTMT01 DocumentReferenceID Reference
PaymentAdviceAccountType P_ARBSITMBANKSTMT01 PaymentAdviceAccountType Account Type
PaymentAdviceAccount P_ARBSITMBANKSTMT01 PaymentAdviceAccount Account
AssignmentReference P_ARBSITMBANKSTMT01 AssignmentReference Assignment Reference
PaymentReference P_ARBSITMBANKSTMT01 PaymentReference Payment Reference
BankStatementPostingRule P_ARBSITMBANKSTMT01 BankStatementPostingRule Posting Rule
SubledgerOnAccountDocument P_ARBSITMBANKSTMT01 SubledgerOnAccountDocument Pyt o.Ac.Doc.No
PaymentAdvice P_ARBSITMBANKSTMT01 PaymentAdvice Payment Advice Number
MemoLine MemoLine MemoLine Memo Line
PaymentTransactionDescription P_ARBSITMBANKSTMT01 PaymentTransactionDescription Posting Text
Cheque P_ARBSITMBANKSTMT01 Cheque Cheque No
BankPostingKey P_ARBSITMBANKSTMT01 BankPostingKey Text Key
PaymentTransaction P_ARBSITMBANKSTMT01 PaymentTransaction Bus Trans Code
PaymentExternalTransacType P_ARBSITMBANKSTMT01 PaymentExternalTransacType

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_ARBSITMBANKSTMT02.
-- 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: PARBSITMBNKSTMT2

CREATE VIEW P_ARBSITMBANKSTMT02 AS
SELECT
  BankStatementItem.CompanyCode AS CompanyCode,
  BankStatementItem.HouseBank AS HouseBank,
  BankStatementItem.HouseBankAccount AS HouseBankAccount,
  BankStatementItem.BankStatement AS BankStatement,
  BankStatementItem.BankStatementShortID AS BankStatementShortID,
  BankStatementItem.BankStatementItem AS BankStatementItem,
  BankStatementItem.FiscalYear AS FiscalYear,
  BankStatementItem.PostingDate AS PostingDate,
  BankStatementItem.ValueDate AS ValueDate,
  BankStatementItem.Currency AS Currency,
  BankStatementItem.TransactionCurrency AS TransactionCurrency,
  BankStatementItem.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  BankStatementItem.DebitCreditCode AS DebitCreditCode,
  BankStatementItem.PartnerBankCountry AS PartnerBankCountry,
  BankStatementItem.PartnerBank AS PartnerBank,
  BankStatementItem.PartnerBankSWIFTCode AS PartnerBankSWIFTCode,
  BankStatementItem.PartnerBankAccount AS PartnerBankAccount,
  BankStatementItem.PartnerBankIBAN AS PartnerBankIBAN,
  BankStatementItem.BusinessPartnerName AS BusinessPartnerName,
  BankStatementItem.BankLedgerDocument AS BankLedgerDocument,
  BankStatementItem.SubledgerDocument AS SubledgerDocument,
  BankStatementItem.DocumentReferenceID AS DocumentReferenceID,
  BankStatementItem.PaymentAdviceAccountType AS PaymentAdviceAccountType,
  BankStatementItem.PaymentAdviceAccount AS PaymentAdviceAccount,
  BankStatementItem.AssignmentReference AS AssignmentReference,
  BankStatementItem.PaymentReference AS PaymentReference,
  BankStatementItem.BankStatementPostingRule AS BankStatementPostingRule,
  BankStatementItem.SubledgerOnAccountDocument AS SubledgerOnAccountDocument,
  BankStatementItem.PaymentAdvice AS PaymentAdvice,
  MemoLine.MemoLine AS MemoLine,
  BankStatementItem.PaymentTransactionDescription AS PaymentTransactionDescription,
  BankStatementItem.Cheque AS Cheque,
  BankStatementItem.BankPostingKey AS BankPostingKey,
  BankStatementItem.PaymentTransaction AS PaymentTransaction,
  BankStatementItem.PaymentExternalTransacType AS PaymentExternalTransacType
FROM P_ARBSITMCLRITEM01 AS ReceivableItem
INNER JOIN P_ARBSITMBANKSTMT01 AS BankStatementItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Arbsitmemoline ON /* join condition not captured in parsed metadata */
;