C_CAPaymentRunSearchPayment

DDL: C_CAPAYMENTRUNSEARCHPAYMENT SQL: CCAPAYTSRCHRUNPY Type: view CONSUMPTION Package: ODATA_O2C_FICA_PAYMENTRUN_SRCH

Zahlungen im Zahllauf

C_CAPaymentRunSearchPayment is a Consumption CDS View that provides data about "Zahlungen im Zahllauf" in SAP S/4HANA. It reads from 1 data source (C_CAPaymentRunSearch) and exposes 68 fields with key fields CAMassRunDate, CAMassRunID, CAIntPaymentIdentification, CAIntAddlPaymentIdentification. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3977). Part of development package ODATA_O2C_FICA_PAYMENTRUN_SRCH.

Data Sources (1)

SourceAliasJoin Type
C_CAPaymentRunSearch C_CAPaymentRunSearch from

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_CAPaymentRunSearchPaidItem _PaidItem $projection.CAMassRunDate = _PaidItem.CAMassRunDate and $projection.CAMassRunID = _PaidItem.CAMassRunID and $projection.CAIntPaymentIdentification = _PaidItem.CAIntPaymentIdentification and $projection.CAIntAddlPaymentIdentification = _PaidItem.CAIntAddlPaymentIdentification

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CCAPAYTSRCHRUNPY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Zahlungen im Zahllauf view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3977 ASQL_F3977 C2 NOT_RELEASED

Fields (68)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Zahllaufdatum
KEY CAMassRunID CAMassRunID Zahllauf-ID
KEY CAIntPaymentIdentification CAIntPaymentIdentification
KEY CAIntAddlPaymentIdentification CAIntAddlPaymentIdentification
CAPaymentRunDateAndID CAPaymentRunDateAndID
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerFullName BusinessPartnerFullName Broker Name
ContractAccount ContractAccount Contract Acct
ContractAccountName ContractAccountName Cont. acct name
CAPaymentDocumentReference CAPaymentDocumentReference
CAPaymentDocumentType CAPaymentDocumentType
CAPaymentDocumentTypeName CAPaymentDocumentTypeName
CADocumentNumber CADocumentNumber Document Number
CAPaymentOrder CAPaymentOrder
CARepaymentRequest CARepaymentRequest
CASEPAPreNotificationNumber CASEPAPreNotificationNumber Pre-Notif.
PayeeCountryName PayeeCountryName
PayeeCountry PayeeCountry
AddressLine2 AddressLine2 PLZ / Ort
AddressLine1 AddressLine1 Straße / Nr.
TransactionCurrency TransactionCurrency Transaction Currency
PaidAmountInPaytCurrency PaidAmountInPaytCurrency Payment Amount
ValueDate ValueDate Value Date
CAPaymentMethodName CAPaymentMethodName
CAPaymentMethod CAPaymentMethod Payment Method
BankNumber BankNumber Bank Key
BankAccount BankAccount Bank acct
HouseBank HouseBank House Bank
HouseBankName HouseBankName
HouseBankAccount HouseBankAccount House Bank Account
HouseBankAccountDescription HouseBankAccountDescription
BankCountry BankCountry Bank Ctry/Rgn. Key
BankCountryName BankCountryName Country/Region
PayeeBankName PayeeBankName Bank Name
PayeeBank PayeeBank
PayeeBankNumber PayeeBankNumber
PayeeBankAccount PayeeBankAccount
PayeeIBAN PayeeIBAN
CABankAccountHolderName CABankAccountHolderName
SWIFTCode SWIFTCode SWIFT/BIC
PayeeBankCountry PayeeBankCountry
PayeeBankCountryName PayeeBankCountryName
CardHolder CardHolder
ValidityEndDate ValidityEndDate ValidTo
PaymentCardType PaymentCardType
CardTypeText CardTypeText
CardNumber CardNumber
PaidItemBusinessPartner PaidItemBusinessPartner
PaidItemContractAccount PaidItemContractAccount
CAContract CAContract Contract
DocumentDate DocumentDate Journal Entry Date
CAReturnReason CAReturnReason Return Reason
CAReturnReasonName CAReturnReasonName
CAReversalDocumentNumber CAReversalDocumentNumber Revers.document
CADocumentIsReversed CADocumentIsReversed
CADocumentReversalStatusName CADocumentReversalStatusName Storniert
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName CompanyCodeName Company Name
CAAuthorizationGroup _ContractAccountPartner CAAuthorizationGroup AuthorizGroup
CAPaymentSpecificationRef CAPaymentSpecificationRef
CAPromiseToPay CAPromiseToPay
CAPromisedPaymentDate CAPromisedPaymentDate
_PaidItem _PaidItem
_AssocPaymentOrder _AssocPaymentOrder
_BusinessPartner _BusinessPartner
_TransactionCurrency _TransactionCurrency
_DocHeader _DocHeader
_PaymentRunItem _PaymentRunItem

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_CAPaymentRunSearchPayment.
-- 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: CCAPAYTSRCHRUNPY

CREATE VIEW C_CAPaymentRunSearchPayment AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAIntPaymentIdentification,
  CAIntAddlPaymentIdentification,
  CAPaymentRunDateAndID,
  BusinessPartner,
  BusinessPartnerFullName,
  ContractAccount,
  ContractAccountName,
  CAPaymentDocumentReference,
  CAPaymentDocumentType,
  CAPaymentDocumentTypeName,
  CADocumentNumber,
  CAPaymentOrder,
  CARepaymentRequest,
  CASEPAPreNotificationNumber,
  PayeeCountryName,
  PayeeCountry,
  AddressLine2,
  AddressLine1,
  TransactionCurrency,
  PaidAmountInPaytCurrency,
  ValueDate,
  CAPaymentMethodName,
  CAPaymentMethod,
  BankNumber,
  BankAccount,
  HouseBank,
  HouseBankName,
  HouseBankAccount,
  HouseBankAccountDescription,
  BankCountry,
  BankCountryName,
  PayeeBankName,
  PayeeBank,
  PayeeBankNumber,
  PayeeBankAccount,
  PayeeIBAN,
  CABankAccountHolderName,
  SWIFTCode,
  PayeeBankCountry,
  PayeeBankCountryName,
  CardHolder,
  ValidityEndDate,
  PaymentCardType,
  CardTypeText,
  CardNumber,
  PaidItemBusinessPartner,
  PaidItemContractAccount,
  CAContract,
  DocumentDate,
  CAReturnReason,
  CAReturnReasonName,
  CAReversalDocumentNumber,
  CADocumentIsReversed,
  CADocumentReversalStatusName,
  CompanyCode,
  CompanyCodeName,
  _ContractAccountPartner.CAAuthorizationGroup AS CAAuthorizationGroup,
  CAPaymentSpecificationRef,
  CAPromiseToPay,
  CAPromisedPaymentDate
FROM C_CAPaymentRunSearch
LEFT OUTER JOIN C_CAPaymentRunSearchPaidItem AS _PaidItem ON CAMassRunDate = _PaidItem.CAMassRunDate AND CAMassRunID = _PaidItem.CAMassRunID AND CAIntPaymentIdentification = _PaidItem.CAIntPaymentIdentification AND CAIntAddlPaymentIdentification = _PaidItem.CAIntAddlPaymentIdentification  -- association [1..*]
;