P_JRNLENTRWITHRPRSTVLDGR

CDS View

P_JRNLENTRWITHRPRSTVLDGR is a CDS View in S/4HANA. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
I_CrcyAdjmtItemToBeVerified view inner COMPOSITE Union View of Crcy Adjmt to be verified
I_GLJrnlEntryItemToBeVerified view inner COMPOSITE Union View of LI in GL JE to be verified
@AbapCatalog.sqlViewName: 'PJRNLENTRRP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private:true
define view P_JrnlEntrWithRprstvLdgr
  as select from I_JournalEntry  
  left outer to one join I_LedgerGroupAssignment as _LedgerGroup  on  _LedgerGroup.LedgerGroup            = I_JournalEntry.LedgerGroup
                                                                  and _LedgerGroup.IsRepresentativeLedger = 'X'
  association [1..1] to I_Ledger     as _Ledger      on  _LedgerGroup.Ledger = _Ledger.Ledger
                                                     or ( I_JournalEntry.LedgerGroup = '' and _Ledger.IsLeadingLedger = 'X')                                                                                                         
{ 
   key I_JournalEntry.CompanyCode             as CompanyCode,
   key I_JournalEntry.AccountingDocument      as AccountingDocument,
   key I_JournalEntry.FiscalYear              as FiscalYear, 
   
   I_JournalEntry.LedgerGroup                 as LedgerGroup,
   _Ledger.Ledger                             as Ledger
   
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"I_LEDGER",
"I_LEDGERGROUPASSIGNMENT"
],
"ASSOCIATED":
[
"I_LEDGER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/