I_GLAccountText

DDL: I_GLACCOUNTTEXT SQL: IFIGLACCOUNTT Type: view BASIC Package: FINS_GL_ACCOUNT_VDM

General Ledger Account - Text

I_GLAccountText (Basic)

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

Accounting and Financial Close

I_GLAccountText is a Basic CDS View that provides data about "General Ledger Account - Text" in SAP S/4HANA. It reads from 1 data source (skat) and exposes 9 fields with key fields ChartOfAccounts, GLAccount, Language. It has 3 associations to related views. It is exposed through 2 OData services (ASQL_F0731A, ASQL_F3333). Part of development package FINS_GL_ACCOUNT_VDM.

SAP Help Documentation

CategoryGeneral Ledger Account
Purpose
This CDS view provides the data to answer the following business question: Which language are the G/L account short or long texts available in? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: G/L Account Master Data - Configuration ( SAP_CA_BC_IC_LND_FIN_GLA_PC ) General Ledger - Master Data for Chart of Accounts ( SAP_FIN_BC_GL_MD_COA_PC )

Structure
Fields used for filtering The main filters are as follows: Chart of Accounts ( KTOPL ), used to select G/L accounts that are included in the specified chart of accounts and their related data G/L Account ( SAKNR ), used to find G/L accounts that are included in the specified chart of accounts and have the specified G/L account numbers Language ( SPRAS ), used to find G/L accounts that are included in the specified chart of accounts and have the specified G/L account short or long texts in a specified language

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N-2CL
CapabilitiesData Source for Defining CDS Entities,Language-Dependent Text
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the data to answer the following business question: Which language are the G/L account short or long texts available in?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
skat skat from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_ChartOfAccountsText _ChartOfAccountsText $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (14)

NameValueLevelField
EndUserText.label General Ledger Account - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIGLACCOUNTT view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
Search.searchable true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F0731A ASQL_F0731A C2 NOT_RELEASED
ASQL_F3333 ASQL_F3333 C2 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts ktopl G/L Chart of Accounts
KEY GLAccount saknr G/L Account Number
KEY Language spras Off. Language
GLAccountName G/L Account Name
GLAccountLongName G/L Account Long Name
LastChangeDateTime last_changed_ts UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_Language _Language
_ChartOfAccounts _ChartOfAccounts
_ChartOfAccountsText _ChartOfAccountsText

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_GLAccountText.
-- 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: IFIGLACCOUNTT

CREATE VIEW I_GLAccountText AS
SELECT
  ktopl AS ChartOfAccounts,
  saknr AS GLAccount,
  spras AS Language,
  cast( txt20 as fis_txt20_skat_20 preserving type ) AS GLAccountName,
  cast( txt50 as fis_txt50_skat preserving type ) AS GLAccountLongName,
  last_changed_ts AS LastChangeDateTime
FROM skat
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
;