All publications

Intelligent Finance & ReportingWhite paperby Dr. Dennis Weiser202622 min read

Forecasting financial KPIs with AI and machine learning

How data-driven models complement, safeguard and improve manual forecasts

Summary

Financial forecasts are the backbone of corporate planning and at the same time one of the most error-prone tasks in modern organisations. According to a Gartner survey, fewer than half of all companies have confidence in the accuracy of their own revenue forecasts [1]. More than 80 % regularly miss their own forecast targets [1]. The effort involved is considerable: FP&A teams spend up to 75 % of their working time on data collection and process management [2], leaving hardly any room for value-adding analysis.

Machine learning (ML) enables a fundamental change of perspective here: instead of replacing manual estimates with automation, AI can be used as a data-driven second opinion that acts as a safety net, relieving the business departments rather than displacing them.

This white paper shows how AI-supported forecasting systems work in practice, what results are available from real implementations and which strategic decisions companies need to make on the way to AI-supported financial forecasting. The core message is: a hybrid approach that combines human expertise with ML forecasts consistently delivers better results than either side on its own. Quantified project experience shows error reductions of 30 to 50 % compared with the status quo. These results are not a promise for the future; they have been measured in completed projects.

Terms in italics are explained in the glossary at the end of the white paper.

Why classic forecasting reaches its limits

In most companies, forecasting today follows a pattern that has been tried and tested for decades: business units and departments estimate their future revenue and costs on the basis of experience, past values and a qualitative assessment of the market environment. These forecasts are aggregated, checked for plausibility and finally transferred into reporting. They are therefore not only the basis for reports but, above all, the basis for budgeting, planning and corporate management.

The problem is not a lack of diligence but the structural limits of this approach. Human estimates are subject to well-known cognitive biases such as anchoring effects, over-optimism in growth phases or excessive caution after negative experiences [3]. These biases are hard to control and lead to systematic errors that often point in the same direction quarter after quarter. On top of this comes the lack of scalability: the more organisational units, products or markets a company comprises, the harder it becomes to produce all partial forecasts at consistent quality, and the more capacity is tied up in quality control and consistency checks. Classic statistical methods such as moving averages or linear regression can map simple trends, but they fail with non-linear relationships, interactions between variables and complex seasonality patterns [4]. Finally, there is no systematic early warning: traditional methods provide no proactive signals when a forecast is very likely to be wrong. Deviations only become visible once the actuals are available – and therefore too late for operational countermeasures.

The data confirms these structural limits. According to Gartner, only 45 % of companies have confidence in the accuracy of their revenue forecasts, and over 80 % of companies regularly miss their forecast targets [1]. 66 % of finance leaders see the most immediate benefit of modern AI tools in explaining deviations between forecast and actuals [2], which points to considerable potential for improvement. The market is thus clearly moving towards AI-supported planning [5], [6]. The decisive question is not whether companies make this transition, but how they shape it.

AI and machine learning in financial forecasting: how it works and the added value

The decisive difference between classic statistical methods and modern ML approaches lies in the ability to recognise patterns automatically across many variables. Whereas a moving average only ever learns from a single time series, an ML model can process information from dozens of variables at the same time – including historical revenue of other organisational units, seasonality signals, growth rates and structural indicators – and in doing so recognise non-linear relationships that no human analyst would explicitly formulate.

In practice, several model classes with different strengths have proven relevant for financial forecasting.

XGBoost (Extreme Gradient Boosting) is an ensemble method made up of gradient-boosted decision trees. It combines many simple decision rules into a powerful overall model. XGBoost's strengths lie in its high accuracy with tabular data, its interpretability through feature importance analyses and its robustness with small and medium-sized data sets. It typically needs at least one to two years of data history to deliver reliable forecasts and benefits considerably from well-designed feature engineering. Scientific comparative studies consistently show that XGBoost outperforms classic time-series methods such as ARIMA in complex scenarios [7], [4].

