C_CAPaymentListRepaymentReq

DDL: C_CAPAYMENTLISTREPAYMENTREQ SQL: CCAPAYLISTREPAY Type: view CONSUMPTION

Payment for Repayment Request

C_CAPaymentListRepaymentReq is a Consumption CDS View that provides data about "Payment for Repayment Request" in SAP S/4HANA. It reads from 1 data source (P_CAPaymentListPayment) and exposes 41 fields with key fields CAMassRunDate, CAMassRunID, CAIntPaymentIdentification, CAIntAddlPaymentIdentification. It has 4 associations to related views.

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..*] C_CAPaymentListRepaymentReqItm _CAPaymentListRepaymentReqItm $projection.CAMassRunDate = _CAPaymentListRepaymentReqItm.CAMassRunDate and $projection.CAMassRunID = _CAPaymentListRepaymentReqItm.CAMassRunID and $projection.CARepaymentRequest = _CAPaymentListRepaymentReqItm.CARepaymentRequest
[0..1] I_CADocumentHeader _DocHeader $projection.CAPaymentDocument = _DocHeader.CADocumentNumber
[0..1] I_CARepaymentRequest _CARepaymentRequest $projection.CARepaymentRequest = _CARepaymentRequest.CARepaymentRequest

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CCAPAYLISTREPAY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Payment for Repayment Request 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 Repayment Requests view
UI.headerInfo.typeNamePlural Payments for Repayment Requests view
UI.headerInfo.title.value CARepaymentRequest view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY CAIntPaymentIdentification CAIntPaymentIdentification
KEY CAIntAddlPaymentIdentification CAIntAddlPaymentIdentification
CAInternalPaymentGroup CAInternalPaymentGroup
CAPaymentDocument CADocumentNumber Document Number
DocumentDate _DocHeader DocumentDate Document Date
CARepaymentRequest CARepaymentRequest Repayment Request
CAPaymentMethod CAPaymentMethod Payment Method
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
CAPaymentMethodName
CAPaymentCompanyCode CAPaymentCompanyCode Company Code
CAPaymentCompanyCodeName CAPaymentCompanyCodeName Company Name
HouseBank HouseBank House Bank
HouseBankName HouseBankName
HouseBankAccount HouseBankAccount House Bank Account
HouseBankAccountDescription HouseBankAccountDescription
TransactionCurrency TransactionCurrency Transaction Currency
PaidAmountInPaytCurrency PaidAmountInPaytCurrency 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
CAPostingDate _CAPaymentListRepaymentReqItm CAPostingDate Posting Date
CARepaymentRequestDocument _CARepaymentRequest CARepaymentRequestDocument
CANoteToPayeeInPayment _CARepaymentRequest CANoteToPayeeInPayment
_CAPaymentListRepaymentReqItm _CAPaymentListRepaymentReqItm

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_CAPaymentListRepaymentReq.
-- 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: CCAPAYLISTREPAY

CREATE VIEW C_CAPaymentListRepaymentReq AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAIntPaymentIdentification,
  CAIntAddlPaymentIdentification,
  CAInternalPaymentGroup,
  CADocumentNumber AS CAPaymentDocument,
  _DocHeader.DocumentDate AS DocumentDate,
  CARepaymentRequest,
  CAPaymentMethod,
  CompanyCodeCountry,
  _CAPaymentMethod._Text[1: Language=$session.system_language].CAPaymentMethodName AS CAPaymentMethodName,
  CAPaymentCompanyCode,
  CAPaymentCompanyCodeName,
  HouseBank,
  HouseBankName,
  HouseBankAccount,
  HouseBankAccountDescription,
  TransactionCurrency,
  PaidAmountInPaytCurrency,
  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,
  _CAPaymentListRepaymentReqItm.CAPostingDate AS CAPostingDate,
  _CARepaymentRequest.CARepaymentRequestDocument AS CARepaymentRequestDocument,
  _CARepaymentRequest.CANoteToPayeeInPayment AS CANoteToPayeeInPayment
FROM P_CAPaymentListPayment
LEFT OUTER JOIN I_CAPaymentMethod AS _CAPaymentMethod ON CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod AND CompanyCodeCountry = _CAPaymentMethod.Country  -- association [0..1]
LEFT OUTER JOIN C_CAPaymentListRepaymentReqItm AS _CAPaymentListRepaymentReqItm ON CAMassRunDate = _CAPaymentListRepaymentReqItm.CAMassRunDate AND CAMassRunID = _CAPaymentListRepaymentReqItm.CAMassRunID AND CARepaymentRequest = _CAPaymentListRepaymentReqItm.CARepaymentRequest  -- association [1..*]
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CAPaymentDocument = _DocHeader.CADocumentNumber  -- association [0..1]
LEFT OUTER JOIN I_CARepaymentRequest AS _CARepaymentRequest ON CARepaymentRequest = _CARepaymentRequest.CARepaymentRequest  -- association [0..1]
;