C_CAPaymentListPayment

DDL: C_CAPAYMENTLISTPAYMENT SQL: CCAPAYLISTPAYMT Type: view CONSUMPTION Package: ODATA_O2C_FICA_PAYMENTLIST

Payment for Business Partner Items

C_CAPaymentListPayment is a Consumption CDS View that provides data about "Payment for Business Partner Items" in SAP S/4HANA. It reads from 1 data source (P_CAPaymentListPayment) and exposes 51 fields with key fields CAMassRunDate, CAMassRunID, CAIntPaymentIdentification, CAIntAddlPaymentIdentification. It has 4 associations to related views. It is exposed through 1 OData service (ASQL_F3917). Part of development package ODATA_O2C_FICA_PAYMENTLIST.

Data Sources (1)

SourceAliasJoin Type
P_CAPaymentListPayment P_CAPaymentListPayment from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CAPaymentMethod _CAPaymentMethod $projection.CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod and $projection.CompanyCodeCountry = _CAPaymentMethod.Country
[1..1] I_CADocumentGLItemPaymentData _CADocumentGLItemPaymentData $projection.CAPaymentDocument = _CADocumentGLItemPaymentData.CADocumentNumber
[1..*] C_CAPaymentListPaymentItem _CAPaymentListPaymentItem $projection.CAMassRunDate = _CAPaymentListPaymentItem.CAMassRunDate and $projection.CAMassRunID = _CAPaymentListPaymentItem.CAMassRunID and $projection.CAIntPaymentIdentification = _CAPaymentListPaymentItem.CAIntPaymentIdentification and $projection.CAIntAddlPaymentIdentification = _CAPaymentListPaymentItem.CAIntAddlPaymentIdentification
[0..1] I_CADocument _DocHeader $projection.CAPaymentDocument = _DocHeader.CADocumentNumber

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CCAPAYLISTPAYMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Payment for Business Partner Items view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
UI.headerInfo.typeName Payment for Business Partner Items view
UI.headerInfo.typeNamePlural Payments for Business Partner Items view
UI.headerInfo.title.value CADocumentNumber view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3917 ASQL_F3917 C2 NOT_RELEASED

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY CAIntPaymentIdentification CAIntPaymentIdentification
KEY CAIntAddlPaymentIdentification CAIntAddlPaymentIdentification
CAInternalPaymentGroup CAInternalPaymentGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
CAAuthorizationGroup CAAuthorizationGroup AuthorizGroup
CAPaymentDocument CADocumentNumber Document Number
DocumentDate _DocHeader DocumentDate Document Date
TransactionCurrency TransactionCurrency Transaction Currency
CAPaymentMethod CAPaymentMethod Payment Method
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
CAPaymentMethodName
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerName BusinessPartnerName Extracted Customer Name
ContractAccount ContractAccount Contract Acct
ContractAccountName ContractAccountName Cont. acct name
CAPaymentCompanyCode CAPaymentCompanyCode Company Code
CAPaymentCompanyCodeName CAPaymentCompanyCodeName Company Name
CABusinessAreaInPaymentDoc CABusinessAreaInPaymentDoc
HouseBank HouseBank House Bank
HouseBankName HouseBankName
HouseBankAccount HouseBankAccount House Bank Account
HouseBankAccountDescription HouseBankAccountDescription
BankAmountInTransactionCrcy BankAmountInTransactionCrcy Amount
AddressLine1 Street / No.
AddressLine2 Postal Code / City
PayeeCountry PayeeCountry
PayeeCountryName PayeeCountryName
ValueDate ValueDate Value Date
UniqueEndToEndTransactionID UniqueEndToEndTransactionID
BankNumber BankNumber Bank Key
BankAccount BankAccount Bank acct
BankCountry BankCountry Bank Ctry/Rgn. Key
BankCountryName BankCountryName Country/Region
CABankAccountHolderName CABankAccountHolderName
PayeeBank PayeeBank
BankName BankName Bank Name
PayeeBankCountry PayeeBankCountry
PayeeBankCountryName PayeeBankCountryName
PayeeBankNumber PayeeBankNumber
PayeeBankAccount PayeeBankAccount
PayeeIBAN PayeeIBAN
PaymentCardHolderName _CADocumentGLItemPaymentData PaymentCardHolderName
PaymentCardType PaymentCardType
CardNumber CardNumber
PaymentCardValidityEndDate _CADocumentGLItemPaymentData PaymentCardValidityEndDate
CAPaymentSpecificationRef CAPaymentSpecificationRef
CAPromiseToPay CAPromiseToPay
CAPromisedPaymentDate CAPromisedPaymentDate
_CAPaymentListPaymentItem _CAPaymentListPaymentItem

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 C_CAPaymentListPayment.
-- 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: CCAPAYLISTPAYMT