Foundation models for time series, including SAP's RPT-1 (Relational Pre-Trained Transformer) and Google's TimesFM [8], [9], represent a new generation of models pre-trained on large time-series corpora. These models can make zero-shot predictions, i.e. they can be applied directly to new data without elaborate model training. SAP-RPT-1 is designed specifically for structured ERP data and recognises patterns in business tables directly [8], [10]. For time series with strong seasonality and a sufficiently long history, RPT-1 can clearly outperform XGBoost, especially over longer forecast horizons, where error propagation in recursive models increases. With highly volatile, irregular time series, on the other hand, XGBoost shows its strengths.

Deep learning models such as the Temporal Fusion Transformer (TFT) or Temporal Convolutional Networks (TCN) can model particularly complex temporal dependencies. However, they require more data and computing resources and are harder to interpret, which limits their practical applicability in regulated corporate environments.

Baseline models such as the moving average and the last-year-same-month method (LYSM) are surprisingly competitive despite their simplicity. They serve as important benchmarks and, in some contexts – especially with stable, seasonal time series – deliver very good results. A key insight from practice is: complexity alone does not make a model better. When simple baselines beat complicated statistical methods, that is an important signal about the structure of the data.

A counter-intuitive insight, but one confirmed in several implementations, is that the statistical signature of a time series – not the complexity of the model used – has the greatest influence on the forecast accuracy that can be achieved.

Time series with pronounced annual seasonality, low volatility and no significant structural breaks are considerably easier to forecast than volatile, aperiodic series. ML models deliver their maximum added value where there are seasonal patterns they can learn. With irregular time series showing negative trends and structural breaks, by contrast, the business department often keeps the upper hand, because qualitative information and strategic knowledge are decisive here – and no model can capture these on its own.

This insight has direct consequences for the model strategy: a unit- or segment-specific approach that selects different models for different time series is regularly superior to a uniform approach.

Regardless of the model class chosen, assessing the quality of forecasting models requires particular care. Randomly splitting the data into training and test sets, as is common in ML projects, is unsuitable for time series because the model would then learn from the future. Robust results come from time-series-aware cross-validation, in which the training window is extended step by step and testing is carried out exclusively on subsequent periods [4]; the project results presented in this white paper were validated according to this principle. The MAPE (mean absolute percentage error) has proven itself as the primary error metric, as it measures percentage deviations and thus allows fair comparisons between units of different sizes.

The safety-net approach: concept, mechanics and benefits

The safety-net approach does not replace the business department; instead, it provides a systematic safeguard against its outliers. The basic principle is simple: an ML model produces its own forecast in parallel to the department, and the two forecasts are compared. If they differ significantly, an automatic alert is generated – a signal that calls for a review before the actuals are available.

This approach addresses one of the most important weaknesses in the forecasting process: recognising problematic forecasts before the end of the reporting period. In classic planning, deviations only become visible once they have already occurred. The safety-net system enables proactive intervention.

A decisive property of the method is that the alert can be calculated entirely ex ante. All that is needed are the two forecasts from the business department and the ML model; the actual values are not yet known at this point.

The alerting system calculates the relative divergence between the business department's forecast and the ML forecast:

Alert trigger: If |department forecast − ML forecast| / actuals base > threshold → alert

The actuals base is a reference actual value of the respective KPI that is already known at the time of the forecast – for example the value for the prior-year period – which normalises the divergence to a realistic order of magnitude; the ex-ante calculability is thus preserved. In practice, thresholds in the range of 15–20 % have proven effective. A fundamental trade-off applies: lower thresholds generate more signals with lower precision, while higher thresholds produce fewer but more reliable alerts.

In the event of divergence, the system does not automatically raise the alarm but triggers a review process: the responsible department is asked to critically examine its forecast and revise it if necessary. The final decision-making authority remains with people; the ML model provides an impulse, not a directive.

The particular strength of the safety-net approach is that it is most effective precisely when it is most urgently needed: in cases where the department's forecast deviates significantly from the actual value.

Project experience shows: in around 37 % of the quarterly comparisons analysed, the departments' forecasts were significantly off the actual value, by more than 10 percentage points. The average error in these critical cases was over 21 %. In these situations, ML models would have reduced the error by an average of 11.6 percentage points to around 9.5 %, with a win rate of 91 %. The safety-net approach therefore delivers maximum added value exactly where the human forecast is most vulnerable.

