C_GLAccountToFinStmntHier

DDL: C_GLACCOUNTTOFINSTMNTHIER SQL: CGLACCTTOFSV Type: view CONSUMPTION Package: RAP_FI_GL_COA

GL Account Assgnd To Fin Stmnt Hier

C_GLAccountToFinStmntHier is a Consumption CDS View that provides data about "GL Account Assgnd To Fin Stmnt Hier" in SAP S/4HANA. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F0763B, SD_GLACCOUNTINOPERATINGCOA). Part of development package RAP_FI_GL_COA.

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_FinancialStatementHierT _Text $projection.FinancialStatementHierarchy = _Text.FinancialStatementHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CGLACCTTOFSV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label GL Account Assgnd To Fin Stmnt Hier view
Metadata.allowExtensions false view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F0763B ASQL_F0763B C2 NOT_RELEASED
SD_GLACCOUNTINOPERATINGCOA UI_GLACCOUNTINOPERATCOA_02 V2 C1 NOT_RELEASED

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementHierarchy hdr GLAccountHierarchy
KEY ChartOfAccounts
KEY ValidityEndDate
KEY GLAccountExternal
FinancialStmntHierarchyName

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_GLAccountToFinStmntHier.
-- 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: CGLACCTTOFSV

CREATE VIEW C_GLAccountToFinStmntHier AS
SELECT
  hdr.GLAccountHierarchy AS FinancialStatementHierarchy,
  cast( node.HierarchyNodeClass as fis_ktopl ) AS ChartOfAccounts,
  cast(hdr.ValidityEndDate as fis_datbi preserving type ) AS ValidityEndDate,
  cast( node.HierarchyNodeVal as sakan ) AS GLAccountExternal,
  _Text[1: Language = $session.system_language].FinancialStmntHierarchyName AS FinancialStmntHierarchyName
LEFT OUTER JOIN I_FinancialStatementHierT AS _Text ON FinancialStatementHierarchy = _Text.FinancialStatementHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
;