I_CAPaymentLotItem
Contract Accounting Payment Lot Item
I_CAPaymentLotItem is a Basic CDS View that provides data about "Contract Accounting Payment Lot Item" in SAP S/4HANA. It reads from 1 data source (dfkkzp) and exposes 73 fields with key fields CAPaymentLot, CAPaymentLotItem. It has 13 associations to related views. Part of development package FKK_PAYMENT_LOT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkzp | dfkkzp | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [1..1] | I_CABankClearingAccount | _CABankClearingAccount | $projection.CompanyCode = _CABankClearingAccount.CompanyCode and $projection.CABankClearingAccount = _CABankClearingAccount.CABankClearingAccount |
| [0..1] | I_CAClearingReason | _CAClearingReason | $projection.CAClearingReason = _CAClearingReason.CAClearingReason |
| [1..1] | I_CADocument | _CADocument | $projection.CADocumentNumber = _CADocument.CADocumentNumber |
| [1..1] | I_CADocumentType | _CADocumentType | $projection.CADocumentType = _CADocumentType.CADocumentType and _CADocumentType.CAApplicationArea = 'C' |
| [1..1] | I_CAPaymentLot | _CAPaymentLot | $projection.CAPaymentLot = _CAPaymentLot.CAPaymentLot |
| [1..1] | I_CAPaytTransIsToBeClarified | _CAPaytTransIsToBeClarified | $projection.CAPaymentTransIsToBeClarified = _CAPaytTransIsToBeClarified.CAPaymentTransIsToBeClarified |
| [1..1] | I_CASelectionCategory | _CAFirstSelectionCategory | _CAFirstSelectionCategory.CAApplicationArea = 'C' and $projection.CAFirstSelectionCategory = _CAFirstSelectionCategory.CASelectionCategory |
| [1..1] | I_CASelectionCategory | _CASecondSelectionCategory | _CASecondSelectionCategory.CAApplicationArea = 'C' and $projection.CASecondSelectionCategory = _CASecondSelectionCategory.CASelectionCategory |
| [1..1] | I_CASelectionCategory | _CAThirdSelectionCategory | _CAThirdSelectionCategory.CAApplicationArea = 'C' and $projection.CAThirdSelectionCategory = _CAThirdSelectionCategory.CASelectionCategory |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Contract Accounting Payment Lot Item | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ContrAcctgPaymentLotItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAPaymentLot | keyz1 | Lot | |
| KEY | CAPaymentLotItem | posza | Item | |
| CAFirstSelectionCategory | selt1 | Selection Cat. | ||
| CASecondSelectionCategory | selt2 | Selection Cat. | ||
| CAThirdSelectionCategory | selt3 | Selection Cat. | ||
| CAFirstSelectionValue | selw1 | Selection Value | ||
| CASecondSelectionValue | selw2 | Selection Val.2 | ||
| CAThirdSelectionValue | selw3 | Selection Val.3 | ||
| CAPaymentAmountInTransCurrency | betrz | Payment Amount | ||
| CAAmountInLocalCurrency | betrh | Local Crcy Amt | ||
| AssignedAmountInTransCrcy | betrk | Assigned Amount | ||
| ClarifiedAmountInLocalCurrency | betrl | Clarified amt | ||
| CompanyCode | bukrs | Value | ||
| BusinessArea | gsber | Business Area | ||
| ProfitCenter | prctr | Profit Centers | ||
| CAPartialClrfctnIsExisting | xtkla | Partial clarif. | ||
| CAPaymentTransIsToBeClarified | xklae | Clarify | ||
| CAClarificationDocument | klaeb | Clarif. Doc. | ||
| CAClarificationAccount | klaeh | Clarif. Acct | ||
| CAPostingDateOfClrfctnDoc | klaed | Posting Date | ||
| CAPaymentIsPostedOnAccount | xakon | Post on Acct | ||
| CAReconciliationKey | fikey | Reconcil. Key | ||
| CABankClearingAccount | bvrko | ClrgAcctAggr/PaymtDs | ||
| CADocumentType | blart | Rep. rec. doc. type | ||
| TransactionCurrency | waers | Transaction Currency | ||
| ExchangeRate | kursf | Exchange Rate | ||
| CAPostingDate | budat | Posting Date | ||
| DocumentDate | bldat | Journal Entry Date | ||
| ValueDate | valut | Value date | ||
| CAIsSeparateLineItemInGL | xeiph | Line item | ||
| CAClearingReason | augrd | Clrg Reasn | ||
| LastChangedByUser | aenam | User Name | ||
| LastChangeDate | aedat | Obsolete | ||
| LastChangeTime | aetim | Time | ||
| CADocumentNumber | opbel | Reopen | ||
| CANoteToPayeeInPayment | txtvw | Usage Text | ||
| CACheque | chckn | Check number | ||
| BankCountry | banks | Bank Ctry/Rgn. Key | ||
| BankNumber | bankl | House Bank | ||
| BankAccount | bankn | Bank acct | ||
| BankControlKey | bkont | To Account | ||
| BankDetailReference | bkref | Reference | ||
| CABankAccountHolderName | koinh | Sold-To Party | ||
| CARepaymentRequest | nrzaa | Repaymt Request | ||
| PaymentCardType | ccins | Payt Card Type | ||
| CardNumber | ccnum | Condition Contract | ||
| CAPaytServiceProviderMerchant | merch | Merchant ID | ||
| PaymentCardUUID | cguid | GUID of a Payment Card | ||
| CAAuthorizationGroup | begru | AuthorizGroup | ||
| IBAN | iban | IBAN House Bank | ||
| SWIFTCode | swift | SWIFT/BIC | ||
| BankStatementItem | esnum | Memo Record No. | ||
| CAPaymentLotItemRefMemoLine | uposv | Allocation key for payment item | ||
| CAPaymentLotItemRefFurtherSel | uposz | Subitem | ||
| CAPaytLotItemMchnLrngStatus | ml_status | ML Status | ||
| ItemIsClarifiedWithMchnLrng | xml_cleared | ML Clearing | ||
| CASubAreaForParallelization | keypp | Subarea | ||
| CAShortAccountAssignment | kukon | TrPosting to | ||
| CompanyCodeCurrency | _CompanyCode | Currency | Valuation Crcy | |
| ControllingArea | _CompanyCode | ControllingArea | Controlling Area | |
| _BusinessArea | _BusinessArea | |||
| _CABankClearingAccount | _CABankClearingAccount | |||
| _CAClearingReason | _CAClearingReason | |||
| _CADocument | _CADocument | |||
| _CADocumentType | _CADocumentType | |||
| _CAFirstSelectionCategory | _CAFirstSelectionCategory | |||
| _CASecondSelectionCategory | _CASecondSelectionCategory | |||
| _CAPaymentLot | _CAPaymentLot | |||
| _CAPaytTransIsToBeClarified | _CAPaytTransIsToBeClarified | |||
| _CAThirdSelectionCategory | _CAThirdSelectionCategory | |||
| _CompanyCode | _CompanyCode | |||
| _ProfitCenter | _ProfitCenter | |||
| _TransactionCurrency | _TransactionCurrency |
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 I_CAPaymentLotItem.
-- 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.
CREATE VIEW I_CAPaymentLotItem AS
SELECT
keyz1 AS CAPaymentLot,
posza AS CAPaymentLotItem,
selt1 AS CAFirstSelectionCategory,
selt2 AS CASecondSelectionCategory,
selt3 AS CAThirdSelectionCategory,
selw1 AS CAFirstSelectionValue,
selw2 AS CASecondSelectionValue,
selw3 AS CAThirdSelectionValue,
betrz AS CAPaymentAmountInTransCurrency,
betrh AS CAAmountInLocalCurrency,
betrk AS AssignedAmountInTransCrcy,
betrl AS ClarifiedAmountInLocalCurrency,
bukrs AS CompanyCode,
gsber AS BusinessArea,
prctr AS ProfitCenter,
xtkla AS CAPartialClrfctnIsExisting,
xklae AS CAPaymentTransIsToBeClarified,
klaeb AS CAClarificationDocument,
klaeh AS CAClarificationAccount,
klaed AS CAPostingDateOfClrfctnDoc,
xakon AS CAPaymentIsPostedOnAccount,
fikey AS CAReconciliationKey,
bvrko AS CABankClearingAccount,
blart AS CADocumentType,
waers AS TransactionCurrency,
kursf AS ExchangeRate,
budat AS CAPostingDate,
bldat AS DocumentDate,
valut AS ValueDate,
xeiph AS CAIsSeparateLineItemInGL,
augrd AS CAClearingReason,
aenam AS LastChangedByUser,
aedat AS LastChangeDate,
aetim AS LastChangeTime,
opbel AS CADocumentNumber,
txtvw AS CANoteToPayeeInPayment,
chckn AS CACheque,
banks AS BankCountry,
bankl AS BankNumber,
bankn AS BankAccount,
bkont AS BankControlKey,
bkref AS BankDetailReference,
koinh AS CABankAccountHolderName,
nrzaa AS CARepaymentRequest,
ccins AS PaymentCardType,
ccnum AS CardNumber,
merch AS CAPaytServiceProviderMerchant,
cguid AS PaymentCardUUID,
begru AS CAAuthorizationGroup,
IBAN,
swift AS SWIFTCode,
esnum AS BankStatementItem,
uposv AS CAPaymentLotItemRefMemoLine,
uposz AS CAPaymentLotItemRefFurtherSel,
ml_status AS CAPaytLotItemMchnLrngStatus,
xml_cleared AS ItemIsClarifiedWithMchnLrng,
keypp AS CASubAreaForParallelization,
kukon AS CAShortAccountAssignment,
_CompanyCode.Currency AS CompanyCodeCurrency,
_CompanyCode.ControllingArea AS ControllingArea
FROM dfkkzp
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_CABankClearingAccount AS _CABankClearingAccount ON CompanyCode = _CABankClearingAccount.CompanyCode AND CABankClearingAccount = _CABankClearingAccount.CABankClearingAccount -- association [1..1]
LEFT OUTER JOIN I_CAClearingReason AS _CAClearingReason ON CAClearingReason = _CAClearingReason.CAClearingReason -- association [0..1]
LEFT OUTER JOIN I_CADocument AS _CADocument ON CADocumentNumber = _CADocument.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CADocumentType AS _CADocumentType ON CADocumentType = _CADocumentType.CADocumentType AND _CADocumentType.CAApplicationArea = 'C' -- association [1..1]
LEFT OUTER JOIN I_CAPaymentLot AS _CAPaymentLot ON CAPaymentLot = _CAPaymentLot.CAPaymentLot -- association [1..1]
LEFT OUTER JOIN I_CAPaytTransIsToBeClarified AS _CAPaytTransIsToBeClarified ON CAPaymentTransIsToBeClarified = _CAPaytTransIsToBeClarified.CAPaymentTransIsToBeClarified -- association [1..1]
LEFT OUTER JOIN I_CASelectionCategory AS _CAFirstSelectionCategory ON _CAFirstSelectionCategory.CAApplicationArea = 'C' AND CAFirstSelectionCategory = _CAFirstSelectionCategory.CASelectionCategory -- association [1..1]
LEFT OUTER JOIN I_CASelectionCategory AS _CASecondSelectionCategory ON _CASecondSelectionCategory.CAApplicationArea = 'C' AND CASecondSelectionCategory = _CASecondSelectionCategory.CASelectionCategory -- association [1..1]
LEFT OUTER JOIN I_CASelectionCategory AS _CAThirdSelectionCategory ON _CAThirdSelectionCategory.CAApplicationArea = 'C' AND CAThirdSelectionCategory = _CAThirdSelectionCategory.CASelectionCategory -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea -- association [0..*]
;
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