Choosing the alert threshold is not a purely technical decision; it reflects the company's specific risk appetite and its capacity for forecast reviews. Project experience provides the following points of reference:

ThresholdTypical signal rateAlert hit rate
> 5 % divergence~80 % of comparisons~44–50 %
> 10 % divergence~50 % of comparisons~61–64 %
> 15 % divergence~23 % of comparisons~71 %
> 20 % divergence~10 % of comparisons~50–100 %

In practice, a threshold of 15 % is often a good compromise: it identifies a relevant share of critical cases with a hit rate of around 71 % without overloading the review process with too many signals.

The safety-net approach has a further, often underestimated advantage: it lowers the acceptance hurdle considerably. Instead of confronting departments with the claim that AI will replace their forecasts, a tool is introduced that safeguards them. This builds trust and is often the first step towards a deeper, hybrid integration of ML into the planning process.

Practical experience and results

Completed implementations regularly show a similar starting point: companies with several organisational units, different market characteristics and a manual planning process that has grown over time are looking for a verifiable, scalable addition to their forecasting process.

The data basis typically comprises several years of time-series data from ERP systems, supplemented by sales and contract data. The departments' forecasts serve as the benchmark.

In a proof of concept with four organisational units and a data period of five years, an XGBoost model achieved a MAPE of 8.5 % across all units, compared with a departmental MAPE of around 14.4 %. This corresponds to a relative error reduction of about 41 %. It is notable that the ML model avoided the extreme outliers that regularly occurred in the manual forecast: where the department produced peaks of over 40 % deviation, the model consistently stayed below 20 %. As expected, accuracy varied by organisational unit (5.5 % to 12.3 % MAPE), which underlines the importance of cross-unit cross-validation.

When moving from PoC scenarios to broader regional or divisional portfolios (with five or more reporting units, more complex M&A histories and an extended planning horizon) the basic patterns from smaller implementations are confirmed, but new complexities are added.

Both model types in use, XGBoost and foundation models, outperform the department on overall average: the foundation model achieves a MAPE of around 9.1 % and XGBoost a MAPE of around 9.5 %, while the department is at around 10.3 %. This superiority has been validated over 30 quarterly comparisons on a strictly fair information basis; at no point did the ML model have access to information that was not also available to the department.

What emerges are complementary strengths rather than universal dominance, as no single model wins in every constellation: foundation models dominate for strongly seasonal units with a regular historical structure, while XGBoost shows relative strength with irregular time series and later planning horizons (Q3, Q4). The department is superior to the model forecast when strategic information is available – such as realignments, major projects or market shifts – that is not yet visible in the data.

As the planning horizon grows, the models degrade, but in a structured way: over longer horizons (months 9–12), the MAPE of both models rises to 13–16 %. This behaviour is to be expected, as recursive forecasts accumulate errors. What matters is that foundation models degrade more evenly and show a lower worst-case risk than XGBoost at extreme horizons.

ML-based forecasting of IFRS figures at line-item level – a considerably more complex task than aggregated revenue forecasts – shows a similar picture with greater dispersion.

In one implementation with data from several countries and seven years of history, four modelling approaches were compared. XGBoost achieved the best result with an error of around 25.7 %, compared with the SAP baseline forecast at around 78.5 % deviation. The discrepancy with revenue forecasting is explained by the inherently higher volatility at line-item level: special effects, depreciation, extraordinary expenses and internal transfer prices follow no stable pattern.

Two insights are particularly significant in practice. First, the size of a line item determines how predictable it is: medium-sized line items are the most predictable, because very small items are volatile and irregular, while very large positions often involve one-off events that no model can anticipate. Second, forecast quality differs by category: personnel costs and depreciation, which are by nature more stable and rule-based, can be forecast considerably more accurately than revenue-driven or tax-driven positions. This insight is a good starting point for prioritisation, because with the right scope, AI can deliver significant added value early on.

