I_Paymentstatistics_Base
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA