P_AR_SuplrPaytSupplierLineItem
P_AR_SuplrPaytSupplierLineItem is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_OperationalAcctgDocItem, I_JournalEntry) and exposes 14 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | AcctgDocItem | inner |
| I_JournalEntry | JournalEntry | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_JournalEntry | CompanyCode | |
| KEY | AccountingDocument | I_JournalEntry | AccountingDocument | |
| KEY | FiscalYear | I_JournalEntry | FiscalYear | |
| KEY | AccountingDocumentItem | I_OperationalAcctgDocItem | AccountingDocumentItem | |
| PostingDate | I_JournalEntry | PostingDate | ||
| SpecialGLTransactionType | I_OperationalAcctgDocItem | SpecialGLTransactionType | ||
| ClearingJournalEntry | I_OperationalAcctgDocItem | ClearingJournalEntry | ||
| ClearingJournalEntryFiscalYear | I_OperationalAcctgDocItem | ClearingJournalEntryFiscalYear | ||
| FollowOnDocumentType | I_OperationalAcctgDocItem | FollowOnDocumentType | ||
| InvoiceReference | I_OperationalAcctgDocItem | InvoiceReference | ||
| InvoiceReferenceFiscalYear | I_OperationalAcctgDocItem | InvoiceReferenceFiscalYear | ||
| InvoiceItemReference | I_OperationalAcctgDocItem | InvoiceItemReference | ||
| CompanyCodeCurrency | I_OperationalAcctgDocItem | CompanyCodeCurrency | ||
| AmountInCompanyCodeCurrency | I_OperationalAcctgDocItem | AmountInCompanyCodeCurrency |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view entity P_AR_SuplrPaytSupplierLineItem
as select from I_JournalEntry as JournalEntry
inner join I_OperationalAcctgDocItem as AcctgDocItem on JournalEntry.CompanyCode = AcctgDocItem.CompanyCode
and JournalEntry.AccountingDocument = AcctgDocItem.AccountingDocument
and JournalEntry.FiscalYear = AcctgDocItem.FiscalYear
{
key JournalEntry.CompanyCode,
key JournalEntry.AccountingDocument,
key JournalEntry.FiscalYear,
key AcctgDocItem.AccountingDocumentItem,
JournalEntry.PostingDate,
AcctgDocItem.SpecialGLTransactionType,
AcctgDocItem.ClearingJournalEntry,
AcctgDocItem.ClearingJournalEntryFiscalYear,
AcctgDocItem.FollowOnDocumentType,
AcctgDocItem.InvoiceReference,
AcctgDocItem.InvoiceReferenceFiscalYear,
AcctgDocItem.InvoiceItemReference,
AcctgDocItem.CompanyCodeCurrency,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
AcctgDocItem.AmountInCompanyCodeCurrency
}
where
JournalEntry.IsReversal = ''
and JournalEntry.IsReversed = ''
and JournalEntry.AccountingDocumentCategory = ''
and AcctgDocItem.FinancialAccountType = 'K'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"I_OPERATIONALACCTGDOCITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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