Recommendations

The most effective first step is rarely the complete ML forecasting system, but rather the alert system as a safety net. This entry strategy has three key advantages. First, it enables rapid value creation, as an alert system can be productive within a few weeks without a complete MLOps infrastructure having to be built. Second, it promotes acceptance, because departments are supported by a system rather than replaced by it, which considerably reduces resistance. Third, it supports iterative improvement: the alert system continuously generates feedback on which alerts were justified and where the model was wrong. This information continuously improves the model and gradually enables deeper integration.

The medium-term level of maturity is the hybrid forecast model (ensemble): the department's forecast and the ML forecast are combined as a weighted average. Empirical validation makes it possible to determine the optimal weighting for each unit and each horizon. The combined model generally outperforms both individual forecasts.

This approach also enables the systematic integration of domain knowledge: if the department knows about a planned acquisition, a strategic realignment or an expected major order, this knowledge is reflected in its forecast and flows into the overall system via the ensemble weighting.

As an alternative to the full ensemble, the department can forgo its own overall forecast and instead contribute only the effects that the model cannot know about: the model forecasts the baseline of the ongoing business, and quantified one-off effects are layered on top as a separately reported overlay with amount and timing. Once the effect has occurred, retraining anchors the new level in the model.

There is no blanket answer to the question of which model is suitable; the right answer depends on the statistical nature of the target time series:

Time-series characteristicsRecommendation
Strong seasonality, low volatility, long historyPrefer foundation models (e.g. SAP RPT-1)
Moderate seasonality, cross-unit effects, sufficient dataXGBoost with feature engineering
Short history, little training dataFoundation models (zero-shot)
High volatility, no recognisable seasonalityXGBoost and/or departmental forecast dominant
Negative trend + structural breakDepartment leads, ML as a corrective

A unit-specific model strategy that selects the most suitable model for each unit is consistently superior to a one-size-fits-all solution.

ML models are not static systems. Changes in the business environment, new market dynamics or M&A activities can impair their forecast quality. Effective monitoring comprises monthly MAPE tracking with an automated comparison of model forecast and actual value for each unit, quarterly retraining to incorporate new actuals into the training data, and anomaly detection that triggers automatically when model performance deviates significantly from historical benchmarks [3]. The cycle of forecast, comparison with actuals, feedback and model adjustment is the foundation for continuous improvement and an important argument for organisational embedding rather than a one-off implementation.

Example architecture: integration into the SAP landscape

User
Application clientsMobile/desktop

SAP on-premise · optional

HANA
Export Job
HTTPS

SAP BTP

Subaccount

Reporting Layer

Analytics Cloud

AI Layer

AI Launchpad
AI Core

Data Layer

Datasphere
HANA Cloud
Figure 1: Example architecture for ML forecast-based reporting with an optional connection to an on-premises system.

For companies with an SAP-centric system landscape, the approach described can be implemented entirely within the SAP ecosystem. A proven reference architecture consists of three layers: a harmonised data basis, a model layer for training and inference, and the return of the results to the planning process.

The data basis is formed by SAP Datasphere or the SAP Business Data Cloud: actuals from S/4HANA are provided via CDS views or preconfigured data products, without the need to build redundant extraction pipelines. Companies that have not yet migrated to S/4HANA Cloud can optionally connect their existing on-premises systems, e.g. via the standard connectors of SAP Datasphere; the other layers of the architecture remain unaffected. M&A harmonisation and the preparation of the time series also take place in this layer. The model layer runs on SAP AI Core, the BTP service for the standardised operation of ML workloads [11]: custom models such as XGBoost are operated there as containerised training and inference pipelines, while SAP-RPT-1 is provided as a foundation model hosted by SAP via the Generative AI Hub and called directly via API [8]; in this case, no model training of your own is needed. Deployment, versioning and monitoring of the models are handled centrally via SAP AI Launchpad.