CREATE VIEW C_CAPaymentListPayment AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAIntPaymentIdentification,
  CAIntAddlPaymentIdentification,
  CAInternalPaymentGroup,
  IsBusinessPurposeCompleted,
  CAAuthorizationGroup,
  CADocumentNumber AS CAPaymentDocument,
  _DocHeader.DocumentDate AS DocumentDate,
  TransactionCurrency,
  CAPaymentMethod,
  CompanyCodeCountry,
  _CAPaymentMethod._Text[1: Language=$session.system_language].CAPaymentMethodName AS CAPaymentMethodName,
  BusinessPartner,
  BusinessPartnerName,
  ContractAccount,
  ContractAccountName,
  CAPaymentCompanyCode,
  CAPaymentCompanyCodeName,
  CABusinessAreaInPaymentDoc,
  HouseBank,
  HouseBankName,
  HouseBankAccount,
  HouseBankAccountDescription,
  BankAmountInTransactionCrcy,
  concat_with_space(AddressStreetName, AddressHouseNumber, 1) AS AddressLine1,
  concat_with_space(AddressPostalCode, CityName, 1) AS AddressLine2,
  PayeeCountry,
  PayeeCountryName,
  ValueDate,
  UniqueEndToEndTransactionID,
  BankNumber,
  BankAccount,
  BankCountry,
  BankCountryName,
  CABankAccountHolderName,
  PayeeBank,
  BankName,
  PayeeBankCountry,
  PayeeBankCountryName,
  PayeeBankNumber,
  PayeeBankAccount,
  PayeeIBAN,
  _CADocumentGLItemPaymentData.PaymentCardHolderName AS PaymentCardHolderName,
  PaymentCardType,
  CardNumber,
  _CADocumentGLItemPaymentData.PaymentCardValidityEndDate AS PaymentCardValidityEndDate,
  CAPaymentSpecificationRef,
  CAPromiseToPay,
  CAPromisedPaymentDate
FROM P_CAPaymentListPayment
LEFT OUTER JOIN I_CAPaymentMethod AS _CAPaymentMethod ON CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod AND CompanyCodeCountry = _CAPaymentMethod.Country  -- association [0..1]
LEFT OUTER JOIN I_CADocumentGLItemPaymentData AS _CADocumentGLItemPaymentData ON CAPaymentDocument = _CADocumentGLItemPaymentData.CADocumentNumber  -- association [1..1]
LEFT OUTER JOIN C_CAPaymentListPaymentItem AS _CAPaymentListPaymentItem ON CAMassRunDate = _CAPaymentListPaymentItem.CAMassRunDate AND CAMassRunID = _CAPaymentListPaymentItem.CAMassRunID AND CAIntPaymentIdentification = _CAPaymentListPaymentItem.CAIntPaymentIdentification AND CAIntAddlPaymentIdentification = _CAPaymentListPaymentItem.CAIntAddlPaymentIdentification  -- association [1..*]
LEFT OUTER JOIN I_CADocument AS _DocHeader ON CAPaymentDocument = _DocHeader.CADocumentNumber  -- association [0..1]
;