C_CashFlowIndirectIFRS
Cash Flow Statement - Indirect Method for IFRS
C_CashFlowIndirectIFRS (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
C_CashFlowIndirectIFRS is a Consumption CDS View that provides data about "Cash Flow Statement - Indirect Method for IFRS" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItemSemTag) and exposes 64 fields with key fields GLAccountHierarchy, CompanyCode, LedgerFiscalYear, Ledger. Part of development package FINS_FI_SEM_TAG.
SAP Help Documentation
| Category | CDS Views for Transaction Data |
|---|---|
| Data Category | Query |
| Status | Released |
| Corresponding DataSource | 2CCFICSHFLINDIFRS |
This CDS view provides data for cash flow statements using the indirect method based on IFRS. It summarizes cash flow data from operating activities, investing activities, and financing activities to determine the net cash flow of the relevant company codes in the specified fiscal periods. 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 .
Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_FIN_BC_GL_REPORTING_PC ( General Ledger - Reporting ) All its contained restriction types must be set to read access. The restriction types are edited in the Maintain Business Roles app.
Structure
Parameters The parameters of the CDS view are as follows: From Fiscal Period To Fiscal Period Fields used for filtering The main filters are as follows: Financial Statement Version Company Code Ledger Fiscal Year Ledger Further important fields Important fields in this view include the following: Field Measure or Attribute Comment Cash Flow Statement Item Amounts in Company Code Currency Measure Amounts are retrieved or calculated based on the semantic tags assigned to the relevant G/L accounts or FS items.
SAP API Hub
| Category | Consumption |
|---|---|
| State | C1 |
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-GL-HIE-2CL |
| Capabilities | Analytical Query |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides data for cash flow statements using the indirect method based on IFRS. It summarizes cash flow data from operating activities, investing activities, and financing activities to determine the net cash flow of the relevant company codes in the specified fiscal periods.</p> <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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemSemTag | I_GLAccountLineItemSemTag | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FromFiscalPeriod | fins_fagl_fiscper_from | |
| P_ToFiscalPeriod | fins_fagl_fiscper_to |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CFICSHFLINDIFRS | view | |
| EndUserText.label | Cash Flow Statement - Indirect Method for IFRS | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GLAccountHierarchy | GLAccountHierarchy | Financial Statement Version | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | LedgerFiscalYear | LedgerFiscalYear | Fiscal Year of Ledger | |
| KEY | Ledger | Ledger | Ledger in General Ledger Accounting | |
| AssetAccountingKeyFigure | AssetAccountingKeyFigure | Key Figure for Asset Accounting | ||
| FiscalPeriod | FiscalPeriod | Fiscal Period | ||
| FiscalQuarter | FiscalQuarter | Fiscal Quarter | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| AssetTransactionType | AssetTransactionType | Asset Transaction Type | ||
| FinancialTransactionType | FinancialTransactionType | Financial Transaction Type | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| SemanticTag | SemanticTag | Semantic Tag of a Hierarchy Node | ||
| GLAccount | GLAccount | General Ledger | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| Segment | Segment | Segment for Segmental Reporting | ||
| BusinessArea | BusinessArea | Business Area | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Company Code Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Amount in Company Code Currency | ||
| CashFlowAmount | Cash Flow Statement (Indirect Method) | |||
| OperatingCashFlowAmount | Cash flow from Operating Activities | |||
| GLAcctNetIncomeAmtInCCCrcy | PnLResultAmtInCCCrcy | Profit for the period | ||
| IncomeAdjustmentAmount | Adjustments for income and expenses not involving cashflows | |||
| OpgTngblAssetDeprAmtInCCCrcy | Depreciation of property, plant and equipment | |||
| OpgIntngblAstAmtznAmtInCCCrcy | Amortization of intangible assets | |||
| OpgFxdAstRtrmtAmtInCCCrcy | Gain/Loss from fixed asset retirement | |||
| AssetLiabilityAmount | Changes in assets and liabilities | |||
| ProvisionAmtInCCCrcy | Increase (Decrease) of provisions | |||
| InventoryAmtInCCCrcy | Increase (Decrease) of inventories | |||
| AcctsRblAmtInCCCrcy | Increase (Decrease) in accounts receivables (net) | |||
| AcctsOthRblAmtInCCCrcy | Increase (Decrease) in other receivables (net) | |||
| AcctsPyblAmtInCCCrcy | AcctsPyblAmtInCCCrcy | Increase (Decrease) in Accounts Payable (Net) | ||
| AcctsOthPyblAmtInCCCrcy | AcctsOthPyblAmtInCCCrcy | Increase (Decrease) in Accounts Other Payables (Net) | ||
| OperatingActyCashAmtInCCCrcy | OperatingActyCashAmtInCCCrcy | Net cash generated from continuing operating activities | ||
| InvestingCashFlowAmount | Cash Flow from Investing Activities | |||
| FixedAssetAmount | Purchase (Sale) of fixed assets | |||
| TangibleAssetAmount | Obsolete: Purchase (Sale) of TngbleAsts | |||
| TangibleAstAmtInCCCrcy | Purchase (Sale) of tangible assets | |||
| TangibleAstDeprAmtInCCCrcy | TangibleAstDeprAmtInCCCrcy | Obsolete: Depreciation of TngbleAsts | ||
| IntangibleAssetAmount | Obsolete: Purchase (Sale) of IntngblAsts | |||
| IntangibleAstAmtInCCCrcy | Purchase (Sale) of intangible assets | |||
| IntngblAssetAmtznAmtInCCCrcy | IntngblAssetAmtznAmtInCCCrcy | Obsolete: Amortization of IntngblAsts | ||
| InvstgFxdAstRtrmtAmtInCCCrcy | FixedAssetRtrmtAmtInCCCrcy | Gain/Loss from retirement of fixed assets | ||
| LongTermInvmtAmtInCCCrcy | Increase (Decrease) in long-term investments | |||
| InvestingActyCashAmtInCCCrcy | InvestingActyCashAmtInCCCrcy | Net cash used in continuing investing activities | ||
| FinancingCashFlowAmount | Cash Flow from Financing Activities | |||
| CommonStockAmtInCCCrcy | CommonStockAmtInCCCrcy | Increase (Decrease) in common stocks | ||
| NotesReceivableAmtInCCCrcy | NotesReceivableAmtInCCCrcy | Increase (Decrease) in Notes Receivable | ||
| FinancingActyCashAmtInCCCrcy | FinancingActyCashAmtInCCCrcy | Net cash generated from financing activities | ||
| NetCashAmtInCCCrcy | NetCashAmtInCCCrcy | Net Cash Amount In CompanyCode Currency | ||
| CashAndCashEqvlntAmtInCCCrcy | CashAndCashEqvlntAmtInCCCrcy | Change (Increase/ Decrease) in cash and cash equivalents | ||
| CashValidationBalAmtInCCCrcy | 0 | Validation Balance | ||
| ChartOfAccounts | ChartOfAccounts | Chart of Accounts | ||
| FiscalYearVariant | FiscalYearVariant | Fiscal Year Variant | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _FiscalYear | _FiscalYear | |||
| _ProfitCenter | _ProfitCenter | |||
| _CostCenter | _CostCenter |
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_CashFlowIndirectIFRS.
-- 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: CFICSHFLINDIFRS
-- Parameters: P_FromFiscalPeriod : fins_fagl_fiscper_from, P_ToFiscalPeriod : fins_fagl_fiscper_to
CREATE VIEW C_CashFlowIndirectIFRS AS
SELECT
GLAccountHierarchy,
CompanyCode,
LedgerFiscalYear,
Ledger,
AssetAccountingKeyFigure,
FiscalPeriod,
FiscalQuarter,
DebitCreditCode,
AssetTransactionType,
FinancialTransactionType,
AccountingDocumentType,
SemanticTag,
GLAccount,
FunctionalArea,
CostCenter,
ProfitCenter,
AccountingDocument,
PostingDate,
Segment,
BusinessArea,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS CashFlowAmount,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS OperatingCashFlowAmount,
PnLResultAmtInCCCrcy AS GLAcctNetIncomeAmtInCCCrcy,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS IncomeAdjustmentAmount,
TangibleAstDeprAmtInCCCrcy * (-1) AS OpgTngblAssetDeprAmtInCCCrcy,
IntngblAssetAmtznAmtInCCCrcy * (-1) AS OpgIntngblAstAmtznAmtInCCCrcy,
FixedAssetRtrmtAmtInCCCrcy * (-1) AS OpgFxdAstRtrmtAmtInCCCrcy,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS AssetLiabilityAmount,
ProvisionAmtInCCCrcy * (-1) AS ProvisionAmtInCCCrcy,
InventoryAmtInCCCrcy * (-1) AS InventoryAmtInCCCrcy,
AcctsRblAmtInCCCrcy * (-1) AS AcctsRblAmtInCCCrcy,
AcctsOthRblAmtInCCCrcy * (-1) AS AcctsOthRblAmtInCCCrcy,
AcctsPyblAmtInCCCrcy,
AcctsOthPyblAmtInCCCrcy,
OperatingActyCashAmtInCCCrcy,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS InvestingCashFlowAmount,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS FixedAssetAmount,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS TangibleAssetAmount,
TangibleAstAmtInCCCrcy* (-1) AS TangibleAstAmtInCCCrcy,
TangibleAstDeprAmtInCCCrcy,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS IntangibleAssetAmount,
IntangibleAstAmtInCCCrcy * (-1) AS IntangibleAstAmtInCCCrcy,
IntngblAssetAmtznAmtInCCCrcy,
FixedAssetRtrmtAmtInCCCrcy AS InvstgFxdAstRtrmtAmtInCCCrcy,
LongTermInvmtAmtInCCCrcy * (-1) AS LongTermInvmtAmtInCCCrcy,
InvestingActyCashAmtInCCCrcy,
case when SemanticTag = '*' then AmountInCompanyCodeCurrency else 0 end AS FinancingCashFlowAmount,
CommonStockAmtInCCCrcy,
NotesReceivableAmtInCCCrcy,
FinancingActyCashAmtInCCCrcy,
NetCashAmtInCCCrcy,
CashAndCashEqvlntAmtInCCCrcy,
0 AS CashValidationBalAmtInCCCrcy,
ChartOfAccounts,
FiscalYearVariant,
FiscalYear,
ControllingArea
FROM I_GLAccountLineItemSemTag
;
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