R_BankPaymentBatchItem
Bank Payment Batch Item
R_BankPaymentBatchItem is a Composite CDS View that provides data about "Bank Payment Batch Item" in SAP S/4HANA. It reads from 4 data sources (I_BankPaymentBatchItem, I_BankPaymentBatchItem, R_StatusCodeMigrationStatus, R_StatusCodeMigrationStatus) and exposes 73 fields with key fields PaymentBatchItem, BatchUUID, BatchUUID. It has 3 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_BankPaymentBatchItem | I_BankPaymentBatchItem | from |
| I_BankPaymentBatchItem | I_BankPaymentBatchItem | union_all |
| R_StatusCodeMigrationStatus | R_StatusCodeMigrationStatus | inner |
| R_StatusCodeMigrationStatus | R_StatusCodeMigrationStatus | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SystemStatusText | _SystemStatusText | $projection.PaymentBatchItemCurrentStatus = _SystemStatusText.SystemStatus |
| [1..1] | I_Housebank | _HouseBank | $projection.PayingCompanyCode = _HouseBank.CompanyCode and $projection.HouseBank = _HouseBank.HouseBank |
| [0..1] | I_DataExchangeInstructionKeys | _DataExchangeInstructionKeys | $projection.DataExchangeInstructionKey = _DataExchangeInstructionKeys.DataExchangeInstructionKey and $projection.PaymentMethod = _DataExchangeInstructionKeys.PaymentMethod and $projection.BankCountry = _DataExchangeInstructionKeys.BankCountryKey |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RBNKPAYTBTCHITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Bank Payment Batch Item | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentBatchItem | PaymentBatchItem | ||
| KEY | BatchUUID | BatchUUID | Target Grp GUID | |
| PaymentBatch | PaymentBatch | |||
| PaymentGroup | PaymentGroup | |||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| PaymentRecipient | PaymentRecipient | |||
| PaymentDocument | PaymentDocument | Payment Document Number | ||
| PaymentsGroupingCriterion | PaymentsGroupingCriterion | |||
| PaymentRunDate | PaymentRunDate | |||
| PaymentRunID | PaymentRunID | |||
| PayingCompanyCode | PayingCompanyCode | Paying Company Code | ||
| PaymentBatchMergeDate | PaymentBatchMergeDate | |||
| PaymentBatchMerge | PaymentBatchMerge | |||
| PaymentRunIsProposal | PaymentRunIsProposal | |||
| PaymentBatchStatus | PaymentBatchStatus | |||
| PaymentAmountInRuleCrcy | PaymentAmountInRuleCrcy | |||
| HouseBank | HouseBank | House Bank | ||
| BankPaymentOrigin | BankPaymentOrigin | Payment System | ||
| PaymentBatchItemCurrentStatus | _StatusObject | StatusCode | Payment Current Status | |
| PaymentBatchItemExtEndToEnd | PaymentBatchItemExtEndToEnd | End to End ID | ||
| PaymentBatchRuleCurrency | PaymentBatchRuleCurrency | |||
| PaymentBatchItemExternalStatus | PaymentBatchItemExternalStatus | |||
| SwitchableAuthznCheckScenSts | SwitchableAuthznCheckScenSts | Scen. Status | ||
| SWIFTGPIReason | SWIFTGPIReason | |||
| DataExchangeInstructionKey | _HouseBank | DataExchangeInstructionKey | Instruction Key | |
| BankCountry | _HouseBank | BankCountry | Bank Ctry/Rgn. Key | |
| PaymentMethod | _PaymentProposalHeader | PaymentMethod | Pymt Meth. | |
| _BankPaymentBatchRuleBaseCust | _BankPaymentBatchRuleBaseCust | |||
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _PaymentProposalHeader | _PaymentProposalHeader | |||
| _StatusObject | _StatusObject | |||
| _Supplier | _Supplier | |||
| _SystemStatusText | _SystemStatusText | |||
| _HouseBank | _HouseBank | |||
| BankCountryKeykeyPaymentBatchItem | ||||
| KEY | BatchUUID | BatchUUID | Target Grp GUID | |
| PaymentBatch | PaymentBatch | |||
| PaymentGroup | PaymentGroup | |||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| PaymentRecipient | PaymentRecipient | |||
| PaymentDocument | PaymentDocument | Payment Document Number | ||
| PaymentsGroupingCriterion | PaymentsGroupingCriterion | |||
| PaymentRunDate | PaymentRunDate | |||
| PaymentRunID | PaymentRunID | |||
| PayingCompanyCode | PayingCompanyCode | Paying Company Code | ||
| PaymentBatchMergeDate | PaymentBatchMergeDate | |||
| PaymentBatchMerge | PaymentBatchMerge | |||
| PaymentRunIsProposal | PaymentRunIsProposal | |||
| PaymentBatchStatus | PaymentBatchStatus | |||
| PaymentAmountInRuleCrcy | PaymentAmountInRuleCrcy | |||
| HouseBank | HouseBank | House Bank | ||
| BankPaymentOrigin | BankPaymentOrigin | Payment System | ||
| PaymentBatchItemCurrentStatus | PaymentBatchItemCurrentStatus | Payment Current Status | ||
| PaymentBatchItemExtEndToEnd | PaymentBatchItemExtEndToEnd | End to End ID | ||
| PaymentBatchRuleCurrency | PaymentBatchRuleCurrency | |||
| PaymentBatchItemExternalStatus | PaymentBatchItemExternalStatus | |||
| SwitchableAuthznCheckScenSts | SwitchableAuthznCheckScenSts | Scen. Status | ||
| SWIFTGPIReason | SWIFTGPIReason | |||
| DataExchangeInstructionKey | _HouseBank | DataExchangeInstructionKey | Instruction Key | |
| BankCountry | _HouseBank | BankCountry | Bank Ctry/Rgn. Key | |
| PaymentMethod | _PaymentProposalHeader | PaymentMethod | Pymt Meth. | |
| _BankPaymentBatchRuleBaseCust | _BankPaymentBatchRuleBaseCust | |||
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _PaymentProposalHeader | _PaymentProposalHeader | |||
| _StatusObject | _StatusObject | |||
| _Supplier | _Supplier | |||
| _SystemStatusText | _SystemStatusText | |||
| _HouseBank | _HouseBank | |||
| _DataExchangeInstructionKeys | _DataExchangeInstructionKeys |
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 R_BankPaymentBatchItem.
-- 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: RBNKPAYTBTCHITEM
CREATE VIEW R_BankPaymentBatchItem AS
SELECT
PaymentBatchItem,
BatchUUID,
PaymentBatch,
PaymentGroup,
Supplier,
Customer,
PaymentRecipient,
PaymentDocument,
PaymentsGroupingCriterion,
PaymentRunDate,
PaymentRunID,
PayingCompanyCode,
PaymentBatchMergeDate,
PaymentBatchMerge,
PaymentRunIsProposal,
PaymentBatchStatus,
PaymentAmountInRuleCrcy,
HouseBank,
BankPaymentOrigin,
_StatusObject.StatusCode AS PaymentBatchItemCurrentStatus,
PaymentBatchItemExtEndToEnd,
PaymentBatchRuleCurrency,
PaymentBatchItemExternalStatus,
SwitchableAuthznCheckScenSts,
SWIFTGPIReason,
_HouseBank.DataExchangeInstructionKey AS DataExchangeInstructionKey,
_HouseBank.BankCountry AS BankCountry,
_PaymentProposalHeader.PaymentMethod AS PaymentMethod
FROM I_BankPaymentBatchItem
INNER JOIN R_StatusCodeMigrationStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SystemStatusText AS _SystemStatusText ON PaymentBatchItemCurrentStatus = _SystemStatusText.SystemStatus -- association [0..*]
LEFT OUTER JOIN I_Housebank AS _HouseBank ON PayingCompanyCode = _HouseBank.CompanyCode AND HouseBank = _HouseBank.HouseBank -- association [1..1]
LEFT OUTER JOIN I_DataExchangeInstructionKeys AS _DataExchangeInstructionKeys ON DataExchangeInstructionKey = _DataExchangeInstructionKeys.DataExchangeInstructionKey AND PaymentMethod = _DataExchangeInstructionKeys.PaymentMethod AND BankCountry = _DataExchangeInstructionKeys.BankCountryKey -- association [0..1]
-- UNION ALL with additional select branch(es): I_BankPaymentBatchItem
;
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