P_AR_SuplrPaytSupplierLineItem

DDL: P_AR_SUPLRPAYTSUPPLIERLINEITEM Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_OperationalAcctgDocItem AcctgDocItem inner
I_JournalEntry JournalEntry from

Annotations (6)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/