I_GLAccountHierarchyText

DDL: I_GLACCOUNTHIERARCHYTEXT SQL: IFIGLACCOUNTHT Type: view BASIC

G/L Account Hierarchy - Text

I_GLAccountHierarchyText (Basic)

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

GLAccountHierarchyText · Accounting and Financial Close

I_GLAccountHierarchyText is a Basic CDS View that provides data about "G/L Account Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_dirt_n) and exposes 6 fields with key fields GLAccountHierarchy, ValidityEndDate, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesData Source for Defining CDS Entities, Language-Dependent Text, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves financial statement versions (FSVs), general ledger (G/L) account hierarchies, G/L account groups, and cost element groups. It helps answer the following business questions:</p> <ul> <li><p>Which FSVs, G/L account hierarchies, G/L account groups, and cost element groups are available?</p></li> <li><p>What are their validity timeframes?</p></li> <li><p>When were the hierarchies created and by whom?</p></li> </ul> <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
hrrp_dirt_n hrrp_dirt_n from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
EndUserText.label G/L Account Hierarchy - Text view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIGLACCOUNTHT view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey GLAccountHierarchy view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
Analytics.dataExtraction.enabled true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY GLAccountHierarchy G/L Account Hierarchy
KEY ValidityEndDate hrrp_dirt_n hryvalto Valid To Date
KEY Language spras Off. Language
ValidityStartDate hrrp_dirt_n hryvalfrom Valid-From Date
GLAccountHierarchyName hrytxt Hierarchy description
_Language _Language

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_GLAccountHierarchyText.
-- 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: IFIGLACCOUNTHT

CREATE VIEW I_GLAccountHierarchyText AS
SELECT
  cast ( hrrp_dirt_n.hryid_42 as fis_glaccthier preserving type ) AS GLAccountHierarchy,
  hrrp_dirt_n.hryvalto AS ValidityEndDate,
  spras AS Language,
  hrrp_dirt_n.hryvalfrom AS ValidityStartDate,
  hrytxt AS GLAccountHierarchyName
FROM hrrp_dirt_n
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;