I_GLAccountStdVH

DDL: I_GLACCOUNTSTDVH SQL: IFIGLA__VH Type: view COMPOSITE

General Ledger Account

I_GLAccountStdVH (Composite)

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_GLAccountStdVH is a Composite CDS View that provides data about "General Ledger Account" in SAP S/4HANA. It reads from 1 data source (I_GLAccount) and exposes 10 fields with key fields GLAccount, CompanyCode. It has 1 association to related views.

SAP Help Documentation

CategoryGeneral Ledger Account
Purpose
This view provides value help for G/L accounts ( SAKNR ) in one or more charts of accounts and in one or more company codes. The G/L account can also be filtered by the following: G/L account external ID ( FAC_SAKAN ) Alternative account ( ALTKT_SKB1 ) G/L account group ( KTOKS ) Reconciliation account type ( MITKZ ) This view should be used for value help purposes only. If you intend to select the entire business data, use the General Ledger Account ( I_GLAccount ) view instead.

Prerequisites
Authorizations The General Ledger - Master Data for Chart of Accounts ( SAP_FIN_BC_GL_MD_COA_PC ) business catalogs should be assigned to a user to be able to use this CDS view.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N
CapabilitiesData Source for Defining CDS Entities, Data Source for Search, Data Provider for Value Help
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAccount I_GLAccount from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IFIGLA__VH view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label General Ledger Account view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY GLAccount GLAccount G/L Account Number
KEY CompanyCode CompanyCode Receiver Company Code
GLAccountExternal G/L Acct External ID
AlternativeGLAccount AlternativeGLAccount Alternative G/L Account Number In Company Code
_Text _Text
ChartOfAccounts ChartOfAccounts Chart of Accounts
GLAccountGroup GLAccountGroup G/L Account Group
GLAccountType GLAccountType Type of a General Ledger Account
ReconciliationAccountType ReconciliationAccountType Account Is Reconciliation Account
_CompanyCode _CompanyCode

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_GLAccountStdVH.
-- 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: IFIGLA__VH

CREATE VIEW I_GLAccountStdVH AS
SELECT
  GLAccount,
  CompanyCode,
  cast( GLAccountExternal as fac_sakan ) AS GLAccountExternal,
  AlternativeGLAccount,
  ChartOfAccounts,
  GLAccountGroup,
  GLAccountType,
  ReconciliationAccountType
FROM I_GLAccount
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;