C_Fsvhierincoa
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)
| Source | Alias | Join Type |
|---|---|---|
| I_FsvHierarchyInCoa | _GLAccount | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu | |
| P_MaintenanceLanguage | spras | |
| P_FinancialStatementVariant | versn_011 | |
| P_ChartOfAccounts | ktopl | |
| P_GLAcctHierarchyNodeCategory | glacchiercateg |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA