I_AbpBankAccountCount

DDL: I_ABPBANKACCOUNTCOUNT SQL: IABPBNKACCCOUNT Type: view COMPOSITE

ABP - Payment Batch Bank Accounts Count

I_AbpBankAccountCount is a Composite CDS View that provides data about "ABP - Payment Batch Bank Accounts Count" in SAP S/4HANA. It reads from 2 data sources (I_BankPaymentBatchItem, I_PaymentProposalHeader) and exposes 4 fields with key field PaymentBatch.

Data Sources (2)

SourceAliasJoin Type
I_BankPaymentBatchItem _BatchItem from
I_PaymentProposalHeader _PaymentProposalHeader inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IABPBNKACCCOUNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label ABP - Payment Batch Bank Accounts Count view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PaymentBatch I_BankPaymentBatchItem PaymentBatch
NumberOfBankAccounts
HouseBankAccount
HouseBankIBAN

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_AbpBankAccountCount.
-- 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: IABPBNKACCCOUNT

CREATE VIEW I_AbpBankAccountCount AS
SELECT
  _BatchItem.PaymentBatch AS PaymentBatch,
  count(distinct _PaymentProposalHeader.HouseBankAccount ) AS NumberOfBankAccounts,
  max(_PaymentProposalHeader.HouseBankAccount) AS HouseBankAccount,
  max(_PaymentProposalHeader.HouseBankIBAN) AS HouseBankIBAN
FROM I_BankPaymentBatchItem AS _BatchItem
INNER JOIN I_PaymentProposalHeader AS _PaymentProposalHeader ON /* join condition not captured in parsed metadata */
;