C_ChartOfAccountsListItem
chart of accounts list item
C_ChartOfAccountsListItem is a Consumption CDS View that provides data about "chart of accounts list item" in SAP S/4HANA. It reads from 1 data source (I_ActiveGLAcctInCOAListItem) and exposes 63 fields with key fields ChartOfAccounts, GLAccount, GLAcctOriginalRecordIsUsed. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ActiveGLAcctInCOAListItem | PublicUnion | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_Language | spras | |
| P_GLAcctOriginalRecordIsUsed | fac_is_show_old_value |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChartOfAccountsText | _ChartOfAccountsText | $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts |
| [0..*] | I_GLAccountText | _CorporateGroupAccountText | $projection.CorporateGroupChartOfAccounts = _CorporateGroupAccountText.ChartOfAccounts and $projection.CorporateGroupAccount = _CorporateGroupAccountText.GLAccount |
| [0..1] | I_GLAccountInChartOfAccounts | _GroupGLAccountExternal | $projection.CorporateGroupChartOfAccounts = _GroupGLAccountExternal.ChartOfAccounts and $projection.CorporateGroupAccount = _GroupGLAccountExternal.GLAccount |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CGLCOALIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | chart of accounts list item | view | |
| Search.searchable | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChartOfAccounts | I_ActiveGLAcctInCOAListItem | ChartOfAccounts | Node Class |
| KEY | GLAccount | I_ActiveGLAcctInCOAListItem | GLAccount | General Ledger |
| KEY | GLAcctOriginalRecordIsUsed | |||
| GLAccountNameasGLAccountName | ||||
| GLAccountLongNameasGLAccountLongName | ||||
| GLAccountExternal | I_ActiveGLAcctInCOAListItem | GLAccountExternal | G/L Acct External ID | |
| IsBalanceSheetAccount | I_ActiveGLAcctInCOAListItem | IsBalanceSheetAccount | Is Balance Sheet Account | |
| CorporateGroupAccount | I_ActiveGLAcctInCOAListItem | CorporateGroupAccount | Group Account Number | |
| ProfitLossAccountType | I_ActiveGLAcctInCOAListItem | ProfitLossAccountType | Profit Loss Account Type | |
| RetainedEarningsGLAccountName | ||||
| SampleGLAccount | I_ActiveGLAcctInCOAListItem | SampleGLAccount | Sample Account | |
| AccountIsMarkedForDeletion | I_ActiveGLAcctInCOAListItem | AccountIsMarkedForDeletion | Deletion Flag | |
| AccountIsBlockedForCreation | I_ActiveGLAcctInCOAListItem | AccountIsBlockedForCreation | Creation Block | |
| AccountIsBlockedForPosting | I_ActiveGLAcctInCOAListItem | AccountIsBlockedForPosting | Posting Block | |
| AccountIsBlockedForPlanning | I_ActiveGLAcctInCOAListItem | AccountIsBlockedForPlanning | Planning Block | |
| GLAccountIsNotProdnRelevant | I_ActiveGLAcctInCOAListItem | GLAccountIsNotProdnRelevant | G/L Account Not Used | |
| GLAcctCOAImplementStatus | I_ActiveGLAcctInCOAListItem | GLAcctCOAImplementStatus | Implement. Status | |
| GLAccountCOAIsDeliveredBySAP | I_ActiveGLAcctInCOAListItem | GLAccountCOAIsDeliveredBySAP | Source is Ref. Cont. | |
| PartnerCompany | I_ActiveGLAcctInCOAListItem | PartnerCompany | Trading Partner | |
| FunctionalArea | I_ActiveGLAcctInCOAListItem | FunctionalArea | Sendr Fctl Area | |
| FunctionalAreaName | ||||
| CreationDate | I_ActiveGLAcctInCOAListItem | CreationDate | Time Stamp | |
| CreatedByUser | I_ActiveGLAcctInCOAListItem | CreatedByUser | User Name | |
| GLAccountType | I_ActiveGLAcctInCOAListItem | GLAccountType | G/L Account Type | |
| GLAccountTypeName | ||||
| GLAccountSubtype | I_ActiveGLAcctInCOAListItem | GLAccountSubtype | G/L Account Subtype | |
| GLAccountSubtypeName | ||||
| BankReconciliationAccount | I_ActiveGLAcctInCOAListItem | BankReconciliationAccount | Reconciliation Acct | |
| GLAccountGroup | I_ActiveGLAcctInCOAListItem | GLAccountGroup | Account Group | |
| AccountGroupName | ||||
| IsProfitLossAccount | I_ActiveGLAcctInCOAListItem | IsProfitLossAccount | ||
| CorporateGroupChartOfAccounts | I_ActiveGLAcctInCOAListItem | CorporateGroupChartOfAccounts | Group ChtAccts | |
| CreatedByUserName | _User | UserDescription | Full Name | |
| InProcessByUser | I_ActiveGLAcctInCOAListItem | InProcessByUser | ||
| InProcessByUserDescription | I_ActiveGLAcctInCOAListItem | InProcessByUserDescription | ||
| DraftIsProcessedByMe | I_ActiveGLAcctInCOAListItem | DraftIsProcessedByMe | ||
| HasDraftEntity | I_ActiveGLAcctInCOAListItem | HasDraftEntity | Has Draft | |
| Language | ||||
| ActiveDocumentETag | ||||
| LastChangeDateTime | I_ActiveGLAcctInCOAListItem | LastChangeDateTime | Timestamp | |
| PubSecBudgetCnsmpnType | I_ActiveGLAcctInCOAListItem | PubSecBudgetCnsmpnType | Budget Consumption Type | |
| PubSecBdgtAcctRevnExpnCode | I_ActiveGLAcctInCOAListItem | PubSecBdgtAcctRevnExpnCode | Expense/Revenue | |
| PubSecBudgetIsRelevant | I_ActiveGLAcctInCOAListItem | PubSecBudgetIsRelevant | ||
| PubSecBdgtAcctIsPostgAllowed | I_ActiveGLAcctInCOAListItem | PubSecBdgtAcctIsPostgAllowed | ||
| PubSecBdgtAcctIsBdgtAllowed | I_ActiveGLAcctInCOAListItem | PubSecBdgtAcctIsBdgtAllowed | ||
| PubSecBdgtAcctIsCarryFwd | I_ActiveGLAcctInCOAListItem | PubSecBdgtAcctIsCarryFwd | ||
| PubSecBdgtAcctCarryFwdTo | I_ActiveGLAcctInCOAListItem | PubSecBdgtAcctCarryFwdTo | ||
| CashLedgerAccount | I_ActiveGLAcctInCOAListItem | CashLedgerAccount | Cash Origin Account | |
| SponsoredClass | I_ActiveGLAcctInCOAListItem | SponsoredClass | Sponsored Class | |
| _ChartOfAccounts | I_ActiveGLAcctInCOAListItem | _ChartOfAccounts | ||
| _Text | I_ActiveGLAcctInCOAListItem | _Text | ||
| _Glaccountgroup | I_ActiveGLAcctInCOAListItem | _Glaccountgroup | ||
| _FunctionalArea | I_ActiveGLAcctInCOAListItem | _FunctionalArea | ||
| _User | I_ActiveGLAcctInCOAListItem | _User | ||
| _Glaccounttype | I_ActiveGLAcctInCOAListItem | _Glaccounttype | ||
| _GLAccountSubtype | I_ActiveGLAcctInCOAListItem | _GLAccountSubtype | ||
| _BankRecnclnAcct | I_ActiveGLAcctInCOAListItem | _BankRecnclnAcct | ||
| _GLAcctTxtInMaintLang | I_ActiveGLAcctInCOAListItem | _GLAcctTxtInMaintLang | ||
| _ProfitLossAccountType_Vh | I_ActiveGLAcctInCOAListItem | _ProfitLossAccountType_Vh | ||
| _CorporateGroupAccount | I_ActiveGLAcctInCOAListItem | _CorporateGroupAccount | ||
| _GroupGLAccountExternal | _GroupGLAccountExternal | |||
| _ChartOfAccountsText | _ChartOfAccountsText | |||
| _CorporateGroupAccountText | _CorporateGroupAccountText |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_ChartOfAccountsListItem.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CGLCOALIST
-- Parameters: P_Language : spras, P_GLAcctOriginalRecordIsUsed : fac_is_show_old_value
CREATE VIEW C_ChartOfAccountsListItem AS
SELECT
PublicUnion.ChartOfAccounts AS ChartOfAccounts,
PublicUnion.GLAccount AS GLAccount,
cast ( '' as fac_is_show_old_value ) AS GLAcctOriginalRecordIsUsed,
coalesce( _Text[1:Language = $parameters.P_Language].GLAccountName, _GLAcctTxtInMaintLang.GLAccountName ) as GLAccountName AS GLAccountNameasGLAccountName,
coalesce( _Text[1:Language = $parameters.P_Language].GLAccountLongName, _GLAcctTxtInMaintLang.GLAccountLongName ) as GLAccountLongName AS GLAccountLongNameasGLAccountLongName,
PublicUnion.GLAccountExternal AS GLAccountExternal,
PublicUnion.IsBalanceSheetAccount AS IsBalanceSheetAccount,
PublicUnion.CorporateGroupAccount AS CorporateGroupAccount,
PublicUnion.ProfitLossAccountType AS ProfitLossAccountType,
_RetainedEarningsGLAccount._GLAccountInChartOfAccounts._Text[1:Language = $session.system_language].GLAccountName AS RetainedEarningsGLAccountName,
PublicUnion.SampleGLAccount AS SampleGLAccount,
PublicUnion.AccountIsMarkedForDeletion AS AccountIsMarkedForDeletion,
PublicUnion.AccountIsBlockedForCreation AS AccountIsBlockedForCreation,
PublicUnion.AccountIsBlockedForPosting AS AccountIsBlockedForPosting,
PublicUnion.AccountIsBlockedForPlanning AS AccountIsBlockedForPlanning,
PublicUnion.GLAccountIsNotProdnRelevant AS GLAccountIsNotProdnRelevant,
PublicUnion.GLAcctCOAImplementStatus AS GLAcctCOAImplementStatus,
PublicUnion.GLAccountCOAIsDeliveredBySAP AS GLAccountCOAIsDeliveredBySAP,
PublicUnion.PartnerCompany AS PartnerCompany,
PublicUnion.FunctionalArea AS FunctionalArea,
_FunctionalArea._Text[1: Language = $session.system_language].FunctionalAreaName AS FunctionalAreaName,
PublicUnion.CreationDate AS CreationDate,
PublicUnion.CreatedByUser AS CreatedByUser,
PublicUnion.GLAccountType AS GLAccountType,
_Glaccounttype._GLAccountTypeText[1: Language = $session.system_language].GLAccountTypeName AS GLAccountTypeName,
PublicUnion.GLAccountSubtype AS GLAccountSubtype,
_GLAccountSubtype._GLAccountSubtypeText[1: Language = $session.system_language].GLAccountSubtypeName AS GLAccountSubtypeName,
PublicUnion.BankReconciliationAccount AS BankReconciliationAccount,
PublicUnion.GLAccountGroup AS GLAccountGroup,
_Glaccountgroup._GLAccountGroupText[1: Language = $session.system_language].AccountGroupName AS AccountGroupName,
PublicUnion.IsProfitLossAccount AS IsProfitLossAccount,
PublicUnion.CorporateGroupChartOfAccounts AS CorporateGroupChartOfAccounts,
_User.UserDescription AS CreatedByUserName,
PublicUnion.InProcessByUser AS InProcessByUser,
PublicUnion.InProcessByUserDescription AS InProcessByUserDescription,
PublicUnion.DraftIsProcessedByMe AS DraftIsProcessedByMe,
PublicUnion.HasDraftEntity AS HasDraftEntity,
$parameters.P_Language AS Language,
cast ( '' as char32 ) AS ActiveDocumentETag,
PublicUnion.LastChangeDateTime AS LastChangeDateTime,
PublicUnion.PubSecBudgetCnsmpnType AS PubSecBudgetCnsmpnType,
PublicUnion.PubSecBdgtAcctRevnExpnCode AS PubSecBdgtAcctRevnExpnCode,
PublicUnion.PubSecBudgetIsRelevant AS PubSecBudgetIsRelevant,
PublicUnion.PubSecBdgtAcctIsPostgAllowed AS PubSecBdgtAcctIsPostgAllowed,
PublicUnion.PubSecBdgtAcctIsBdgtAllowed AS PubSecBdgtAcctIsBdgtAllowed,
PublicUnion.PubSecBdgtAcctIsCarryFwd AS PubSecBdgtAcctIsCarryFwd,
PublicUnion.PubSecBdgtAcctCarryFwdTo AS PubSecBdgtAcctCarryFwdTo,
PublicUnion.CashLedgerAccount AS CashLedgerAccount,
PublicUnion.SponsoredClass AS SponsoredClass,
PublicUnion._ChartOfAccounts AS _ChartOfAccounts,
PublicUnion._Text AS _Text,
PublicUnion._Glaccountgroup AS _Glaccountgroup,
PublicUnion._FunctionalArea AS _FunctionalArea,
PublicUnion._User AS _User,
PublicUnion._Glaccounttype AS _Glaccounttype,
PublicUnion._GLAccountSubtype AS _GLAccountSubtype,
PublicUnion._BankRecnclnAcct AS _BankRecnclnAcct,
PublicUnion._GLAcctTxtInMaintLang AS _GLAcctTxtInMaintLang,
PublicUnion._ProfitLossAccountType_Vh AS _ProfitLossAccountType_Vh,
PublicUnion._CorporateGroupAccount AS _CorporateGroupAccount
FROM I_ActiveGLAcctInCOAListItem AS PublicUnion
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _CorporateGroupAccountText ON CorporateGroupChartOfAccounts = _CorporateGroupAccountText.ChartOfAccounts AND CorporateGroupAccount = _CorporateGroupAccountText.GLAccount -- association [0..*]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GroupGLAccountExternal ON CorporateGroupChartOfAccounts = _GroupGLAccountExternal.ChartOfAccounts AND CorporateGroupAccount = _GroupGLAccountExternal.GLAccount -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA