I_GLAccountInChartOfAccounts
G/L Account In Chart Of Accounts
I_GLAccountInChartOfAccounts is a Basic CDS View (Dimension) that provides data about "G/L Account In Chart Of Accounts" in SAP S/4HANA. It reads from 1 data source (ska1) and exposes 38 fields with key fields ChartOfAccounts, GLAccount. It has 17 associations to related views. It is exposed through 1 OData service (UI_CADOCUMENT_MNG).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ska1 | ska1 | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChartOfAccountsText | _ChartOfAccountsText | $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts |
| [0..*] | I_GLAccountGroupText | _GLAccountGroupText | $projection.GLAccountGroup = _GLAccountGroupText.GLAccountGroup and $projection.ChartOfAccounts = _GLAccountGroupText.ChartOfAccounts |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
| [0..*] | I_GLAccountText | _Text | $projection.ChartOfAccounts = _Text.ChartOfAccounts and $projection.GLAccount = _Text.GLAccount |
| [0..1] | I_GLAccountType | _GLAccountType | $projection.GLAccountType = _GLAccountType.GLAccountType |
| [0..1] | I_GLAccountSubtype | _GLAccountSubtype | $projection.GLAccountSubtype = _GLAccountSubtype.GLAccountSubtype |
| [0..1] | I_RetainedEarningsGLAccount | _RetainedEarningsGLAccount | $projection.ChartOfAccounts = _RetainedEarningsGLAccount.ChartOfAccounts and $projection.ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType |
| [0..*] | I_GLAccountHierarchyNode | _GLAccountHierarchyNode | $projection.GLAccount = _GLAccountHierarchyNode.GLAccount and $projection.ChartOfAccounts = _GLAccountHierarchyNode.ChartOfAccounts |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [1..1] | I_User | _User | $projection.CreatedByUser = _User.UserID |
| [1..1] | I_Globalcompany | _GlobalCompany | $projection.PartnerCompany = _GlobalCompany.Company |
| [0..1] | I_GLAccountGroup | _GLAccountGroup | $projection.GLAccountGroup = _GLAccountGroup.GLAccountGroup and $projection.ChartOfAccounts = _GLAccountGroup.ChartOfAccounts |
| [0..1] | I_GLAcctInChartOfAcctsProdn | _GLAcctInChartOfAcctsProdn | $projection.ChartOfAccounts = _GLAcctInChartOfAcctsProdn.ChartOfAccounts and $projection.GLAccount = _GLAcctInChartOfAcctsProdn.GLAccount |
| [0..1] | I_GLAcctInCOAImplementStat | _GLAcctInChartOfAcctsStatus | $projection.ChartOfAccounts = _GLAcctInChartOfAcctsStatus.ChartOfAccounts and $projection.GLAccount = _GLAcctInChartOfAcctsStatus.GLAccount |
| [0..1] | I_GLAccountForPublicSector | _PublicSector | $projection.ChartOfAccounts = _PublicSector.ChartOfAccounts and $projection.GLAccount = _PublicSector.GLAccount |
| [0..1] | I_ChartOfAccounts | _CorporateGroupChartOfAccounts | $projection.CorporateGroupChartOfAccounts = _CorporateGroupChartOfAccounts.ChartOfAccounts |
| [0..1] | I_GLAccountInChartOfAccounts | _CorporateGroupAccount | $projection.CorporateGroupChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts and $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | G/L Account In Chart Of Accounts | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IFIGLACCINCOA | view | |
| ObjectModel.entityChangeStateId | LastChangeDateTime | view | |
| ObjectModel.representativeKey | GLAccount | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CADOCUMENT_MNG | UI_CADOCUMENT_MNG | V4 | C1 | NOT_RELEASED |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChartOfAccounts | ska1 | ktopl | |
| KEY | GLAccount | ska1 | saknr | |
| IsBalanceSheetAccount | ska1 | xbilk | ||
| GLAccountGroup | ska1 | ktoks | ||
| CorporateGroupChartOfAccounts | _ChartOfAccounts | CorporateGroupChartOfAccounts | ||
| CorporateGroupAccount | ska1 | bilkt | ||
| ProfitLossAccountType | ska1 | gvtyp | ||
| SampleGLAccount | ska1 | mustr | ||
| AccountIsMarkedForDeletion | ska1 | xloev | ||
| AccountIsBlockedForCreation | ska1 | xspea | ||
| AccountIsBlockedForPosting | ska1 | xspeb | ||
| AccountIsBlockedForPlanning | ska1 | xspep | ||
| PartnerCompany | ska1 | vbund | ||
| FunctionalArea | ska1 | func_area | ||
| CreationDate | ska1 | erdat | ||
| CreatedByUser | ska1 | ernam | ||
| LastChangeDateTime | ska1 | last_changed_ts | ||
| GLAccountType | ska1 | glaccount_type | ||
| GLAccountSubtype | ska1 | glaccount_subtype | ||
| GLAccountExternal | ||||
| BankReconciliationAccount | ska1 | main_saknr | ||
| _User | _User | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _Text | _Text | |||
| _GLAccountHierarchyNode | _GLAccountHierarchyNode | |||
| _FunctionalArea | _FunctionalArea | |||
| _RetainedEarningsGLAccount | _RetainedEarningsGLAccount | |||
| _GLAccountType | _GLAccountType | |||
| _GLAccountSubtype | _GLAccountSubtype | |||
| _GLAccountGroup | _GLAccountGroup | |||
| _GlobalCompany | _GlobalCompany | |||
| _GLAcctInChartOfAcctsProdn | _GLAcctInChartOfAcctsProdn | |||
| _GLAcctInChartOfAcctsStatus | _GLAcctInChartOfAcctsStatus | |||
| _PublicSector | _PublicSector | |||
| _ChartOfAccountsText | _ChartOfAccountsText | |||
| _GLAccountGroupText | _GLAccountGroupText | |||
| _CorporateGroupChartOfAccounts | _CorporateGroupChartOfAccounts | |||
| _CorporateGroupAccount | _CorporateGroupAccount |
@EndUserText.label: 'G/L Account In Chart Of Accounts'
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping:
[ { table: 'SKA1',
role: #MAIN,
viewElement: ['ChartOfAccounts', 'GLAccount'],
tableElement: ['ktopl', 'saknr']
},
{ table: 'T004',
role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['CorporateGroupChartOfAccounts'],
tableElement: ['ktopl']
} ]
}
}
}
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IFIGLACCINCOA'
@ObjectModel.entityChangeStateId: 'LastChangeDateTime'
@ObjectModel.representativeKey: 'GLAccount'
//@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.buffering.status: #NOT_ALLOWED
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey:true
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W
@AccessControl.privilegedAssociations: ['_ChartOfAccountsText','_GLAccountGroupText']
// ]--GENERATED
@ObjectModel.supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#SEARCHABLE_ENTITY,#EXTRACTION_DATA_SOURCE]
define view I_GLAccountInChartOfAccounts
as select from ska1
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W
association [0..*] to I_ChartOfAccountsText as _ChartOfAccountsText on $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
association [0..*] to I_GLAccountGroupText as _GLAccountGroupText on $projection.GLAccountGroup = _GLAccountGroupText.GLAccountGroup
and $projection.ChartOfAccounts = _GLAccountGroupText.ChartOfAccounts
// ]--GENERATED
association [0..1] to I_ChartOfAccounts as _ChartOfAccounts on $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
association [0..*] to I_GLAccountText as _Text on $projection.ChartOfAccounts = _Text.ChartOfAccounts
and $projection.GLAccount = _Text.GLAccount
association [0..1] to I_GLAccountType as _GLAccountType on $projection.GLAccountType = _GLAccountType.GLAccountType
association [0..1] to I_GLAccountSubtype as _GLAccountSubtype on $projection.GLAccountSubtype = _GLAccountSubtype.GLAccountSubtype
association [0..1] to I_RetainedEarningsGLAccount as _RetainedEarningsGLAccount on $projection.ChartOfAccounts = _RetainedEarningsGLAccount.ChartOfAccounts
and $projection.ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType
association [0..*] to I_GLAccountHierarchyNode as _GLAccountHierarchyNode on $projection.GLAccount = _GLAccountHierarchyNode.GLAccount
and $projection.ChartOfAccounts = _GLAccountHierarchyNode.ChartOfAccounts
association [0..1] to I_FunctionalArea as _FunctionalArea on $projection.FunctionalArea = _FunctionalArea.FunctionalArea
association [1..1] to I_User as _User on $projection.CreatedByUser = _User.UserID
association [1..1] to I_Globalcompany as _GlobalCompany on $projection.PartnerCompany = _GlobalCompany.Company
association [0..1] to I_GLAccountGroup as _GLAccountGroup on $projection.GLAccountGroup = _GLAccountGroup.GLAccountGroup
and $projection.ChartOfAccounts = _GLAccountGroup.ChartOfAccounts
association [0..1] to I_GLAcctInChartOfAcctsProdn as _GLAcctInChartOfAcctsProdn on $projection.ChartOfAccounts = _GLAcctInChartOfAcctsProdn.ChartOfAccounts
and $projection.GLAccount = _GLAcctInChartOfAcctsProdn.GLAccount
association [0..1] to I_GLAcctInCOAImplementStat as _GLAcctInChartOfAcctsStatus on $projection.ChartOfAccounts = _GLAcctInChartOfAcctsStatus.ChartOfAccounts
and $projection.GLAccount = _GLAcctInChartOfAcctsStatus.GLAccount
association [0..1] to I_GLAccountForPublicSector as _PublicSector on $projection.ChartOfAccounts = _PublicSector.ChartOfAccounts
and $projection.GLAccount = _PublicSector.GLAccount
association [0..1] to I_ChartOfAccounts as _CorporateGroupChartOfAccounts on $projection.CorporateGroupChartOfAccounts = _CorporateGroupChartOfAccounts.ChartOfAccounts
association [0..1] to I_GLAccountInChartOfAccounts as _CorporateGroupAccount on $projection.CorporateGroupChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts
and $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount
{
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ChartOfAccountsStdVH',
element: 'ChartOfAccounts' }
}]
@ObjectModel.text.association: '_ChartOfAccountsText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ChartOfAccounts' //Inserted by VDM CDS Suite Plugin
@Search.defaultSearchElement:true
@Search.fuzzinessThreshold:0.8
@Search.ranking:#HIGH
key ska1.ktopl as ChartOfAccounts,
@ObjectModel.text.association: '_Text'
@ObjectModel.hierarchy.association: '_GLAccountHierarchyNode'
key ska1.saknr as GLAccount,
ska1.xbilk as IsBalanceSheetAccount,
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_GLAccountGroupStdVH',
element: 'GLAccountGroup' },
additionalBinding: [{ localElement: 'ChartOfAccounts',
element: 'ChartOfAccounts' }]
}]
@ObjectModel.text.association: '_GLAccountGroupText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_GLAccountGroup'
ska1.ktoks as GLAccountGroup,
@ObjectModel.foreignKey.association: '_CorporateGroupChartOfAccounts'
_ChartOfAccounts.CorporateGroupChartOfAccounts as CorporateGroupChartOfAccounts,
@ObjectModel.foreignKey.association: '_CorporateGroupAccount'
ska1.bilkt as CorporateGroupAccount,
ska1.gvtyp as ProfitLossAccountType,
ska1.mustr as SampleGLAccount,
ska1.xloev as AccountIsMarkedForDeletion,
ska1.xspea as AccountIsBlockedForCreation,
ska1.xspeb as AccountIsBlockedForPosting,
ska1.xspep as AccountIsBlockedForPlanning,
@ObjectModel.foreignKey.association: '_GlobalCompany'
ska1.vbund as PartnerCompany,
@ObjectModel.foreignKey.association: '_FunctionalArea' //Inserted by VDM CDS Suite Plugin
ska1.func_area as FunctionalArea,
ska1.erdat as CreationDate,
ska1.ernam as CreatedByUser,
@Semantics.systemDateTime.lastChangedAt: true
ska1.last_changed_ts as LastChangeDateTime,
@ObjectModel.foreignKey.association: '_GLAccountType' //Inserted by VDM CDS Suite Plugin
ska1.glaccount_type as GLAccountType,
@ObjectModel.foreignKey.association: '_GLAccountSubtype'
ska1.glaccount_subtype as GLAccountSubtype,
cast( ska1.sakan as fac_sakan ) as GLAccountExternal,
ska1.main_saknr as BankReconciliationAccount,
//ska1.sakan as GLAccountExternal,
@EndUserText.label: 'Profit Loss Account'
cast(case when ska1.xbilk = 'X' then
' '
else
'X'
end as xbilk) as IsProfitLossAccount,
_User,
_ChartOfAccounts,
_Text,
_GLAccountHierarchyNode,
_FunctionalArea,
_RetainedEarningsGLAccount,
_GLAccountType,
_GLAccountSubtype,
_GLAccountGroup,
_GlobalCompany,
_GLAcctInChartOfAcctsProdn,
_GLAcctInChartOfAcctsStatus,
_PublicSector,
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W
@Consumption.hidden: true
_ChartOfAccountsText,
@Consumption.hidden: true
_GLAccountGroupText,
// ]--GENERATED
_CorporateGroupChartOfAccounts,
_CorporateGroupAccount
};
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