The forecasts and alerts then flow back to where planning takes place: SAP Analytics Cloud displays the ML forecast, the departmental forecast and divergence alerts side by side and initiates the review process. The advantage of this architecture is that data, models and results remain within the existing SAP governance: permissions, data protection and auditability follow the established BTP mechanisms, and no parallel shadow infrastructure is created. For landscapes with significant non-SAP data sources or an existing data science platform, the model layer can alternatively be built in Databricks, which is connected via the SAP Business Data Cloud using Delta Sharing without redundant data copies. The conceptual structure of data basis, model layer and return flow remains unchanged.

Conclusion

AI-supported financial forecasting is not a technology of the future but a mature approach with demonstrable added value. The results from project implementations presented in this white paper consistently show: ML models reduce forecast errors by 30 to 50 % compared with manual forecasts, deliver more stable estimates across planning horizons and identify critical deviations before the actuals are available.

The decisive conceptual step is moving away from the replacement narrative towards the complementary narrative: ML forecasting is most effective not as competition for human expertise but as a data-driven corrective that takes effect precisely where human judgement is most vulnerable – namely with outliers, structural breaks and systematic biases.

The safety-net approach offers the most pragmatic way in: low implementation effort, high acceptance, measurable benefit from the first quarter. It is the first step on a path that can lead via hybrid ensemble models to fully automated planning support systems, depending on the maturity of the organisation and the quality of the available data. Each further level of automation requires that the data and retraining pipeline runs automatically, that forecast quality has been proven over several planning cycles and that tolerance thresholds and approval rules are clearly defined. Human judgement remains necessary even then; it merely shifts from producing forecasts to managing exceptions and assumptions.

If you would like to explore how the safety-net approach can be integrated into your specific system landscape – whether based on SAP AI Core, the SAP Business Data Cloud or an existing data science platform – we will be happy to support you: from assessing your data basis and scoping a pilot through to productive implementation. Please get in touch.

Glossary

Anchoring effect
Cognitive bias: a number seen first (e.g. the prior-year value or the budget) acts as an anchor and pulls one's own estimate towards it, even if a different level would objectively be appropriate.
ARIMA
Classic statistical time-series method that derives a forecast from past values and error terms of the same series. Often serves as a yardstick for ML models.
Baseline / benchmark
Simple reference model against which a more complex model is measured, such as the moving average or the same month of the previous year (LYSM). A model is only really good if it beats the baseline.
Cross-validation (time-series-aware)
Validation method in which the model is trained on certain periods and tested exclusively on subsequent periods. Prevents the model from using information from the future during evaluation.
Deep learning
Family of models based on multi-layer neural networks (e.g. TFT, TCN). Can capture very complex relationships but needs a lot of data and is harder to understand.
Ensemble method
Combination of many simple models into an overall model whose forecast is more stable than that of the individual models. XGBoost is an ensemble of decision trees.
Feature
Input variable of a model, i.e. a specific piece of information it learns from (e.g. revenue in the same month of the previous year, quarter indicator, growth rate).
Feature engineering
Translating raw data into meaningful features, such as prior-month and prior-year values (lag features), moving averages, calendar attributes and cross-unit indicators. A major driver of quality in classic ML models.
Feature importance
Analysis showing which features influence the forecast most strongly. It makes a model open to discussion from a business perspective, because it becomes visible what the model bases its output on.
Foundation model
Large model pre-trained on extensive data sets that can be applied to new tasks without training of its own. Examples for time series and tabular data are SAP-RPT-1 and Google TimesFM.
Gradient boosting
Learning method in which many simple models are trained one after the other, with each new model correcting the errors of its predecessors.
Hybrid forecast (ensemble weighting)
Combination of the departmental and the ML forecast into a weighted average. The weighting is determined empirically for each unit and forecast horizon.
Inference
Applying an already trained model to new data in order to produce a forecast, as opposed to training, which creates the model in the first place.
Machine learning (ML)
Branch of AI in which a model learns relationships independently from historical data instead of following predefined calculation rules.
MAPE (mean absolute percentage error)
Average percentage deviation between forecast and actual value. A MAPE of 9 % means that the forecast is, on average, 9 % off the actual value. Allows comparisons between units of different sizes.
MLOps
Operating practices for models in production: deployment, versioning, monitoring and regular retraining, the counterpart of classic IT operations for ML applications.
Forecast horizon
Time between the point of forecasting and the forecast period. As the horizon increases, accuracy systematically decreases.
Retraining
Training the model again with updated actuals, usually quarterly, so that it takes changes in business performance into account.
Seasonality
Regularly recurring pattern within a year, such as a strong fourth quarter. Clearly seasonal series are particularly easy for ML models to forecast.
Structural break
Permanent change in the course of the data caused by a one-off event such as an acquisition, a divestment or a reorganisation. Historical patterns lose their validity as a result.
Volatility
Extent to which a time series fluctuates around its trend. High volatility makes any forecast harder, regardless of the model used.
XGBoost
Widely used implementation of gradient boosting with decision trees. Considered particularly powerful for tabular business data and readily interpretable via feature importance.
Time series
Sequence of measurements of the same KPI over time, such as the monthly revenue of an organisational unit.
Zero-shot
Applying a pre-trained model to a new time series without training of its own. Enables forecasts even with a short data history.

