P_JP_ARDOCUMENTHEADERLIST

CDS View

P_JP_ARDOCUMENTHEADERLIST is a CDS View in S/4HANA. It contains 1 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_JP_ARDocumentItemList view inner COMPOSITE

Fields (1)

KeyField CDS FieldsUsed 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