I_CADocumentGLItemPaymentData

DDL: I_CADOCUMENTGLITEMPAYMENTDATA SQL: ICADOCGLIPAY Type: view BASIC

Document G/L Item Payment Data

I_CADocumentGLItemPaymentData is a Basic CDS View that provides data about "Document G/L Item Payment Data" in SAP S/4HANA. It reads from 1 data source (dfkkopkc) and exposes 60 fields with key fields CADocumentNumber, CAGLItemNumber. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dfkkopkc dfkkopkc from

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_CAAuthorizationType _CAAuthorizationType $projection.CAAuthorizationType = _CAAuthorizationType.CAAuthorizationType
[0..1] I_CACreditPostingOrigin _CACreditPostingOrigin $projection.OriginalSourceOfCredit = _CACreditPostingOrigin.OriginalSourceOfCredit
[1..1] I_CADocumentHeader _DocHeader $projection.CADocumentNumber = _DocHeader.CADocumentNumber
[0..1] I_CAPaymentBillingStatus _CAPaymentBillingStatus $projection.CAPaymentBillingStatus = _CAPaymentBillingStatus.CAPaymentBillingStatus
[0..*] I_CAReturnReason _CAReturnReason $projection.CAReturnReason = _CAReturnReason.CAReturnReason and _CAReturnReason.HouseBank is not initial
[1..1] I_Currency _AuthorizationCurrency $projection.AuthorizationCurrency = _AuthorizationCurrency.Currency
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[1..1] I_Currency _SettlementCurrency $projection.SettlementCurrency = _SettlementCurrency.Currency
[1..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode
[1..1] I_PaytServiceProviderIdn _PaymentServiceProvider $projection.PaymentServiceProvider = _PaymentServiceProvider.PaymentServiceProvider

Annotations (10)

NameValueLevelField
VDM.viewType #BASIC view
AbapCatalog.sqlViewName ICADOCGLIPAY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Document G/L Item Payment Data view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber opbel
KEY CAGLItemNumber opupk
PaymentCardType ccins
PaytCardByDigitalPaymentSrvc ccnum
PaymentCardSequenceNumber ccfol
PaymentCardValidityStartDate datab
PaymentCardValidityEndDate datbi
PaymentCardHolderName ccname
PaymentCardMaskedNumber masked_id
CAAuthznByDigitalPaytSrvc aunum
CAAuthorizationByAcquirer autra
AuthorizationDate audat
AuthorizationTime autim
CAAuthorizationType auart
AuthorizedAmountInAuthznCrcy autwr
AuthorizationCurrency ccwae
MerchantByClearingHouse merch
AuthorizationExpirationDate expdt
AuthorizationExpirationTime exptm
CAPaymentIDAuthznWithBilling aucid
CASettlementPaymentAdviceRef avref
PaymentCardAuthznRelationID dp_auth_rel_id
DigitalPaymentFraudRisk dp_fraud_risk
CAPostingDate budat
CAAmountInTransactionCurrency betrw
TransactionCurrency waers
CompanyCode bukrs
ValueDate valut
CAPaymentBillingStatus xsett
CASettlementMassRunID laufi
CASettlementDocument stdoc
CAPaytCardSupplementIsResent resend
CAReturnLot keyr1
CAReturnReason rlgrd
CASettlmtChrgAmtInSettlmtCrcy ccfam
CAPaymentCardSettlementID srqid
CASettlmtAmountInSettlmtCrcy setam
SettlementCurrency setcu
CreationDate crdat
CreationTime crtms
CreatedByUser crnam
PaymentCardUUID cguid
EncryptionType enctp
CAKeyForPaymentCardSupplement xguid
PaymentServiceProvider pays_prov
PaymentRefByPaytSrvcProvider pays_tran
OriglPaytRefByPaytSrvcProvider orig_pays_tran
OriginalSourceOfCredit orig_credit
DigitalPaymentType dp_payment_type
PaymentByDigitalPaymentService dp_trans_id
_AuthorizationCurrency _AuthorizationCurrency
_CAAuthorizationType _CAAuthorizationType
_CACreditPostingOrigin _CACreditPostingOrigin
_CAPaymentBillingStatus _CAPaymentBillingStatus
_CAReturnReason _CAReturnReason
_CompCode _CompCode
_DocHeader _DocHeader
_PaymentServiceProvider _PaymentServiceProvider
_SettlementCurrency _SettlementCurrency
_TransactionCurrency _TransactionCurrency
@VDM.viewType: #BASIC

@AbapCatalog.sqlViewName: 'ICADOCGLIPAY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C

@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Document G/L Item Payment Data'

define view I_CADocumentGLItemPaymentData
  as select from dfkkopkc
  association [0..1] to I_CAAuthorizationType    as _CAAuthorizationType    on $projection.CAAuthorizationType = _CAAuthorizationType.CAAuthorizationType
  association [0..1] to I_CACreditPostingOrigin  as _CACreditPostingOrigin  on $projection.OriginalSourceOfCredit = _CACreditPostingOrigin.OriginalSourceOfCredit
  association [1..1] to I_CADocumentHeader       as _DocHeader              on $projection.CADocumentNumber = _DocHeader.CADocumentNumber
  association [0..1] to I_CAPaymentBillingStatus as _CAPaymentBillingStatus on $projection.CAPaymentBillingStatus = _CAPaymentBillingStatus.CAPaymentBillingStatus
  association [0..*] to I_CAReturnReason         as _CAReturnReason         on $projection.CAReturnReason = _CAReturnReason.CAReturnReason                      
                                                                            and _CAReturnReason.HouseBank is not initial
  association [1..1] to I_Currency               as _AuthorizationCurrency  on $projection.AuthorizationCurrency = _AuthorizationCurrency.Currency
  association [1..1] to I_Currency               as _TransactionCurrency    on $projection.TransactionCurrency = _TransactionCurrency.Currency
  association [1..1] to I_Currency               as _SettlementCurrency     on $projection.SettlementCurrency = _SettlementCurrency.Currency
  association [1..1] to I_CompanyCode            as _CompCode               on $projection.CompanyCode = _CompCode.CompanyCode
  association [1..1] to I_PaytServiceProviderIdn as _PaymentServiceProvider on $projection.PaymentServiceProvider = _PaymentServiceProvider.PaymentServiceProvider
  //association [1..1] to I_PaymentCardTypes       as _PaymentCardType        on  $projection.PaymentCardType        = _PaymentCardType.PaymentCardType


{
      @ObjectModel.foreignKey.association: '_DocHeader'
  key opbel           as CADocumentNumber,
  key opupk           as CAGLItemNumber,

      //@ObjectModel.foreignKey.association: '_PaymentCardType'

      ccins           as PaymentCardType,
      ccnum           as PaytCardByDigitalPaymentSrvc,
      ccfol           as PaymentCardSequenceNumber,
      datab           as PaymentCardValidityStartDate,
      datbi           as PaymentCardValidityEndDate,
      ccname          as PaymentCardHolderName,
      masked_id       as PaymentCardMaskedNumber,
      //cvval,

      //cvvct,

      //cvvst,


      aunum           as CAAuthznByDigitalPaytSrvc,
      autra           as CAAuthorizationByAcquirer,
      audat           as AuthorizationDate,
      autim           as AuthorizationTime,
      @ObjectModel.foreignKey.association: '_CAAuthorizationType'
      auart           as CAAuthorizationType,
      @Semantics.amount.currencyCode: 'AuthorizationCurrency'
      autwr           as AuthorizedAmountInAuthznCrcy,
      @ObjectModel.foreignKey.association: '_AuthorizationCurrency'
      ccwae           as AuthorizationCurrency,
      merch           as MerchantByClearingHouse,
      expdt           as AuthorizationExpirationDate,
      exptm           as AuthorizationExpirationTime,
      //extmp,

      //autmp,

      aucid           as CAPaymentIDAuthznWithBilling,
      avref           as CASettlementPaymentAdviceRef,
      dp_auth_rel_id  as PaymentCardAuthznRelationID,
      dp_fraud_risk   as DigitalPaymentFraudRisk,

      budat           as CAPostingDate,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      betrw           as CAAmountInTransactionCurrency,
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      waers           as TransactionCurrency,
      @ObjectModel.foreignKey.association: '_CompCode'
      bukrs           as CompanyCode,
      valut           as ValueDate,
      @ObjectModel.foreignKey.association: '_CAPaymentBillingStatus'
      xsett           as CAPaymentBillingStatus,
      laufi           as CASettlementMassRunID,
      stdoc           as CASettlementDocument,
      resend          as CAPaytCardSupplementIsResent,
      keyr1           as CAReturnLot,
      @ObjectModel.foreignKey.association: '_CAReturnReason'
      rlgrd           as CAReturnReason,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      ccfam           as CASettlmtChrgAmtInSettlmtCrcy,
      srqid           as CAPaymentCardSettlementID,
      @Semantics.amount.currencyCode: 'SettlementCurrency'
      setam           as CASettlmtAmountInSettlmtCrcy,
      @ObjectModel.foreignKey.association: '_SettlementCurrency'
      setcu           as SettlementCurrency,
      //laufi_info,

      //laufd_pyp,

      //laufi_pyp,

      //orign_pyp,

      //anzrate,


      crdat           as CreationDate,
      crtms           as CreationTime,
      crnam           as CreatedByUser,

      cguid           as PaymentCardUUID,
      enctp           as EncryptionType,
      xguid           as CAKeyForPaymentCardSupplement,

      @ObjectModel.foreignKey.association: '_PaymentServiceProvider'
      pays_prov       as PaymentServiceProvider,
      pays_tran       as PaymentRefByPaytSrvcProvider,
      orig_pays_tran  as OriglPaytRefByPaytSrvcProvider,
      @ObjectModel.foreignKey.association: '_CACreditPostingOrigin'
      orig_credit     as OriginalSourceOfCredit,

      dp_payment_type as DigitalPaymentType,
      dp_trans_id     as PaymentByDigitalPaymentService,

      //_dataaging,


      //iban         as SEPAMandateSenderIBAN,

      //swift        as SEPAMandateSenderBankSWIFTCode,

      //koinh_ip,

      //txtvw,

      //meref_ip,

      //bkref_ip,

      //pyref_ip,


      // Associations

      _AuthorizationCurrency,
      _CAAuthorizationType,
      _CACreditPostingOrigin,
      _CAPaymentBillingStatus,
      _CAReturnReason,
      _CompCode,
      _DocHeader,
      _PaymentServiceProvider,
      _SettlementCurrency,
      _TransactionCurrency
      //_PaymentCardType,

}