References

  1. [1]Gartner (2020): Revenue Forecasting Confidence Survey: survey on forecast accuracy. Cited via FinQore https://www.finqore.com/perspectives/fpa-insights-accurate-revenue-forecasting
  2. [2]Gartner (2024): FP&A AI Adoption Survey: data on the use of AI in finance functions. Cited via the Jedox blog, among others https://www.jedox.com/de/blog/fpa-trends/
  3. [3]Haufe Finance Office Premium (2024): Machine Learning in der Finanzprognose: 18 Schlüssel zum Erfolg [Machine learning in financial forecasting: 18 keys to success]. https://www.haufe.de/id/beitrag/machine-learning-in-der-finanzprognose-18-schluessel-zum-erfolg-HI16479384.html
  4. [4]Arxiv / University of Bremen et al. (2024): Comparing statistical and machine learning methods for time series forecasting in data-driven logistics. https://arxiv.org/html/2303.07139v2
  5. [5]PwC Germany (2025): KI-Marktstudie im Finanzsektor [AI market study in the financial sector]. https://www.pwc.de/de/finanzdienstleistungen/pwc-studie-ki-im-finanzsektor-2025.pdf
  6. [6]Workday (2024): KI im Finanzwesen: Trends und Automatisierung 2024 [AI in finance: trends and automation 2024]. https://blog.workday.com/de-de/2023/die-zukunft-des-finanzsektors-automatisierung-machine-learning-und-die-trends-von-2024.html
  7. [7]Cengiz, M. A. / Türkoğlu, D. (2025): Time Series Forecasting of MSCI Indices with Machine Learning: Düzce Üniversitesi Bilim ve Teknoloji Dergisi, Vol. 13, No. 4. https://doaj.org/article/cbd28358b8da4dc0b4a5d64c05b2acad
  8. [8]SAP (2025): SAP-RPT-1 Relational Pre-Trained Transformer: product information. https://www.sap.com/products/artificial-intelligence/sap-rpt.html
  9. [9]SAP / The New Stack (2025): RPT-1: SAP Launches a Relational Foundation Model for the Enterprise. https://thenewstack.io/rpt-1-sap-launches-a-relational-foundation-model-for-the-enterprise/
  10. [10]ERPtoday (2026): SAP-RPT-1 Brings Tabular Foundation Models to Enterprise AI. https://erp.today/sap-rpt-1-brings-tabular-foundation-models-to-enterprise-ai/
  11. [11]SAP (2026): SAP AI Core: documentation. https://help.sap.com/docs/sap-ai-core

This white paper is based on ainovi's project experience. AI tools were used only in a supporting role in its preparation. ainovi bears professional responsibility for all content.

All results from project implementations are based on anonymised internal project data and serve to illustrate the content. ainovi will be happy to answer any specific questions.

Intelligent Finance & Reporting

Working on a similar topic?

Tell us what you are working on. We'll put you in touch with Dr. Dennis Weiser and the team working on this topic.

Send an enquiry

At least 20 characters.

Fields marked with * are required.