C_CAPaymentLotSearch
Zahlungen in Stapeln suchen
C_CAPaymentLotSearch is a Consumption CDS View that provides data about "Zahlungen in Stapeln suchen" in SAP S/4HANA. It reads from 1 data source (I_CAPaymentLotItem) and exposes 43 fields with key fields CAPaymentLot, CAPaymentLotItem. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CAPaymentLotItem | I_CAPaymentLotItem | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CAPaymentLot | _PaymentLotHeader | $projection.CAPaymentLot = _PaymentLotHeader.CAPaymentLot |
| [0..1] | I_CADocumentHeader | _DocumentHeader | $projection.CADocumentNumber = _DocumentHeader.CADocumentNumber |
| [0..1] | I_Country | _PayeeCountry | $projection.BankCountry = _PayeeCountry.Country |
| [0..1] | I_Paymentcardtype | _CardType | $projection.PaymentCardType = _CardType.PaymentCardType and CardNumber = _CardType.PaymentCardNumber |
| [0..1] | I_GLAccount | _CAClarificationAccount | $projection.CAClarificationAccount = _CAClarificationAccount.GLAccount and $projection.CompanyCode = _CAClarificationAccount.CompanyCode |
| [0..1] | I_GLAccount | _CABankClearingAccount | $projection.CABankClearingAccount = _CABankClearingAccount.GLAccount and $projection.CompanyCode = _CABankClearingAccount.CompanyCode |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCAPAYTSEARCHLOT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Zahlungen in Stapeln suchen | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Zahlung | view | |
| UI.headerInfo.typeNamePlural | Zahlungen | view | |
| UI.headerInfo.title.value | CAPaymentLotAndItem | view | |
| UI.headerInfo.title.label | Zahlung | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAPaymentLot | CAPaymentLot | Lot | |
| KEY | CAPaymentLotItem | CAPaymentLotItem | Stapelposition | |
| CADocumentOriginCodeName | ||||
| CADocumentOriginCode | _DocumentHeader | CADocumentOriginCode | Document Origin | |
| CAPaymentTransIsToBeClarified | CAPaymentTransIsToBeClarified | Clarify | ||
| CABankAccountHolderName | CABankAccountHolderName | Kontoinhaber | ||
| IBAN | IBAN | IBAN House Bank | ||
| PaymentCardType | PaymentCardType | |||
| PaymentCardData | Zahlungskartendaten | |||
| CANoteToPayeeInPayment | CANoteToPayeeInPayment | Verwendungszweck | ||
| CADocumentNumber | CADocumentNumber | Beleg | ||
| ValueDate | ValueDate | Value Date | ||
| CAPaymentAmountInTransCurrency | CAPaymentAmountInTransCurrency | Betrag | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| CompanyCode | CompanyCode | Buchungskreis des Stapels | ||
| CompanyCodeName | ||||
| BusinessArea | BusinessArea | Business Area | ||
| CAClarificationDocument | CAClarificationDocument | Klärungsbeleg | ||
| CAClarificationAccount | CAClarificationAccount | Klärungskonto | ||
| CAClarificationAccountName | ||||
| CABankClearingAccount | CABankClearingAccount | Bankverrechnungskonto | ||
| CABankClearingAccountName | ||||
| CADocumentTypeName | ||||
| CADocumentType | CADocumentType | Belegart | ||
| DocumentDate | DocumentDate | Belegdatum | ||
| CAClearingReasonName | ||||
| CAClearingReason | CAClearingReason | Clearing Reason | ||
| CACheque | CACheque | Schecknummer | ||
| BankCountry | BankCountry | Bankland | ||
| PayeeCountryName | ||||
| BankNumber | BankNumber | Bankleitzahl | ||
| BankAccount | Bank acct | |||
| SWIFTCode | SWIFTCode | SWIFT/BIC | ||
| CreationDate | _DocumentHeader | CreationDate | Erfassungsdatum | |
| CAReversalDocumentNumber | _DocumentHeader | CAReversalDocumentNumber | Revers.document | |
| CardHolder | _CardType | CardHolder | Karteninhaber | |
| _BkClrgAcct | _BkClrgAcct | |||
| _BusinessArea | _BusinessArea | |||
| _ClearingReason | _ClearingReason | |||
| _CompCode | _CompCode | |||
| _Currency | _Currency | |||
| _DocHeader | _DocHeader | |||
| _PaymentLot | _PaymentLot |
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_CAPaymentLotSearch.
-- 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: CCAPAYTSEARCHLOT
CREATE VIEW C_CAPaymentLotSearch AS
SELECT
CAPaymentLot,
CAPaymentLotItem,
_DocumentHeader._DocOriginCode._Text[1: Language=$session.system_language].CADocumentOriginCodeName AS CADocumentOriginCodeName,
_DocumentHeader.CADocumentOriginCode AS CADocumentOriginCode,
CAPaymentTransIsToBeClarified,
CABankAccountHolderName,
IBAN,
PaymentCardType,
cast ( PaymentCardType as ccnum_ccins_kk ) AS PaymentCardData,
CANoteToPayeeInPayment,
CADocumentNumber,
ValueDate,
CAPaymentAmountInTransCurrency,
TransactionCurrency,
CompanyCode,
_PaymentLotHeader._CompCode.CompanyCodeName AS CompanyCodeName,
BusinessArea,
CAClarificationDocument,
CAClarificationAccount,
_CAClarificationAccount._Text[1: Language=$session.system_language].GLAccountName AS CAClarificationAccountName,
CABankClearingAccount,
_CABankClearingAccount._Text[1: Language=$session.system_language].GLAccountName AS CABankClearingAccountName,
_DocType._Text[1:Language = $session.system_language].CADocumentTypeName AS CADocumentTypeName,
CADocumentType,
DocumentDate,
_ClearingReason._Text[1:Language = $session.system_language].CAClearingReasonName AS CAClearingReasonName,
CAClearingReason,
CACheque,
BankCountry,
_PayeeCountry._Text[1: Language=$session.system_language].CountryName AS PayeeCountryName,
BankNumber,
cast (BankAccount as farp_bankn preserving type ) AS BankAccount,
SWIFTCode,
_DocumentHeader.CreationDate AS CreationDate,
_DocumentHeader.CAReversalDocumentNumber AS CAReversalDocumentNumber,
_CardType.CardHolder AS CardHolder
FROM I_CAPaymentLotItem
LEFT OUTER JOIN I_CAPaymentLot AS _PaymentLotHeader ON CAPaymentLot = _PaymentLotHeader.CAPaymentLot -- association [0..1]
LEFT OUTER JOIN I_CADocumentHeader AS _DocumentHeader ON CADocumentNumber = _DocumentHeader.CADocumentNumber -- association [0..1]
LEFT OUTER JOIN I_Country AS _PayeeCountry ON BankCountry = _PayeeCountry.Country -- association [0..1]
LEFT OUTER JOIN I_Paymentcardtype AS _CardType ON PaymentCardType = _CardType.PaymentCardType AND CardNumber = _CardType.PaymentCardNumber -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _CAClarificationAccount ON CAClarificationAccount = _CAClarificationAccount.GLAccount AND CompanyCode = _CAClarificationAccount.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _CABankClearingAccount ON CABankClearingAccount = _CABankClearingAccount.GLAccount AND CompanyCode = _CABankClearingAccount.CompanyCode -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA