I_JOURNALENTRYHISTORY
Journal Entry History
I_JOURNALENTRYHISTORY is a CDS View in S/4HANA. Journal Entry History. It contains 14 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_GLDisplayItemChangeLog | view | from | CONSUMPTION | Display G/L Item ChangeLog Ovw |
| R_MngJrnlEntrChangeDocument | view_entity | from | TRANSACTIONAL | Journal Entry - Changed Document |
Fields (14)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingDocumentItem | JournalEntryItem | 1 |
| KEY | ChangeDocTableKey | ChangeDocTableKey | 1 |
| KEY | ChangeDocument | ChangeDocument | 1 |
| KEY | DatabaseTable | DatabaseTable | 1 |
| KEY | DatabaseTableField | ChangeDocDatabaseTableField | 1 |
| KEY | Ledger | Ledger | 1 |
| AccountingDocumentCreationDate | CreationDate | 1 | |
| AccountingDocumentType | AccountingDocumentType | 1 | |
| CreationTime | CreationTime | 1 | |
| LastChangeDate | LastChangedDate | 1 | |
| LastChangeTime | LastChangeTime | 1 | |
| NewFieldContent | ChangedFieldNewValue | 1 | |
| OldFieldContent | ChangedFieldOldValue | 1 | |
| UserName | ChangedBy | 1 |
@AbapCatalog.sqlViewName: 'IJOURNALENTHST'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.type: #CLIENT_DEPENDENT
@ClientHandling.algorithm: #SESSION_VARIABLE
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
//@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Journal Entry History'
@ObjectModel.representativeKey: 'AccountingDocument'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@AbapCatalog.buffering: {type: #NONE, numberOfKeyFields: 0, status: #NOT_ALLOWED}
//@Metadata.ignorePropagatedAnnotations: true
//ATC fix
@Metadata.allowExtensions: true
@AccessControl.authorizationCheck: #CHECK
define view I_JournalEntryHistory
as select from P_JournalEntryHistory
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [1..1] to I_Ledger as _Ledger on $projection.Ledger = _Ledger.Ledger
association [0..1] to I_GLAccountInCompanyCode as _GLAccountInCompanyCode on $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode
and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount
{
@ObjectModel.foreignKey.association: '_CompanyCode'
key CompanyCode,
key AccountingDocument,
@ObjectModel.foreignKey.association: '_Ledger'
key Ledger,
key ChangeDocument,
key DatabaseTable,
key ChangeDocTableKey,
key ChangeDocDatabaseTableField as DatabaseTableField,
key AccountingDocumentItem,
key FiscalYear,
PostingDate,
DocumentDate,
UserName,
LastChangeTime,
// LastChangeDateTime,
NewFieldContent,
OldFieldContent,
LastChangeDate,
AccountingDocumentCreationDate,
CreationTime,
FinancialAccountType,
@ObjectModel.foreignKey.association: '_GLAccountInCompanyCode'
GLAccount,
AccountingDocumentType,
AccountingDocumentCategory,
_CompanyCode,
_Ledger,
_GLAccountInCompanyCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_JOURNALENTRYHISTORY"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_GLACCOUNTINCOMPANYCODE",
"I_LEDGER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/