I_Paymentstatistics_Base

DDL: I_PAYMENTSTATISTICS_BASE SQL: IPSBASE Type: view BASIC

Base View for Payment Statistics

I_Paymentstatistics_Base is a Basic CDS View that provides data about "Base View for Payment Statistics" in SAP S/4HANA. It reads from 6 data sources and exposes 15 fields.

Data Sources (6)

SourceAliasJoin Type
crm_jest _crm_jest left_outer
bnk_batch_item batch_item from
bnk_batch_header header left_outer
t015w instruc left_outer
reguh reguh left_outer
reguhm reguhm inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPSBASE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Base View for Payment Statistics view
Metadata.ignorePropagatedAnnotations true view

Fields (15)

KeyFieldSource TableSource FieldDescription
CompanyCode bnk_batch_item zbukr Paying CoCd
PaymentBatch bnk_batch_item batch_no Batch Number
NumberOfPayments
Status crm_jest stat Status of Time-Dependent Document Linkage
PaymentBatchRule bnk_batch_header rule_id Rule ID
CreationDate bnk_batch_header crdate Sizing Date
LastChangeDate bnk_batch_header chdate Date Changed
PaymentCurrency reguh waers Transaction Currency
PaymentMethod reguh rzawe Pymt Meth.
PayeeBankInternalID reguh zbnky Payee bank key
PayeeBankCountry reguh zbnks Part. Ctry/Rgn
BankCountryKey reguh ubnks Bank Ctry/Reg.
AmountInPaymentCurrency
BankKey reguh ubnky House Bank Key
IsUrgentPayment t015w dturg Urgent

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_Paymentstatistics_Base.
-- 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: IPSBASE

CREATE VIEW I_Paymentstatistics_Base AS
SELECT
  batch_item.zbukr AS CompanyCode,
  batch_item.batch_no AS PaymentBatch,
  cast ( 1 as fclm_bam_ps_number_of_payments ) AS NumberOfPayments,
  _crm_jest.stat AS Status,
  header.rule_id AS PaymentBatchRule,
  header.crdate AS CreationDate,
  header.chdate AS LastChangeDate,
  reguh.waers AS PaymentCurrency,
  reguh.rzawe AS PaymentMethod,
  reguh.zbnky AS PayeeBankInternalID,
  reguh.zbnks AS PayeeBankCountry,
  reguh.ubnks AS BankCountryKey,
  -reguh.rwbtr AS AmountInPaymentCurrency,
  reguh.ubnky AS BankKey,
  instruc.dturg AS IsUrgentPayment
FROM bnk_batch_item AS batch_item
INNER JOIN reguhm ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN crm_jest AS _crm_jest ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN bnk_batch_header AS header ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN reguh ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t015w AS instruc ON /* join condition not captured in parsed metadata */
;