P_JP_ARDOCUMENTHEADERLIST
Accounting Receivable Document List
P_JP_ARDOCUMENTHEADERLIST is a CDS View in S/4HANA. Accounting Receivable Document List. It contains 1 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_JP_ARDocumentItemList | view | inner | COMPOSITE | Accounts Receivable Document Item List |
Fields (1)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | Customer | Customer | 1 |
@AbapCatalog.sqlViewName: 'PJPARDOCHD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_JP_ARDocumentHeaderList
as select distinct from I_GLAccountLineItem as I_GLAccountLineItem
inner join I_AccountingDocument as Header on I_GLAccountLineItem.CompanyCode = Header.CompanyCode
and I_GLAccountLineItem.FiscalYear = Header.FiscalYear
and I_GLAccountLineItem.AccountingDocument = Header.AccountingDocument
{
key SourceLedger,
key I_GLAccountLineItem.CompanyCode,
key I_GLAccountLineItem.FiscalYear,
key I_GLAccountLineItem.AccountingDocument,
key I_GLAccountLineItem.Ledger,
I_GLAccountLineItem.Customer,
Header.AccountingDocumentHeaderText
}
where
FinancialAccountType = 'D'
and SpecialGLCode = ''
and I_GLAccountLineItem.AccountingDocument <> I_GLAccountLineItem.ClearingAccountingDocument
and ( I_GLAccountLineItem.IsReversed = '' and I_GLAccountLineItem.IsReversal = '' )
and FollowOnDocumentType is initial