I_CADocumentBPItemPaymentData

DDL: I_CADOCUMENTBPITEMPAYMENTDATA Type: view BASIC

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)

SourceAliasJoin Type
dfkkopc dfkkopc from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;