I_CADocumentBPItemPaymentData
Document BP Item Payment Data
I_CADocumentBPItemPaymentData is a Basic CDS View that provides data about "Document BP Item Payment Data" in SAP S/4HANA. It reads from 1 data source (dfkkopc) and exposes 37 fields with key fields CADocumentNumber, CAGroupingForPayment. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkopc | dfkkopc | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CAAuthorizationType | _CAAuthorizationType | $projection.CAAuthorizationType = _CAAuthorizationType.CAAuthorizationType |
| [1..1] | I_CADocumentHeader | _DocHeader | $projection.CADocumentNumber = _DocHeader.CADocumentNumber |
| [0..1] | I_CACreditPostingOrigin | _CACreditPostingOrigin | $projection.OriginalSourceOfCredit = _CACreditPostingOrigin.OriginalSourceOfCredit |
| [1..1] | I_Currency | _AuthorizationCurrency | $projection.AuthorizationCurrency = _AuthorizationCurrency.Currency |
| [1..1] | I_PaytServiceProviderIdn | _PaymentServiceProvider | $projection.PaymentServiceProvider = _PaymentServiceProvider.PaymentServiceProvider |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | ICADOCBPIPAY | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Document BP Item Payment Data | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentNumber | opbel | Reopen | |
| KEY | CAGroupingForPayment | pygrp | Pymt Grouping | |
| PaymentCardType | ccins | Payt Card Type | ||
| PaytCardByDigitalPaymentSrvc | ccnum | Condition Contract | ||
| PaymentCardSequenceNumber | ccfol | Suffix | ||
| PaymentCardValidityStartDate | datab | Validity period | ||
| PaymentCardValidityEndDate | datbi | Validity period | ||
| PaymentCardHolderName | ccname | Cardholder Name | ||
| PaymentCardMaskedNumber | masked_id | Card Number | ||
| CAAuthznByDigitalPaytSrvc | aunum | AuthorizationNo | ||
| CAAuthorizationByAcquirer | autra | Auth. Ref. No. | ||
| AuthorizationDate | audat | Trans. Period End | ||
| AuthorizationTime | autim | Auth. Time | ||
| CAAuthorizationType | auart | Sales Doc. Type | ||
| AuthorizedAmountInAuthznCrcy | autwr | Authorized Amt | ||
| AuthorizationCurrency | ccwae | Currency | ||
| MerchantByClearingHouse | merch | Merchant ID | ||
| AuthorizationExpirationDate | expdt | Expiration Date | ||
| AuthorizationExpirationTime | exptm | Auth. Exp. Time | ||
| CAPaymentIDAuthznWithBilling | aucid | Payment ID | ||
| CASettlementPaymentAdviceRef | avref | Pymt Adv. Note Ref. | ||
| PaymentCardAuthznRelationID | dp_auth_rel_id | Auth. Rel. ID | ||
| DigitalPaymentFraudRisk | dp_fraud_risk | Fraud Risk Code | ||
| PaymentCardUUID | cguid | GUID of a Payment Card | ||
| EncryptionType | enctp | Encryption Type | ||
| CAKeyForPaymentCardSupplement | xguid | Pmt Card Suppl. | ||
| PaymentServiceProvider | pays_prov | PSP | ||
| PaymentRefByPaytSrvcProvider | pays_tran | PSP Payment Ref. | ||
| OriglPaytRefByPaytSrvcProvider | orig_pays_tran | PSP Payment Ref. | ||
| OriginalSourceOfCredit | orig_credit | Origin | ||
| DigitalPaymentType | dp_payment_type | Payment Type | ||
| PaymentByDigitalPaymentService | dp_trans_id | Transaction/Payt ID | ||
| _AuthorizationCurrency | _AuthorizationCurrency | |||
| _CAAuthorizationType | _CAAuthorizationType | |||
| _CACreditPostingOrigin | _CACreditPostingOrigin | |||
| _DocHeader | _DocHeader | |||
| _PaymentServiceProvider | _PaymentServiceProvider |
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_CADocumentBPItemPaymentData.
-- 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.
CREATE VIEW I_CADocumentBPItemPaymentData AS
SELECT
opbel AS CADocumentNumber,
pygrp AS CAGroupingForPayment,
ccins AS PaymentCardType,
ccnum AS PaytCardByDigitalPaymentSrvc,
ccfol AS PaymentCardSequenceNumber,
datab AS PaymentCardValidityStartDate,
datbi AS PaymentCardValidityEndDate,
ccname AS PaymentCardHolderName,
masked_id AS PaymentCardMaskedNumber,
aunum AS CAAuthznByDigitalPaytSrvc,
autra AS CAAuthorizationByAcquirer,
audat AS AuthorizationDate,
autim AS AuthorizationTime,
auart AS CAAuthorizationType,
autwr AS AuthorizedAmountInAuthznCrcy,
ccwae AS AuthorizationCurrency,
merch AS MerchantByClearingHouse,
expdt AS AuthorizationExpirationDate,
exptm AS AuthorizationExpirationTime,
aucid AS CAPaymentIDAuthznWithBilling,
avref AS CASettlementPaymentAdviceRef,
dp_auth_rel_id AS PaymentCardAuthznRelationID,
dp_fraud_risk AS DigitalPaymentFraudRisk,
cguid AS PaymentCardUUID,
enctp AS EncryptionType,
xguid AS CAKeyForPaymentCardSupplement,
pays_prov AS PaymentServiceProvider,
pays_tran AS PaymentRefByPaytSrvcProvider,
orig_pays_tran AS OriglPaytRefByPaytSrvcProvider,
orig_credit AS OriginalSourceOfCredit,
dp_payment_type AS DigitalPaymentType,
dp_trans_id AS PaymentByDigitalPaymentService
FROM dfkkopc
LEFT OUTER JOIN I_CAAuthorizationType AS _CAAuthorizationType ON CAAuthorizationType = _CAAuthorizationType.CAAuthorizationType -- association [0..1]
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CADocumentNumber = _DocHeader.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CACreditPostingOrigin AS _CACreditPostingOrigin ON OriginalSourceOfCredit = _CACreditPostingOrigin.OriginalSourceOfCredit -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AuthorizationCurrency ON AuthorizationCurrency = _AuthorizationCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_PaytServiceProviderIdn AS _PaymentServiceProvider ON PaymentServiceProvider = _PaymentServiceProvider.PaymentServiceProvider -- association [1..1]
;
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