C_GLAcctInChtOfAcctsChgLog
GL account in CoA change log
C_GLAcctInChtOfAcctsChgLog is a Consumption CDS View that provides data about "GL account in CoA change log" in SAP S/4HANA. It reads from 2 data sources (I_ChangeDocumentItem, I_GLAccountInChartOfAccounts) and exposes 42 fields with key fields ChartOfAccounts, GLAccount, ChangeDocument, ChangeDocDatabaseTableField, ChangeDocItemChangeType. Part of development package FINS_FIS_GRC_APPS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ChangeDocumentItem | I_ChangeDocumentItem | from |
| I_GLAccountInChartOfAccounts | I_GLAccountInChartOfAccounts | inner |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGRCGLACCTCOACHG | view | |
| EndUserText.label | GL account in CoA change log | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChartOfAccounts | I_GLAccountInChartOfAccounts | ChartOfAccounts | |
| KEY | GLAccount | I_GLAccountInChartOfAccounts | GLAccount | |
| KEY | ChangeDocument | I_ChangeDocumentItem | ChangeDocument | |
| KEY | ChangeDocDatabaseTableField | I_ChangeDocumentItem | ChangeDocDatabaseTableField | |
| KEY | ChangeDocItemChangeType | I_ChangeDocumentItem | ChangeDocItemChangeType | |
| ChangeDocCreationDate | ||||
| LastChangedByUser | ||||
| ChangeDocNewFieldValue | I_ChangeDocumentItem | ChangeDocNewFieldValue | New Field Value | |
| ChangeDocPreviousFieldValue | I_ChangeDocumentItem | ChangeDocPreviousFieldValue | Old Field Value | |
| ChangeDocNewUnit | I_ChangeDocumentItem | ChangeDocNewUnit | New Unit | |
| ChangeDocPreviousUnit | I_ChangeDocumentItem | ChangeDocPreviousUnit | Old Unit | |
| ChangeDocNewCurrency | I_ChangeDocumentItem | ChangeDocNewCurrency | New Currency | |
| ChangeDocPreviousCurrency | I_ChangeDocumentItem | ChangeDocPreviousCurrency | Old Currency | |
| IsBalanceSheetAccount | I_GLAccountInChartOfAccounts | IsBalanceSheetAccount | ||
| GLAccountGroup | I_GLAccountInChartOfAccounts | GLAccountGroup | ||
| CorporateGroupChartOfAccounts | I_GLAccountInChartOfAccounts | CorporateGroupChartOfAccounts | ||
| CorporateGroupAccount | I_GLAccountInChartOfAccounts | CorporateGroupAccount | ||
| ProfitLossAccountType | I_GLAccountInChartOfAccounts | ProfitLossAccountType | ||
| SampleGLAccount | I_GLAccountInChartOfAccounts | SampleGLAccount | ||
| AccountIsMarkedForDeletion | I_GLAccountInChartOfAccounts | AccountIsMarkedForDeletion | ||
| AccountIsBlockedForCreation | I_GLAccountInChartOfAccounts | AccountIsBlockedForCreation | ||
| AccountIsBlockedForPosting | I_GLAccountInChartOfAccounts | AccountIsBlockedForPosting | ||
| AccountIsBlockedForPlanning | I_GLAccountInChartOfAccounts | AccountIsBlockedForPlanning | ||
| PartnerCompany | I_GLAccountInChartOfAccounts | PartnerCompany | ||
| FunctionalArea | I_GLAccountInChartOfAccounts | FunctionalArea | ||
| CreationDate | I_GLAccountInChartOfAccounts | CreationDate | ||
| CreatedByUser | I_GLAccountInChartOfAccounts | CreatedByUser | ||
| GLAccountType | I_GLAccountInChartOfAccounts | GLAccountType | ||
| GLAccountSubtype | I_GLAccountInChartOfAccounts | GLAccountSubtype | ||
| GLAccountExternal | I_GLAccountInChartOfAccounts | GLAccountExternal | ||
| BankReconciliationAccount | I_GLAccountInChartOfAccounts | BankReconciliationAccount | ||
| _ChartOfAccounts | I_GLAccountInChartOfAccounts | _ChartOfAccounts | ||
| _ChartOfAccountsText | I_GLAccountInChartOfAccounts | _ChartOfAccountsText | ||
| _GLAccountGroup | I_GLAccountInChartOfAccounts | _GLAccountGroup | ||
| _CorporateGroupChartOfAccounts | I_GLAccountInChartOfAccounts | _CorporateGroupChartOfAccounts | ||
| _CorporateGroupAccount | I_GLAccountInChartOfAccounts | _CorporateGroupAccount | ||
| _GlobalCompany | I_GLAccountInChartOfAccounts | _GlobalCompany | ||
| _FunctionalArea | I_GLAccountInChartOfAccounts | _FunctionalArea | ||
| _GLAccountType | I_GLAccountInChartOfAccounts | _GLAccountType | ||
| _GLAccountSubtype | I_GLAccountInChartOfAccounts | _GLAccountSubtype | ||
| ChangeDocObjectClass | I_ChangeDocumentItem | ChangeDocObjectClass | ||
| DatabaseTable | I_ChangeDocumentItem | DatabaseTable |
@AbapCatalog.sqlViewName: 'CGRCGLACCTCOACHG'
@EndUserText.label: 'GL account in CoA change log'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #CONSUMPTION
@OData.publish: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
define view C_GLAcctInChtOfAcctsChgLog
as select from I_ChangeDocumentItem
inner join I_GLAccountInChartOfAccounts on I_ChangeDocumentItem.ChangeDocObject = concat(
I_GLAccountInChartOfAccounts.ChartOfAccounts, I_GLAccountInChartOfAccounts.GLAccount
)
{
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ChartOfAccountsStdVH',
element: 'ChartOfAccounts' }
}]
@ObjectModel.text.association: '_ChartOfAccountsText'
@ObjectModel.foreignKey.association: '_ChartOfAccounts'
key I_GLAccountInChartOfAccounts.ChartOfAccounts,
key I_GLAccountInChartOfAccounts.GLAccount,
key I_ChangeDocumentItem.ChangeDocument,
key I_ChangeDocumentItem.ChangeDocDatabaseTableField,
key I_ChangeDocumentItem.ChangeDocItemChangeType,
cast (I_ChangeDocumentItem._ChangeDocument.CreationDate as fis_udate) as ChangeDocCreationDate,
cast(I_ChangeDocumentItem._ChangeDocument.CreatedByUser as lcm_changed_by) as LastChangedByUser,
@EndUserText.label: 'New Field Value'
I_ChangeDocumentItem.ChangeDocNewFieldValue,
@EndUserText.label: 'Old Field Value'
I_ChangeDocumentItem.ChangeDocPreviousFieldValue,
@EndUserText.label: 'New Unit'
I_ChangeDocumentItem.ChangeDocNewUnit,
@EndUserText.label: 'Old Unit'
I_ChangeDocumentItem.ChangeDocPreviousUnit,
@EndUserText.label: 'New Currency'
I_ChangeDocumentItem.ChangeDocNewCurrency,
@EndUserText.label: 'Old Currency'
I_ChangeDocumentItem.ChangeDocPreviousCurrency,
I_GLAccountInChartOfAccounts.IsBalanceSheetAccount,
@ObjectModel.foreignKey.association: '_GLAccountGroup'
I_GLAccountInChartOfAccounts.GLAccountGroup,
@ObjectModel.foreignKey.association: '_CorporateGroupChartOfAccounts'
I_GLAccountInChartOfAccounts.CorporateGroupChartOfAccounts,
@ObjectModel.foreignKey.association: '_CorporateGroupAccount'
I_GLAccountInChartOfAccounts.CorporateGroupAccount,
I_GLAccountInChartOfAccounts.ProfitLossAccountType,
I_GLAccountInChartOfAccounts.SampleGLAccount,
I_GLAccountInChartOfAccounts.AccountIsMarkedForDeletion,
I_GLAccountInChartOfAccounts.AccountIsBlockedForCreation,
I_GLAccountInChartOfAccounts.AccountIsBlockedForPosting,
I_GLAccountInChartOfAccounts.AccountIsBlockedForPlanning,
@ObjectModel.foreignKey.association: '_GlobalCompany'
I_GLAccountInChartOfAccounts.PartnerCompany,
@ObjectModel.foreignKey.association: '_FunctionalArea'
I_GLAccountInChartOfAccounts.FunctionalArea,
I_GLAccountInChartOfAccounts.CreationDate,
I_GLAccountInChartOfAccounts.CreatedByUser,
@ObjectModel.foreignKey.association: '_Glaccounttype'
I_GLAccountInChartOfAccounts.GLAccountType,
@ObjectModel.foreignKey.association: '_GLAccountSubtype'
I_GLAccountInChartOfAccounts.GLAccountSubtype,
I_GLAccountInChartOfAccounts.GLAccountExternal,
I_GLAccountInChartOfAccounts.BankReconciliationAccount,
I_GLAccountInChartOfAccounts._ChartOfAccounts,
I_GLAccountInChartOfAccounts._ChartOfAccountsText,
I_GLAccountInChartOfAccounts._GLAccountGroup,
I_GLAccountInChartOfAccounts._CorporateGroupChartOfAccounts,
I_GLAccountInChartOfAccounts._CorporateGroupAccount,
I_GLAccountInChartOfAccounts._GlobalCompany,
I_GLAccountInChartOfAccounts._FunctionalArea,
I_GLAccountInChartOfAccounts._GLAccountType,
I_GLAccountInChartOfAccounts._GLAccountSubtype,
I_ChangeDocumentItem.ChangeDocObjectClass,
I_ChangeDocumentItem.DatabaseTable
}
where
I_ChangeDocumentItem.ChangeDocObjectClass = 'SACH'
and I_ChangeDocumentItem.DatabaseTable = 'SKA1'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA