Case Study · Media & Publishing · SAP HANA + Predictive Analytics

Forecasting every newspaper, for every shop, in minutes instead of hours.

A forecasting and allocation platform built on SAP HANA for a leading UK national newspaper publisher. It predicts demand for 54,000 retailers each day, so fewer copies come back unsold while availability is maintained.

IndustryNational newspaper publishing
Scale~54,000 retailers, 2 national titles
PlatformSAP HANA, SLT, UI5
AnalyticsR forecasting, Python, Tableau
HostingAmazon Web Services
5.5%reduction in returned copies
~10×faster forecasting: 25 to 30 minutes, down from 4 to 5 hours
3.5 yrsof retailer sales history used, up from 6 weeks
54,000retailers, each with its own forecast
Real-timeretailer requests, instead of twice-daily loads
0spreadsheet uploads left in the process
The Challenge

Every unsold copy costs money, and every empty shelf costs a sale.

Each day, the publisher had to decide how many copies of each title to send to each of around 54,000 retailers. Send too many and the unsold papers come back as returns, which hurt margin. Send too few and sales are lost.

The forecasting system dated from 2005 and was out of support. It could use only six weeks of retailer history, took four to five hours per run, and offered only a few settings to adjust. Planners corrected the output in up to three complex spreadsheets and uploaded the results by hand. Retailer requests arrived only twice a day, the number of promotions was capped, and reports were slow and often out of date.

Before & After

From a once-a-day guess to a decision the team can test.

Before

Legacy forecasting system

  • 4 to 5 hours per forecast run, so one attempt a day
  • 6 weeks of retailer history, too little to pick up trends
  • Corrections made in spreadsheets and uploaded by hand
  • Retailer requests loaded twice a day
  • A cap on promotions; slow reports that were often out of date
After

SAP HANA forecasting platform

  • 25 to 30 minutes per run, so planners can try several scenarios a day
  • 3.5 years of history, so seasonality and trends are captured
  • Corrections made in purpose-built screens, with instant breakdown to each retailer
  • Retailer requests replicated in real time
  • No limit on promotions; live reports read directly from HANA
The Solution

Each technology does the job it does best.

The platform links SAP with open-source data science. SAP HANA holds the data and the business logic. Statistical models in R produce the forecast. Python runs those models in parallel so they finish fast. Planners review and adjust the results in SAP UI5 screens before the final print figures go back to SAP ECC.

SAP ECCSales, master data and retailer requests
→
SAP SLTReal-time replication in both directions
→
SAP HANAData, business logic and per-retailer breakdown
⇄
R + PythonModel training and forecasting, run in parallel
→
SAP UI550 screens for parameters, adjustments and promotions
→
Back to ECCFinal print and allocation figures

Tableau reports read live from HANA tables. All servers are hosted on Amazon Web Services.

What Changed for the Business

More control for planners, less work.

Scenarios, not guesswork

Because a forecast now runs in under half an hour, planners can change the settings, rerun it several times a day and choose the best result before allocating.

Built around the planner's day

13 screens for setting up forecasts and 37 for adjustments and promotions, all designed around how planners actually work. A change is broken down to all 54,000 retailers instantly.

Room for the unexpected

Planners can adjust demand by hand for one-off events and apply as many promotions as they need, with key figures recalculated in real time.

One live version of the truth

Reports are built directly on live HANA data, so forecasts, allocations and reports always match.

Ready to grow

Designed to add more titles and new forecasting factors without a rebuild, which the old system could not do without major effort.

Simpler testing

Data can be copied between systems for testing without a full system copy.

The Outcome

Fewer returns, with no loss of sales.

5.5% fewer returns

Fewer unsold copies, while meeting availability targets and protecting sales.

More accurate forecasts

Longer history, richer settings and several runs a day gave a sharper forecast.

Better availability

Higher availability from the same print run, because copies went where they would sell.

Our Founder's Role

Naveen Agarwal was part of the team that designed and delivered this platform, which brought SAP HANA together with open-source forecasting to solve a daily, high-volume business problem.

This engagement was delivered by Alviqo's founder in a previous role. Client and project details are withheld for confidentiality.

Let's Talk

Have a forecasting problem sitting next to SAP?

We can help you work out where predictive models can add real value alongside your SAP data, and build something your planners will actually use.

Discuss your use case → naveen@alviqotech.com