I_FinStmntBalShtIncStmntC
Balance Sheet Income Statement - Cube
I_FinStmntBalShtIncStmntC is a Composite CDS View (Cube) that provides data about "Balance Sheet Income Statement - Cube" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 126 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 12 associations to related views. Part of development package FIN_GL_FS_REVIEW_BOOKLET.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | I_GLAccountLineItem | from |
Parameters (14)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydatum | |
| P_GLAccountHierarchyKeyDate | fis_glaccthier_keydate | |
| P_FinancialStatementHierarchy | hryid | |
| P_FromFiscalPeriod | fis_period_from | |
| P_ToFiscalPeriod | fis_period_to | |
| P_LedgerFiscalYear | fis_gjahr_no_conv | |
| P_FromComparisonFiscalPeriod | fis_period_from_cmp | |
| P_ToComparisonFiscalPeriod | fis_period_to_cmp | |
| P_ComparisonLedgerFiscalYear | fis_gjahr_cmp_no_conv | |
| P_Ledger | fins_ledger | |
| P_ComparisonLedger | fis_ledger_cmp | |
| P_CurrencyRole | fis_curtp | |
| P_PlanningCategory | fcom_category | |
| P_FinancialStatementSection | bsis_section |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_JournalEntryItem | _Extension | $projection.SourceLedger = _Extension.SourceLedger and $projection.CompanyCode = _Extension.CompanyCode and $projection.FiscalYear = _Extension.FiscalYear and $projection.AccountingDocument = _Extension.AccountingDocument and $projection.LedgerGLLineItem = _Extension.LedgerGLLineItem |
| [0..1] | I_FinancialStatementLeafItem | _FinancialStatementLeafItem | $projection.FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem |
| [1..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..1] | I_ChartOfAccounts | _CorpGroupChartOfAccounts | $projection.CorporateGroupChartOfAccounts = _CorpGroupChartOfAccounts.ChartOfAccounts |
| [0..1] | I_GLAccountInChartOfAccounts | _CorporateGroupAccount | $projection.CorporateGroupChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts and $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount |
| [0..1] | I_GLAccountInChartOfAccounts | _AlternativeGLAccount | $projection.CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts and $projection.AlternativeGLAccount = _AlternativeGLAccount.GLAccount |
| [0..1] | I_Indicator | _ZeroBalAccountIsDisplayed | $projection.ZeroBalanceAccountIsDisplayed = _ZeroBalAccountIsDisplayed.IndicatorValue |
| [0..1] | I_Indicator | _YrEndClsgPostingIsDisplayed | $projection.YrEndClsgPostingIsDisplayed = _YrEndClsgPostingIsDisplayed.IndicatorValue |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.NettingPartnerNumber = _BusinessPartner.BusinessPartner |
| [0..1] | I_ChartOfAccounts | _ChartOfAccountsFSItem | $projection.BalShtIncStmntItmChtOfAccts = _ChartOfAccountsFSItem.ChartOfAccounts |
| [0..1] | I_BalShtIncStmntItemSuffix | _Suffix | $projection.BalShtIncStatementItemSuffix = _Suffix.BalShtIncStatementItemSuffix |
| [0..1] | I_BalShtIncomeStatementItem | _FSItem | $projection.BalSheetIncomeStatementItem = _FSItem.BalSheetIncomeStatementItem and $projection.BalShtIncStmntItmChtOfAccts = _FSItem.ChartOfAccounts and $projection.BalShtIncStatementItemSuffix = _FSItem.BalShtIncStatementItemSuffix |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.dataCategory | #CUBE | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Balance Sheet Income Statement - Cube | view | |
| Analytics.readClassName | cl_fis_fins_stmnt_bsis_cds | view | |
| Analytics.intentBasedNavigation.filterMapper | CL_FIS_FS_BSIS_IBN_EXIT | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view |
Fields (126)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger | |
| _Ledger | _Ledger | |||
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| _SourceLedger | _SourceLedger | |||
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| _CompanyCode | _CompanyCode | |||
| KEY | FiscalYear | G/L Fiscal Year | ||
| _FiscalYear | _FiscalYear | |||
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| _JournalEntry | _JournalEntry | |||
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| LedgerFiscalYear | LedgerFiscalYear | |||
| _LedgerFiscalYear | _LedgerFiscalYear | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| _ControllingArea | _ControllingArea | |||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| _ChartOfAccounts | _ChartOfAccounts | |||
| BalShtIncStmntItmChtOfAccts | ChartOfAccounts | Node Class | ||
| _ChartOfAccountsFSItem | _ChartOfAccountsFSItem | |||
| GLAccount | GLAccount | General Ledger | ||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| FinancialStatementLeafItem | Financial Statement Leaf Item | |||
| _FinancialStatementLeafItem | _FinancialStatementLeafItem | |||
| BalShtIncStatementItemSuffix | ||||
| _Suffix | _Suffix | |||
| BalSheetIncomeStatementItem | General Ledger | |||
| _FSItem | _FSItem | |||
| ProfitCenter | ProfitCenter | Profit Center | ||
| _ProfitCenter | _ProfitCenter | |||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| _FunctionalArea | _FunctionalArea | |||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| _FiscalPeriod | _FiscalPeriod | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| _FiscalYearVariant | _FiscalYearVariant | |||
| AlternativeGLAccount | _GLAccountInCompanyCode | AlternativeGLAccount | Group Account | |
| _AlternativeGLAccount | _AlternativeGLAccount | |||
| CountryChartOfAccounts | _CompanyCode | CountryChartOfAccounts | Chart of Accts | |
| _CountryChartOfAccounts | _CompanyCode | _CountryChartOfAccounts | ||
| Segment | Segment | Segment number | ||
| _Segment | _Segment | |||
| CorporateGroupAccount | _GLAccountInChartOfAccounts | CorporateGroupAccount | Group Account Number | |
| _CorporateGroupAccount | _CorporateGroupAccount | |||
| CorporateGroupChartOfAccounts | _ChartOfAccounts | CorporateGroupChartOfAccounts | Group ChtAccts | |
| _CorpGroupChartOfAccounts | _CorpGroupChartOfAccounts | |||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| _AccountingDocumentType | _AccountingDocumentType | |||
| ProductGroup | ProductGroup | Product Sold Group | ||
| _ProductGroup_2 | _ProductGroup_2 | |||
| Product | Product | Product Sold | ||
| _Product | _Product | |||
| CostCenter | CostCenter | Cost Center | ||
| _CostCenter | _CostCenter | |||
| AssetClass | AssetClass | Asset Class | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| _MasterFixedAsset | _MasterFixedAsset | |||
| SoldProduct | SoldProduct | Product Sold | ||
| _SoldProduct | _SoldProduct | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| _GlobalCurrency | _GlobalCurrency | |||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| _FreeDefinedCurrency1 | _FreeDefinedCurrency1 | |||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| _FreeDefinedCurrency2 | _FreeDefinedCurrency2 | |||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| _FreeDefinedCurrency3 | _FreeDefinedCurrency3 | |||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| _FreeDefinedCurrency4 | _FreeDefinedCurrency4 | |||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| _FreeDefinedCurrency5 | _FreeDefinedCurrency5 | |||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| _FreeDefinedCurrency6 | _FreeDefinedCurrency6 | |||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| _FreeDefinedCurrency7 | _FreeDefinedCurrency7 | |||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| _FreeDefinedCurrency8 | _FreeDefinedCurrency8 | |||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| Currency | Local Currency | |||
| _Currency | _Currency | |||
| PeriodBalanceAmount | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| ComparisonPeriodBalanceAmount | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| ZeroBalanceAccountIsDisplayed | ||||
| _ZeroBalAccountIsDisplayed | _ZeroBalAccountIsDisplayed | |||
| YrEndClsgPostingIsDisplayed | ||||
| _YrEndClsgPostingIsDisplayed | _YrEndClsgPostingIsDisplayed | |||
| GLRecordType | GLRecordType | Record Type | ||
| BusinessTransactionCategory | BusinessTransactionCategory | Business Transaction Category | ||
| _BusinessTransactionCategory | _BusinessTransactionCategory | |||
| HierarchyNodeVal | General Ledger | |||
| GLAccountType | _GLAccountInChartOfAccounts | GLAccountType | G/L Account Type | |
| HouseBank | HouseBank | House Bank | ||
| _HouseBank | _HouseBank | |||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| _HouseBankAccount | _HouseBankAccount | |||
| NettingPartnerNumber | ||||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| Customer | Customer | Sold-to Party | ||
| _Customer | _Customer | |||
| OrderID | OrderID | Order ID | ||
| _Order | _Order | |||
| SalesDocument | SalesDocument | SD Document | ||
| _SalesDocument | _SalesDocument | |||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| _ServiceDocument | _ServiceDocument | |||
| Supplier | Supplier | Supplier | ||
| _Supplier | _Supplier | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| _BusinessPartner | _BusinessPartner |
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_FinStmntBalShtIncStmntC.
-- 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.
-- Parameters: P_KeyDate : sydatum, P_GLAccountHierarchyKeyDate : fis_glaccthier_keydate, P_FinancialStatementHierarchy : hryid, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to, P_LedgerFiscalYear : fis_gjahr_no_conv, P_FromComparisonFiscalPeriod : fis_period_from_cmp, P_ToComparisonFiscalPeriod : fis_period_to_cmp, P_ComparisonLedgerFiscalYear : fis_gjahr_cmp_no_conv, P_Ledger : fins_ledger, P_ComparisonLedger : fis_ledger_cmp, P_CurrencyRole : fis_curtp, P_PlanningCategory : fcom_category, P_FinancialStatementSection : bsis_section
CREATE VIEW I_FinStmntBalShtIncStmntC AS
SELECT
Ledger,
SourceLedger,
CompanyCode,
cast( FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear,
AccountingDocument,
LedgerGLLineItem,
LedgerFiscalYear,
ControllingArea,
ChartOfAccounts,
ChartOfAccounts AS BalShtIncStmntItmChtOfAccts,
GLAccount,
cast(concat(ChartOfAccounts,concat(GLAccount,'0A')) as fins_fsleafit) AS FinancialStatementLeafItem,
cast( '0A' as bsis_item_suffix ) AS BalShtIncStatementItemSuffix,
cast(GLAccount as bsis_item) AS BalSheetIncomeStatementItem,
ProfitCenter,
FunctionalArea,
FiscalPeriod,
FiscalYearVariant,
_GLAccountInCompanyCode.AlternativeGLAccount AS AlternativeGLAccount,
_CompanyCode.CountryChartOfAccounts AS CountryChartOfAccounts,
_CompanyCode._CountryChartOfAccounts AS _CountryChartOfAccounts,
Segment,
_GLAccountInChartOfAccounts.CorporateGroupAccount AS CorporateGroupAccount,
_ChartOfAccounts.CorporateGroupChartOfAccounts AS CorporateGroupChartOfAccounts,
AccountingDocumentType,
ProductGroup,
Product,
CostCenter,
AssetClass,
MasterFixedAsset,
SoldProduct,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
GlobalCurrency,
AmountInGlobalCurrency,
FreeDefinedCurrency1,
AmountInFreeDefinedCurrency1,
FreeDefinedCurrency2,
AmountInFreeDefinedCurrency2,
FreeDefinedCurrency3,
AmountInFreeDefinedCurrency3,
FreeDefinedCurrency4,
AmountInFreeDefinedCurrency4,
FreeDefinedCurrency5,
AmountInFreeDefinedCurrency5,
FreeDefinedCurrency6,
AmountInFreeDefinedCurrency6,
FreeDefinedCurrency7,
AmountInFreeDefinedCurrency7,
FreeDefinedCurrency8,
AmountInFreeDefinedCurrency8,
cast (CompanyCodeCurrency as fis_waers) AS Currency,
AmountInCompanyCodeCurrency AS PeriodBalanceAmount,
AmountInCompanyCodeCurrency AS ComparisonPeriodBalanceAmount,
cast( ' ' as fis_zerobalance preserving type ) AS ZeroBalanceAccountIsDisplayed,
cast( ' ' as fis_inclyearendpostings preserving type ) AS YrEndClsgPostingIsDisplayed,
GLRecordType,
BusinessTransactionCategory,
cast( GLAccount as nodevalue ) AS HierarchyNodeVal,
_GLAccountInChartOfAccounts.GLAccountType AS GLAccountType,
HouseBank,
HouseBankAccount,
cast( '' as bu_partner ) AS NettingPartnerNumber,
DistributionChannel,
FinancialAccountType,
OrganizationDivision,
SalesOrganization,
ValuationArea,
Customer,
OrderID,
SalesDocument,
ServiceDocument,
ServiceDocumentType,
Supplier,
PostingDate
FROM I_GLAccountLineItem
LEFT OUTER JOIN E_JournalEntryItem AS _Extension ON SourceLedger = _Extension.SourceLedger AND CompanyCode = _Extension.CompanyCode AND FiscalYear = _Extension.FiscalYear AND AccountingDocument = _Extension.AccountingDocument AND LedgerGLLineItem = _Extension.LedgerGLLineItem -- association [1..1]
LEFT OUTER JOIN I_FinancialStatementLeafItem AS _FinancialStatementLeafItem ON FinancialStatementLeafItem = _FinancialStatementLeafItem.FinancialStatementLeafItem -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _CorpGroupChartOfAccounts ON CorporateGroupChartOfAccounts = _CorpGroupChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _CorporateGroupAccount ON CorporateGroupChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts AND CorporateGroupAccount = _CorporateGroupAccount.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _AlternativeGLAccount ON CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts AND AlternativeGLAccount = _AlternativeGLAccount.GLAccount -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _ZeroBalAccountIsDisplayed ON ZeroBalanceAccountIsDisplayed = _ZeroBalAccountIsDisplayed.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _YrEndClsgPostingIsDisplayed ON YrEndClsgPostingIsDisplayed = _YrEndClsgPostingIsDisplayed.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON NettingPartnerNumber = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccountsFSItem ON BalShtIncStmntItmChtOfAccts = _ChartOfAccountsFSItem.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_BalShtIncStmntItemSuffix AS _Suffix ON BalShtIncStatementItemSuffix = _Suffix.BalShtIncStatementItemSuffix -- association [0..1]
LEFT OUTER JOIN I_BalShtIncomeStatementItem AS _FSItem ON BalSheetIncomeStatementItem = _FSItem.BalSheetIncomeStatementItem AND BalShtIncStmntItmChtOfAccts = _FSItem.ChartOfAccounts AND BalShtIncStatementItemSuffix = _FSItem.BalShtIncStatementItemSuffix -- association [0..1]
;
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