I_ARLockBoxBatchItem
Lockbox Batch Item Data
I_ARLockBoxBatchItem is a Composite CDS View that provides data about "Lockbox Batch Item Data" in SAP S/4HANA. It reads from 2 data sources (dd07v, P_ARLockBoxBatchItem) and exposes 74 fields with key fields LockboxBatchInternalKey, LockboxBatchItem, LockboxBatch. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| dd07v | dd07v | left_outer |
| P_ARLockBoxBatchItem | item | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _Currency | _Currency.Currency = $projection.Currency -- |
| [1..1] | I_ARLockBoxBatch | _Header | item.LockboxBatchInternalKey = _Header.LockboxBatchInternalKey and item.LockboxBatch = _Header.LockboxBatch |
| [0..1] | I_JournalEntry | _JournalEntry | $projection.BankLedgerDocument = _JournalEntry.AccountingDocument and $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear |
| [0..1] | I_Arbsitmemolinewithorig | _MemoLine | $projection.LockboxBatchInternalKey = _MemoLine.BankStatementShortID and $projection.LockboxBatchItem = _MemoLine.BankStatementItem |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Lockbox Batch Item Data | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IARLOCKBOXITEM | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LockboxBatchInternalKey | LockboxBatchInternalKey | ||
| KEY | LockboxBatchItem | LockboxBatchItem | ||
| KEY | LockboxBatch | LockboxBatch | ||
| ValueDate | ValueDate | |||
| Currency | Currency | |||
| AmountInTransactionCurrency | ||||
| LockboxBatchItmStatus | ||||
| LockboxBatchItmStatusName | ||||
| IsCompleted | IsCompleted | |||
| Cheque | ||||
| PartnerBankCountry | ||||
| PartnerBank | ||||
| PartnerBankAccount | ||||
| BankLedgerDocument | BankLedgerDocument | |||
| Customer | ||||
| ApplicationLog | ||||
| MemoLine | _MemoLine | MemoLine | ||
| MemoLine1 | ||||
| AssignmentReference | AssignmentReference | |||
| PaymentExternalTransacType | ||||
| DocumentItemText | ||||
| DocumentReferenceID | DocumentReferenceID | |||
| PaymentManualTransacType | ||||
| BankLedgerIsPosted | ||||
| SubledgerIsPostedSuccessfully | ||||
| LockboxSubledgerDocument | ||||
| CompanyCode | CompanyCode | |||
| FiscalYear | FiscalYear | |||
| BankLedgerAcctgDocFiscalYear | BankLedgerAcctgDocFiscalYear | |||
| SubledgerDocument | SubledgerDocument | |||
| LockboxBatchItmAdditionalInfo | AdditionalInformation | |||
| SubledgerAcctgDocFiscalYear | SubledgerAcctgDocFiscalYear | |||
| PaymentAdvice | PaymentAdvice | |||
| _Currency | _Currency | |||
| _Header | _Header | |||
| _JournalEntry | _JournalEntry | |||
| SubledgerOnAccountDocument | SubledgerOnAccountDocument | |||
| Lockbox | _Header | Lockbox | ||
| BankStatementItemDraftUUID | BankStatementItemDraftUUID | |||
| BankStatementInternalID | BankStatementInternalID | |||
| LockboxProcessingStatus | LockboxProcessingStatus | |||
| BankPostingDate | BankPostingDate | |||
| BankPostingKey | BankPostingKey | |||
| BankReference | BankReference | |||
| BusinessArea | BusinessArea | |||
| BusinessPartnerName | BusinessPartnerName | |||
| TreasuryContract | TreasuryContract | |||
| DaybookEntry | DaybookEntry | |||
| DunningBlockingReason | DunningBlockingReason | |||
| ExchangeRate | ExchangeRate | |||
| FeeAmountInTransactionCrcy | FeeAmountInTransactionCrcy | |||
| FeeAmountInOriginalCrcy | FeeAmountInOriginalCrcy | |||
| MemoLineIsChanged | MemoLineIsChanged | |||
| AmountInOriginalCurrency | AmountInOriginalCurrency | |||
| OriginalCurrency | OriginalCurrency | |||
| OverdueChargeAmtInTransacCrcy | OverdueChargeAmtInTransacCrcy | |||
| PartnerBankIBAN | PartnerBankIBAN | |||
| PartnerBankSWIFTCode | PartnerBankSWIFTCode | |||
| PaymentAdviceAccount | PaymentAdviceAccount | |||
| PaymentAdviceAccountType | PaymentAdviceAccountType | |||
| PaymentAdviceAccountTypeName | PaymentAdviceAccountTypeName | |||
| PaymentReference | PaymentReference | |||
| PostingDate | PostingDate | |||
| PostingErrorStatus | PostingErrorStatus | |||
| ReferenceDocument | ReferenceDocument | |||
| ReferenceDocumentType | ReferenceDocumentType | |||
| BankStmntItemReprocessReason | BankStmntItemReprocessReason | |||
| ReturnReason | ReturnReason | |||
| TreasuryContractType | TreasuryContractType | |||
| ValueDateTime | ValueDateTime | |||
| MachineLrngBankStmntItemStatus | MachineLrngBankStmntItemStatus | |||
| CostCenter | CostCenter | |||
| ProfitCenter | ProfitCenter | |||
| DebitCreditCode | DebitCreditCode |
@EndUserText.label: 'Lockbox Batch Item Data'
//@Analytics.dataCategory: #CUBE
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA') //Partner's Bank Account - archiving is possible
@AbapCatalog.sqlViewName: 'IARLOCKBOXITEM'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #MIXED
define view I_ARLockBoxBatchItem
as select from P_ARLockBoxBatchItem as item
// select status description from fix values of the domain FAR_ASTAT
left outer join dd07v on dd07v.domvalue_l = item.LockboxBatchItmStatus
and dd07v.domname = 'FAR_CHECT_ASTAT'
and dd07v.ddlanguage = $session.system_language
association [0..1] to I_Currency as _Currency on _Currency.Currency = $projection.Currency
-- Association with Lockbox
association [1..1] to I_ARLockBoxBatch as _Header
on item.LockboxBatchInternalKey = _Header.LockboxBatchInternalKey
and item.LockboxBatch = _Header.LockboxBatch
association [0..1] to I_JournalEntry as _JournalEntry on $projection.BankLedgerDocument = _JournalEntry.AccountingDocument
and $projection.CompanyCode = _JournalEntry.CompanyCode
and $projection.FiscalYear = _JournalEntry.FiscalYear
association [0..1] to I_Arbsitmemolinewithorig as _MemoLine on $projection.LockboxBatchInternalKey = _MemoLine.BankStatementShortID
and $projection.LockboxBatchItem = _MemoLine.BankStatementItem
{
key LockboxBatchInternalKey,
key LockboxBatchItem,
key LockboxBatch,
ValueDate,
@Semantics.currencyCode: true
Currency,
@DefaultAggregation: #NONE
@Semantics.amount.currencyCode: 'Currency'
cast(AmountInTransactionCurrency as farp_fwbtr) as AmountInTransactionCurrency,
cast (LockboxBatchItmStatus as far_chect_astat) as LockboxBatchItmStatus,
cast(dd07v.ddtext as far_lb_stat_desc) as LockboxBatchItmStatusName,
IsCompleted,
cast(Cheque as farp_chect) as Cheque,//until 02/2018 CustomerReferenceNumber was used here. By accident.
cast(PartnerBankCountry as farp_pabks) as PartnerBankCountry,
cast(PartnerBank as farp_pablz) as PartnerBank,
cast(PartnerBankAccount as farp_pakto) as PartnerBankAccount,
BankLedgerDocument,
cast(PaymentAdviceAccount as kunnr) as Customer,
cast(ApplicationLog as far_applog) as ApplicationLog,
_MemoLine.MemoLine as MemoLine,
//not needed due to new string based persistence
cast(MemoLine1 as farp_memo_line_1) as MemoLine1,
AssignmentReference,
cast(PaymentExternalTransacType as farp_vorgc) as PaymentExternalTransacType,
cast(DocumentItemText as text50) as DocumentItemText,
DocumentReferenceID,
cast(PaymentManualTransacType as vgman_eb) as PaymentManualTransacType,
cast(BankLedgerIsPosted as farp_vb1ok) as BankLedgerIsPosted,
cast(SubledgerIsPostedSuccessfully as farp_vb2ok) as SubledgerIsPostedSuccessfully,
cast(LockboxSubledgerDocument as far_sdoc2) as LockboxSubledgerDocument,
CompanyCode,
FiscalYear ,
BankLedgerAcctgDocFiscalYear,
SubledgerDocument,
AdditionalInformation as LockboxBatchItmAdditionalInfo,
SubledgerAcctgDocFiscalYear,
PaymentAdvice,
_Currency,
_Header,
_JournalEntry,
SubledgerOnAccountDocument ,
_Header.Lockbox,
BankStatementItemDraftUUID,
BankStatementInternalID,
LockboxProcessingStatus,
BankPostingDate,
BankPostingKey,
BankReference,
BusinessArea,
BusinessPartnerName,
TreasuryContract,
DaybookEntry,
DunningBlockingReason,
ExchangeRate,
FeeAmountInTransactionCrcy,
FeeAmountInOriginalCrcy,
MemoLineIsChanged,
AmountInOriginalCurrency,
OriginalCurrency,
OverdueChargeAmtInTransacCrcy,
PartnerBankIBAN,
PartnerBankSWIFTCode,
PaymentAdviceAccount,
PaymentAdviceAccountType,
PaymentAdviceAccountTypeName,
PaymentReference,
PostingDate,
PostingErrorStatus,
ReferenceDocument,
ReferenceDocumentType,
BankStmntItemReprocessReason,
ReturnReason,
TreasuryContractType,
ValueDateTime,
MachineLrngBankStmntItemStatus,
CostCenter,
ProfitCenter,
DebitCreditCode
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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