C_Fsvhierincoa

DDL: C_FSVHIERINCOA SQL: CFSVHIERCOA Type: view CONSUMPTION

FSV based on chart of accounts

C_Fsvhierincoa is a Consumption CDS View that provides data about "FSV based on chart of accounts" in SAP S/4HANA. It reads from 1 data source (I_FsvHierarchyInCoa) and exposes 40 fields with key fields HierarchyNodeUniqueID, ParentNodeUniqueID, FinStatementHierarchyLevelVal, FinancialStatementVariant, FinancialStatementItem.

Data Sources (1)

SourceAliasJoin Type
I_FsvHierarchyInCoa _GLAccount from

Parameters (5)

NameTypeDefault
P_Language sylangu
P_MaintenanceLanguage spras
P_FinancialStatementVariant versn_011
P_ChartOfAccounts ktopl
P_GLAcctHierarchyNodeCategory glacchiercateg

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CFSVHIERCOA view
EndUserText.label FSV based on chart of accounts view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY HierarchyNodeUniqueID HierarchyNodeUniqueID
KEY ParentNodeUniqueID ParentNodeUniqueID
KEY FinStatementHierarchyLevelVal FinStatementHierarchyLevelVal Level Number
KEY FinancialStatementVariant FinancialStatementVariant Version
KEY FinancialStatementItem FinancialStatementItem FS Item
KEY ChartOfAccounts ChartOfAccounts Node Class
KEY GLAccount _GLAccountInChartOfAccounts GLAccount General Ledger
KEY FunctionalArea _FunctionalArea FunctionalArea Sendr Fctl Area
GLAccountLongName
FunctionalAreaName
FinStatementItemDescription
GLAccountExternal _GLAccountInChartOfAccounts GLAccountExternal G/L Acct External ID
CorporateGroupAccountExternal _GroupAccountExternal GLAccountExternal G/L Acct External ID
NodeType NodeType Object Type
DrillDownIsImpossible DrillDownIsImpossible
IsDebitBalanceRelevant IsDebitBalanceRelevant Debit Balance
IsCreditBalanceRelevant IsCreditBalanceRelevant Credit Balance
OffsettingItem OffsettingItem G/L Line Item
GLAcctHierarchyNodeCategory GLAcctHierarchyNodeCategory Segment number
HierarchyNode HierarchyNode Node
SiblingNode SiblingNode Sibling Node
AccountIsMarkedForDeletion _GLAccountInChartOfAccounts AccountIsMarkedForDeletion Deletion Flag
AccountIsBlockedForCreation _GLAccountInChartOfAccounts AccountIsBlockedForCreation Creation Block
AccountIsBlockedForPosting _GLAccountInChartOfAccounts AccountIsBlockedForPosting Posting Block
AccountIsBlockedForPlanning _GLAccountInChartOfAccounts AccountIsBlockedForPlanning Planning Block
PartnerCompany _GLAccountInChartOfAccounts PartnerCompany Trading Partner
GLAccountGroup _GLAccountInChartOfAccounts GLAccountGroup Account Group
AccountGroupName
ProfitLossAccountType _GLAccountInChartOfAccounts ProfitLossAccountType Profit Loss Account Type
CorporateGroupAccount CorporateGroupAccount Group Account Number
CorporateGroupAccountLongName
IsBalanceSheetAccount _GLAccountInChartOfAccounts IsBalanceSheetAccount Is Balance Sheet Account
CreatedByUser _GLAccountInChartOfAccounts CreatedByUser User Name
CreatedByUserName
GLAccountType _GLAccountInChartOfAccounts GLAccountType G/L Account Type
GLAccountTypeName
CreationDate
RetainedEarningsGLAccount
CorporateGroupChartOfAccounts CorporateGroupChartOfAccounts Group ChtAccts
SemanticTag SemanticTag Semantic Tag

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_Fsvhierincoa.
-- 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: CFSVHIERCOA
-- Parameters: P_Language : sylangu, P_MaintenanceLanguage : spras, P_FinancialStatementVariant : versn_011, P_ChartOfAccounts : ktopl, P_GLAcctHierarchyNodeCategory : glacchiercateg

CREATE VIEW C_Fsvhierincoa AS
SELECT
  HierarchyNodeUniqueID,
  ParentNodeUniqueID,
  FinStatementHierarchyLevelVal,
  FinancialStatementVariant,
  FinancialStatementItem,
  ChartOfAccounts,
  _GLAccountInChartOfAccounts.GLAccount AS GLAccount,
  _FunctionalArea.FunctionalArea AS FunctionalArea,
  _GLAccountInChartOfAccounts._Text[1: Language = $parameters.P_MaintenanceLanguage].GLAccountLongName AS GLAccountLongName,
  _FunctionalArea._Text[1: Language = $session.system_language].FunctionalAreaName AS FunctionalAreaName,
  _FinancialStatementItem._Text[1: Language = $parameters.P_MaintenanceLanguage].FinStatementItemDescription AS FinStatementItemDescription,
  _GLAccountInChartOfAccounts.GLAccountExternal AS GLAccountExternal,
  _GroupAccountExternal.GLAccountExternal AS CorporateGroupAccountExternal,
  NodeType,
  DrillDownIsImpossible,
  IsDebitBalanceRelevant,
  IsCreditBalanceRelevant,
  OffsettingItem,
  GLAcctHierarchyNodeCategory,
  HierarchyNode,
  SiblingNode,
  _GLAccountInChartOfAccounts.AccountIsMarkedForDeletion AS AccountIsMarkedForDeletion,
  _GLAccountInChartOfAccounts.AccountIsBlockedForCreation AS AccountIsBlockedForCreation,
  _GLAccountInChartOfAccounts.AccountIsBlockedForPosting AS AccountIsBlockedForPosting,
  _GLAccountInChartOfAccounts.AccountIsBlockedForPlanning AS AccountIsBlockedForPlanning,
  _GLAccountInChartOfAccounts.PartnerCompany AS PartnerCompany,
  _GLAccountInChartOfAccounts.GLAccountGroup AS GLAccountGroup,
  _GLAccountInChartOfAccounts._GLAccountGroup._GLAccountGroupText[1: Language = $session.system_language].AccountGroupName AS AccountGroupName,
  _GLAccountInChartOfAccounts.ProfitLossAccountType AS ProfitLossAccountType,
  CorporateGroupAccount,
  _GLAccountInGrpChartOfAccounts._CorporateGroupAccountText[1: Language = $session.system_language].GLAccountLongName AS CorporateGroupAccountLongName,
  _GLAccountInChartOfAccounts.IsBalanceSheetAccount AS IsBalanceSheetAccount,
  _GLAccountInChartOfAccounts.CreatedByUser AS CreatedByUser,
  _GLAccountInChartOfAccounts._User.UserDescription AS CreatedByUserName,
  _GLAccountInChartOfAccounts.GLAccountType AS GLAccountType,
  cast(_GLAccountInChartOfAccounts._GLAccountType._GLAccountTypeText[1: Language = $session.system_language].GLAccountTypeName as fac_gl_acct_type_name) AS GLAccountTypeName,
  cast( _GLAccountInChartOfAccounts.CreationDate as abap.char(8) ) AS CreationDate,
  _GLAccountInChartOfAccounts._RetainedEarningsGLAccount.RetainedEarningsGLAccount AS RetainedEarningsGLAccount,
  CorporateGroupChartOfAccounts,
  SemanticTag
FROM I_FsvHierarchyInCoa AS _GLAccount
;