I_GLAccountGroup

DDL: I_GLACCOUNTGROUP SQL: IGLACCTGRP Type: view BASIC

General Ledger Account Group

I_GLAccountGroup (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_GLAccountGroup is a Basic CDS View (Dimension) that provides data about "General Ledger Account Group" in SAP S/4HANA. It reads from 1 data source (t077s) and exposes 5 fields with key fields ChartOfAccounts, GLAccountGroup. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesData Source for Defining CDS Entities
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>How many G/L account groups are defined?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
t077s t077s from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_GLAccountGroupText _GLAccountGroupText $projection.ChartOfAccounts = _GLAccountGroupText.ChartOfAccounts and $projection.GLAccountGroup = _GLAccountGroupText.GLAccountGroup
[1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..*] I_ChartOfAccountsText _ChartOfAccountsText $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IGLACCTGRP view
EndUserText.label General Ledger Account Group view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey GLAccountGroup view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts ktopl G/L Chart of Accounts
KEY GLAccountGroup ktoks G/L Account Group
_ChartOfAccountsText _ChartOfAccountsText
_GLAccountGroupText _GLAccountGroupText
_ChartOfAccounts _ChartOfAccounts

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 I_GLAccountGroup.
-- 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: IGLACCTGRP

CREATE VIEW I_GLAccountGroup AS
SELECT
  ktopl AS ChartOfAccounts,
  ktoks AS GLAccountGroup
FROM t077s
LEFT OUTER JOIN I_GLAccountGroupText AS _GLAccountGroupText ON ChartOfAccounts = _GLAccountGroupText.ChartOfAccounts AND GLAccountGroup = _GLAccountGroupText.GLAccountGroup  -- association [0..*]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [1]
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts  -- association [0..*]
;