I_CADocumentGLItemPaymentData
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 61 fields with key fields CADocumentNumber, CAGLItemNumber. It has 9 associations to related views. Part of development package FKK_DOCUMENT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkopkc | dfkkopkc | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CAAuthorizationType | _CAAuthorizationType | $projection.CAAuthorizationType = _CAAuthorizationType.CAAuthorizationType |
| [0..1] | I_CACreditPostingOrigin | _CACreditPostingOrigin | $projection.OriginalSourceOfCredit = _CACreditPostingOrigin.OriginalSourceOfCredit |
| [1..1] | I_CADocument | _CADocument | $projection.CADocumentNumber = _CADocument.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 | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Document G/L Item Payment Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ContrAcctgDocGenLdgrItmPaytDta | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view |
Fields (61)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentNumber | opbel | ||
| KEY | CAGLItemNumber | opupk | ||
| PaymentCardType | ccins | |||
| PaytCardByDigitalPaymentSrvc | ccnum | |||
| PaymentCardSequenceNumber | ccfol | |||
| PaymentCardValidityStartDate | datab | |||
| PaymentCardValidityEndDate | datbi | |||
| PaymentCardHolderName | ccname | |||
| CAAuthznByDigitalPaytSrvc | aunum | |||
| CAAuthorizationByAcquirer | autra | |||
| AuthorizationDate | audat | |||
| AuthorizationTime | autim | |||
| CAAuthorizationType | auart | |||
| AuthorizedAmountInAuthznCrcy | autwr | |||
| AuthorizationCurrency | ccwae | |||
| CAPaytServiceProviderMerchant | 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 | |||
| DgtlPaytDisbursementReference | dsbid | |||
| 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 | |||
| PaymentCardMaskedNumber | masked_id | |||
| DigitalPaymentType | dp_payment_type | |||
| PaymentByDigitalPaymentService | dp_trans_id | |||
| _AuthorizationCurrency | _AuthorizationCurrency | |||
| _CAAuthorizationType | _CAAuthorizationType | |||
| _CACreditPostingOrigin | _CACreditPostingOrigin | |||
| _CADocument | _CADocument | |||
| _CAPaymentBillingStatus | _CAPaymentBillingStatus | |||
| _CAReturnReason | _CAReturnReason | |||
| _CompanyCode | _CompanyCode | |||
| _SettlementCurrency | _SettlementCurrency | |||
| _TransactionCurrency | _TransactionCurrency | |||
| MerchantByClearingHouse | merch |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Document G/L Item Payment Data'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { modelingPattern: #NONE,
sapObjectNodeType.name: 'ContrAcctgDocGenLdgrItmPaytDta',
supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#SQL_DATA_SOURCE ],
usageType: { dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL } }
@VDM.viewType: #BASIC
define view entity 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_CADocument as _CADocument on $projection.CADocumentNumber = _CADocument.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 _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
// not c1 released and therefore cannot be used here:
//association [1..1] to I_PaytServiceProviderIdn as _PaymentServiceProvider on $projection.PaymentServiceProvider = _PaymentServiceProvider.PaymentServiceProvider
{
@ObjectModel.foreignKey.association: '_CADocument'
key opbel as CADocumentNumber,
key opupk as CAGLItemNumber,
ccins as PaymentCardType,
ccnum as PaytCardByDigitalPaymentSrvc,
ccfol as PaymentCardSequenceNumber,
datab as PaymentCardValidityStartDate,
datbi as PaymentCardValidityEndDate,
ccname as PaymentCardHolderName,
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 CAPaytServiceProviderMerchant,
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: '_CompanyCode'
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
//mwskz
//taxam
dsbid as DgtlPaytDisbursementReference,
//laufd_pyp,
//laufi_pyp,
//orign_pyp,
//anzrate,
crdat as CreationDate,
crtms as CreationTime,
crnam as CreatedByUser,
//cvval,
//cvvct,
//cvvst,
cguid as PaymentCardUUID,
enctp as EncryptionType,
xguid as CAKeyForPaymentCardSupplement,
//keypp
//encvl
//xtrid
//@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,
//_dataaging,
masked_id as PaymentCardMaskedNumber,
//iban as SEPAMandateSenderIBAN,
//swift as SEPAMandateSenderBankSWIFTCode,
//koinh_ip,
//txtvw,
//meref_ip,
//bkref_ip,
//pyref_ip,
dp_payment_type as DigitalPaymentType,
dp_trans_id as PaymentByDigitalPaymentService,
// Associations
_AuthorizationCurrency,
_CAAuthorizationType,
_CACreditPostingOrigin,
_CADocument,
_CAPaymentBillingStatus,
_CAReturnReason,
_CompanyCode,
//_PaymentServiceProvider,
_SettlementCurrency,
_TransactionCurrency,
/* deprecated fields */
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'CAPaytServiceProviderMerchant'
merch as MerchantByClearingHouse
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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