C_GLAccountLineItemImpact
GL Accounting Impact
C_GLAccountLineItemImpact is a Consumption CDS View that provides data about "GL Accounting Impact" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 65 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | GLAccountLineItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_GLAccountLineItem | _GLAccountLineItem | $projection.Ledger = _GLAccountLineItem.Ledger and $projection.SourceLedger = _GLAccountLineItem.SourceLedger and $projection.CompanyCode = _GLAccountLineItem.CompanyCode and $projection.FiscalYear = _GLAccountLineItem.FiscalYear and $projection.AccountingDocument = _GLAccountLineItem.AccountingDocument and $projection.LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem |
| [1..1] | I_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
| [1..1] | E_JournalEntryItem | _Extension | $projection.SourceLedger = _Extension.SourceLedger and $projection.CompanyCode = _Extension.CompanyCode and $projection.FiscalYear = _Extension.FiscalYear and $projection.AccountingDocument = _Extension.AccountingDocument and $projection.LedgerGLLineItem = _Extension.LedgerGLLineItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGLACCTLNITIMPCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | GL Accounting Impact | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| Metadata.allowExtensions | true | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | Ledger | Ledger | |
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | ||||
| GLAccountLongName | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| GLAccountType | GLAccountType | G/L Account Type | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| SourceReferenceDocument | Reference Doc. | |||
| SourceReferenceDocumentType | Ref. procedure | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AccountingDocumentTypeName | ||||
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | Company Name | |
| CompanyCodeCurrency | Local Currency | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| BalanceTransactionCurrency | Currency | |||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElement | WBS Internal ID | |||
| WBSDescription | _WBSElementBasicData | WBSDescription | WBS Element Name | |
| CostCenter | CostCenter | Cost Center | ||
| CostCenterDescription | ||||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterLongName | ||||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| Fund | Fund | Sender Fund | ||
| FundName | ||||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| BudgetPeriodName | ||||
| GrantID | GrantID | Sender Grant | ||
| GrantName | ||||
| MasterFixedAsset | Fixed Asset | |||
| MasterFixedAssetDescription | _MasterFixedAssetText | MasterFixedAssetDescription | ||
| FixedAsset | FixedAsset | Sub-number | ||
| FixedAssetDescription | _FixedAssetText | FixedAssetDescription | Description | |
| LedgerName | ||||
| SourceLedgerName | ||||
| AssetTransactionType | AssetTransactionType | Trans.Type | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| SubLedgerAcctLineItemTypeName | ||||
| AssetClass | AssetClass | Asset Class | ||
| OriginProduct | OriginProduct | |||
| OriginCostCenter | OriginCostCenter | |||
| OriginCostCtrActivityType | OriginCostCtrActivityType | |||
| VarianceOriginGLAccount | VarianceOriginGLAccount | |||
| OriginProductName | ||||
| LedgerFiscalYear | LedgerFiscalYear | |||
| Segment | Segment | Segment number | ||
| IsBalanceSheetAccount | _GLAccountInChartOfAccounts | IsBalanceSheetAccount | Is Balance Sheet Account | |
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| _GLAccountLineItem | _GLAccountLineItem |
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_GLAccountLineItemImpact.
-- 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: CGLACCTLNITIMPCT
CREATE VIEW C_GLAccountLineItemImpact AS
SELECT
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
Ledger,
GLAccount,
cast (_GLAcctInChartOfAccountsText[1:Language = $session.system_language ].GLAccountName as fin_aci_accname ) AS GLAccountName,
_GLAcctInChartOfAccountsText[1:Language = $session.system_language ].GLAccountLongName AS GLAccountLongName,
PostingDate,
GLAccountType,
CreationDateTime,
cast (SourceReferenceDocument as fis_aci_awref) AS SourceReferenceDocument,
cast (SourceReferenceDocumentType as fins_aci_src_awtyp) AS SourceReferenceDocumentType,
DebitCreditCode,
AccountingDocumentType,
cast (_AccountingDocumentType._Text[1:Language = $session.system_language ].AccountingDocumentTypeName as fin_aci_doctpname) AS AccountingDocumentTypeName,
_CompanyCodeText.CompanyCodeName AS CompanyCodeName,
cast (CompanyCodeCurrency as fins_aci_currh) AS CompanyCodeCurrency,
TransactionCurrency,
GlobalCurrency,
cast (BalanceTransactionCurrency as fins_aci_currt) AS BalanceTransactionCurrency,
FreeDefinedCurrency1,
FreeDefinedCurrency2,
FreeDefinedCurrency3,
FreeDefinedCurrency4,
FreeDefinedCurrency5,
FreeDefinedCurrency6,
FreeDefinedCurrency7,
FreeDefinedCurrency8,
WBSElementInternalID,
cast( WBSElement as fis_wbs_no_conv preserving type ) AS WBSElement,
_WBSElementBasicData.WBSDescription AS WBSDescription,
CostCenter,
_CurrentCostCenter._Text[ 1:Language = $session.system_language].CostCenterDescription AS CostCenterDescription,
ProfitCenter,
_CurrentProfitCenter._Text[ 1:Language = $session.system_language].ProfitCenterLongName AS ProfitCenterLongName,
AssignmentReference,
ReferenceDocument,
Fund,
_Fund._Text[ 1:Language = $session.system_language].FundName AS FundName,
BudgetPeriod,
_BudgetPeriod._Text[ 1:Language = $session.system_language].BudgetPeriodName AS BudgetPeriodName,
GrantID,
cast ( _Grant._Text[ 1:Language = $session.system_language].GrantName as fins_aci_grant_name preserving type ) AS GrantName,
cast( MasterFixedAsset as fis_aci_anln1 preserving type ) AS MasterFixedAsset,
_MasterFixedAssetText.MasterFixedAssetDescription AS MasterFixedAssetDescription,
FixedAsset,
_FixedAssetText.FixedAssetDescription AS FixedAssetDescription,
_Ledger._Text[ 1:Language = $session.system_language].LedgerName AS LedgerName,
cast ( _SourceLedger._Text[ 1:Language = $session.system_language].LedgerName as fin_aci_src_ledger_name preserving type ) AS SourceLedgerName,
AssetTransactionType,
SubLedgerAcctLineItemType,
cast ( _SubLedgerAccLineItemType._Text[ 1:Language = $session.system_language].SubLedgerAcctLineItemTypeName as fin_aci_slalitype_desc preserving type ) AS SubLedgerAcctLineItemTypeName,
AssetClass,
OriginProduct,
OriginCostCenter,
OriginCostCtrActivityType,
VarianceOriginGLAccount,
cast ( _OriginProduct._Text[ 1:Language = $session.system_language].ProductName as fin_aci_orig_prod_name preserving type ) AS OriginProductName,
LedgerFiscalYear,
Segment,
_GLAccountInChartOfAccounts.IsBalanceSheetAccount AS IsBalanceSheetAccount,
ChartOfAccounts
FROM I_GLAccountLineItem AS GLAccountLineItem
LEFT OUTER JOIN I_GLAccountLineItem AS _GLAccountLineItem ON Ledger = _GLAccountLineItem.Ledger AND SourceLedger = _GLAccountLineItem.SourceLedger AND CompanyCode = _GLAccountLineItem.CompanyCode AND FiscalYear = _GLAccountLineItem.FiscalYear AND AccountingDocument = _GLAccountLineItem.AccountingDocument AND LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem -- association [1..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [1..1]
LEFT OUTER JOIN E_JournalEntryItem AS _Extension ON SourceLedger = _Extension.SourceLedger AND CompanyCode = _Extension.CompanyCode AND FiscalYear = _Extension.FiscalYear AND AccountingDocument = _Extension.AccountingDocument AND LedgerGLLineItem = _Extension.LedgerGLLineItem -- association [1..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