Skip to content
NextLytics
Megamenü_2023_Über-uns

Shaping Business Intelligence

Whether clever add-on products for SAP BI, development of meaningful dashboards or implementation of AI-based applications - we shape the future of Business Intelligence together with you. 

Megamenü_2023_Über-uns_1

About us

As a partner with deep process know-how, knowledge of the latest SAP technologies as well as high social competence and many years of project experience, we shape the future of Business Intelligence in your company too.

Megamenü_2023_Methodik

Our Methodology

The mixture of classic waterfall model and agile methodology guarantees our projects a high level of efficiency and satisfaction on both sides. Learn more about our project approach.

Products
Megamenü_2023_NextTables

NextTables

Edit data in SAP BW out of the box: NextTables makes editing tables easier, faster and more intuitive, whether you use SAP BW on HANA, SAP S/4HANA or SAP BW 4/HANA.

Megamenü_2023_Connector

NextLytics Connectors

The increasing automation of processes requires the connectivity of IT systems. NextLytics Connectors allow you to connect your SAP ecosystem with various open-source technologies.

Business Analytics
Megamenü_2023_Procurement

Procurement Analytics

Transparent and valid figures are important, especially in companies with a decentralized structure. SAP Procurement Analytics allows you to evaluate SAP ERP data in SAP BI.

Megamenü_2023_Reporting

SAP HR Reporting & Analytics

With our standard model for reporting from SAP HCM with SAP BW, you accelerate business activities and make data from various systems available centrally and validly.

Megamenü_2023_Dataquality

Data Quality Management

In times of Big Data and IoT, maintaining high data quality is of the utmost importance. With our Data Quality Management (DQM) solution, you always keep the overview.

Career
Megamenü_2023_Karriere-2b

Working at NextLytics

If you would like to work with pleasure and don't want to miss out on your professional and personal development, we are the right choice for you!

Megamenü_2023_Karriere-1

Senior

Time for a change? Take your next professional step and work with us to shape innovation and growth in an exciting business environment!

Megamenü_2023_Karriere-5

Junior

Enough of grey theory - time to get to know the colourful reality! Start your working life with us and enjoy your work with interesting projects.

Megamenü_2023_Karriere-4-1

Students

You don't just want to study theory, but also want to experience it in practice? Check out theory and practice with us and experience where the differences are made.

Megamenü_2023_Karriere-3

Jobs

You can find all open vacancies here. Look around and submit your application - we look forward to it! If there is no matching position, please send us your unsolicited application.

Blog
NextLytics Newsletter
Subscribe for our monthly newsletter:
Sign up for newsletter
 

Agentic Planning with Analysis for Office

Agentic planning has long been on SAP's roadmap, and the road there is called Joule. Joule is at the core of SAP's Business AI strategy, and for planning it gets its own planning agents. One builds planning models, one writes the logic for data actions, and one uploads plan data. A further agent that runs simple planning cycles from a prompt is announced for later. SAP also shows how a planner describes in Joule, in their own words, what they want to change, and Joule writes the values into the plan version. As we reported in our post on the DSAG Annual Congress 2026, among others, the first agents are announced for the fourth quarter of 2026, with the caveat that plans may still change. All of them are built for SAP Analytics Cloud.

Yet a great many companies still plan in BW, on BW Integrated Planning or BPC Embedded, and these are often their largest and most business-critical plans. The daily work happens in Analysis for Office, in Excel. This world has no place in SAP's strategy for agentic planning. It is, however, the reality many planning teams work in today and will keep working in for years.

In April I introduced the bw-modeling-mcp here, an open source MCP server that lets an AI agent model directly in BW. It already takes a lot of work off the design time. Since version 1.8 in mid-October it builds a complete planning model, from the plan aDSO through the aggregation level and planning functions to the input-ready query, with the full scope that BW-IP offers.

But agentic planning is more than a model that gets built faster. It changes the way people plan. With agentic analytics I simply ask my data what I want to know. With agentic planning I say just as simply what I want to plan, even when it is a complex requirement with conditions. If energy costs rise by ten percent in the second half of the year, spread that across the plants by their consumption and show me what it means for the margin. Whole scenarios can be played through in a few sentences. That takes more than the model in BW, though. Planning happens in an Analysis for Office workbook, and that workbook has to be built first, with data sources, planning functions on buttons and VBA, so far by hand. And once the workbook exists, an AI assistant in Excel such as Claude in Excel or Microsoft Copilot can see the cells, but a plan value it writes into them does not simply reach BW.

This is the gap the afo-mcp closes. I released it this week as a second open source project on GitHub. It builds planning workbooks for AfO without anyone having to open Excel, and it equips them with an Agent Bridge. Through this bridge the AI assistant in Excel takes a real part in planning. It enters values, runs planning functions, works through scenarios and saves only after the planner's OK. Agentic planning therefore already runs today on BW/4HANA with standard Analysis for Office, in exactly the landscape you already have. No new product and no migration are needed.

Check out our blog series "Agentic AI meets SAP BW"

1. Agentic AI meets SAP BW
2. Agentic AI in Practice
3. Agentic Planning with AfO

Agentic Planning with Analysis for Office

Planning in BW, powerful and a lot of manual work

Anyone who has been part of a planning project in BW rarely measures it in days or weeks. Large planning solutions take months, some even years, before they are in place. BW Integrated Planning and BPC Embedded are a generic framework. Every plan is assembled from building blocks, from plan aDSOs, aggregation levels, filters, variables, characteristic relationships, data slices and planning functions of many types up to FOX and ABAP. Almost any requirement can be modelled this way, at the price of a complexity that, to be honest, can be fiddly at times. Anyone who works with it knows the questions, why a key figure is suddenly not input-ready or why the data looks odd after saving. Behind them is the interplay of input on an aggregated level with the delta records it creates, which have to respect characteristic relationships and data slices. The bottleneck is translating what the business means into these building blocks.

After that, the planner still needs a user interface, and in BW that is mostly Analysis for Office. Planners know Excel, and AfO brings BW queries with input readiness, planning functions and variables right into it. This workbook, too, is diligent work you can see coming, and it comes back with every change to the model.

From one sentence to a planning model with a finished workbook

Since version 1.8 the bw-modeling-mcp builds every object of a BW-IP plan, including planning functions with FOX, planning sequences, formula variables, hierarchies and conversion types. In our demo it starts with one sentence, we need a sales and price plan for 2027 by product, country and month. The agent reads the actuals model, proposes a design and, after my approval, builds the plan aDSO, CompositeProvider, aggregation level, variables, planning functions and queries. In under five minutes everything is active, created through the same interfaces the BW Modeling Tools in Eclipse use, and with a transport request like any other development.

The afo-mcp builds the matching workbook, offline and without Excel or a BW logon. It contains data sources with saved prompts, input-ready crosstabs, buttons for planning functions and sequences, filters and VBA. AfO opens it like a workbook built by hand. In the demo it has a parameter card for version and plan month, buttons to copy actuals, recalculate, save and discard, and KPI tiles above the crosstab. The afo-mcp also reads existing workbooks, shows which workbooks depend on a query, and carries all AfO elements over into a new layout. It is MIT licensed, contains no SAP code and works with what is in the files, because SAP has not documented the AfO format. The business decisions stay with people, the translation into objects and workbooks is done by the agent.


Get our presentation "Agentic Development with SAP BW"


Why AI assistants in Excel fail with AfO

AI assistants in Excel such as Claude in Excel or the integrations of other vendors work through Office.js, Microsoft's programming interface for Office add-ins, and use it to write cells. AfO, however, recognises input by Excel's change event, and Office.js does not fire it. The plan value is in the cell but never reaches BW. Excel filters on a crosstab are gone at the next refresh, and Office.js cannot run a planning function at all. The tricky part is that everything looks right in Excel.

Why an AI in Excel cannot work with AfO on its own

The Agent Bridge, hands in the workbook and knowledge in the AI

The afo-mcp equips every workbook with an Agent Bridge, a hidden sheet with a command cell and a VBA module that runs the commands as genuine AfO input and reports the result back. With it the AI can set values, copy actuals, run planning functions, save and discard, filter and change the drill-down, and use every function of the AfO API except the logon through a generic command. After every step the VBA module checks AfO's messages, so the agent sees whether AfO really accepted an input instead of just assuming it.

How the agent works with it is described in a skill, a set of instructions you give the AI assistant once. It makes sure the assistant asks before saving, does not guess technical names and offers to add a missing bridge. The bridge is not tied to a particular vendor, any AI that works with Excel through Office.js can learn the commands from the help on the bridge sheet. I tested it with Claude in Excel on BW/4HANA with AfO 2.8.

Who does what, design time with both MCP servers, run time with Agent Bridge and skill in Excel

Making existing workbooks agentic, the closed loop

Most companies already have plenty of planning workbooks in BW and do not want to rebuild their existing solutions from scratch. Since version 1.9 the bw-modeling-mcp lists the AfO workbooks stored in BW together with their where-used list. It loads a workbook without disturbing anyone who is working in it, and saves it back to BW, directly into a role menu if you like.

Together with the afo-mcp this makes a closed loop. The agent loads an existing workbook from BW, reads it and improves it, for example by adding the Agent Bridge or putting an additional planning function on a button. The afo-mcp extends existing event handlers instead of replacing them, and it leaves signed VBA projects alone. Then the workbook goes back into the same role. The next morning the planners open their familiar workbook and plan in it with an agent, without a new tool and without a migration.

The agent sees more than the cells

What matters is what the agent sees. With the afo-mcp and the bw-modeling-mcp an AI assistant in Excel sees three levels. The first is the displayed cells, where a collapsed hierarchy node or a filtered characteristic simply does not appear. The second is the data source behind the crosstab, with the unsaved plan values of the session. The third is the whole BW model through the bw-modeling-mcp as a connector, with prior years, master data, hierarchies and the logic of the planning functions, always within the planner's authorisations. If you say prices should hold the contribution margin of the last twelve months, you get an answer, even though that figure is nowhere on the planning sheet.

The AI in Excel sees more than the cells

Our Conclusion: Agentic Planning as a benchmark for SAP's planning agents

SAP no longer develops AfO further, but guarantees support until at least 2031. That you can now plan with agents in it, on standard interfaces and as open source, adds enormous value to the existing landscape. And it sets a benchmark for the Joule planning agents. In my view four points decide.

  • What the agent sees. In SAP's own planning demo, Joule addresses the cells of the story table by their coordinates, which corresponds to the first of the three levels. What lies below a collapsed hierarchy node, which plan values are still unsaved or what the prior year looked like stays hidden from such an agent. Good planning proposals need exactly this view behind the table.
  • Whether it really takes over the design time, also for complex requirements.
  • Whether it can reach your own context such as knowledge repositories and conventions.
  • What it costs. SAP has not yet named prices for the premium features in Joule.

Anyone who wants to defend their position in planning therefore has to take agentic planning seriously. Planners need new ways to play through scenarios, bring in the context that matters for their plan and plan driver-based. What already works today in the supposed legacy world of BW and AfO shows how far this can go.

If you plan in BW with SAC as the front end, you can take the same route. My colleague Rafael Sachs released the SAC Workbench MCP as open source last week and introduced it in his blog post.The bw-modeling-mcp builds the back end, the SAC Workbench MCP the front end. More posts on this will follow.

You can find the MCP servers on GitHub, the afo-mcp at github.com/dnic-dev/afo-mcp, the bw-modeling-mcp at github.com/dnic-dev/bw-modeling-mcp and the SAC Workbench MCP at github.com/RafaelSachsNL/sac-workbench-mcp. Would you like to find out what agentic planning can do for your planning in BW? Talk to us, we will support you from the first prototype to use in your planning round.

FAQ - Agentic Planning with Analysis for Office

Here you will find some of the most frequently asked questions about Agentic Planning with Analysis for Office.

What is agentic planning? With agentic planning an AI agent takes part in the planning process instead of just answering questions. The planner describes in their own words what they want to plan, including complex requirements with conditions, such as a cost increase that should be spread across plants by consumption, with its effect on the margin shown. The agent turns this into valid plan input, runs planning functions, works through scenarios and takes prior years, master data and the logic of the planning model into account. Nothing is saved until the planner gives the OK. Just as agentic analytics changes how we ask our data, agentic planning changes the way we plan.
Does agentic planning work with SAP BW and Analysis for Office? Yes. With the bw-modeling-mcp, the afo-mcp and the Agent Bridge, agentic planning runs on BW/4HANA with BW Integrated Planning and standard Analysis for Office. It is tested with AfO 2.8.
Why can't an AI assistant in Excel plan in AfO directly? AI assistants in Excel write cells through Office.js. This does not fire Excel's change event, which is how AfO recognises input. The value is in the cell but never reaches BW.
What is the Agent Bridge? A hidden sheet with a command cell and a VBA module that the afo-mcp builds into a workbook. It runs the AI's commands as genuine AfO input, calls the AfO API and reports whether AfO accepted the step.
Which AI can use the Agent Bridge? Any AI that works with Excel through Office.js. The commands are described in a help on the bridge sheet. The bridge is tested with Claude in Excel.
Can existing AfO workbooks be retrofitted? Yes. The bw-modeling-mcp loads workbooks from BW, the afo-mcp adds the bridge, and the workbook goes back into the same role. Existing event handlers are kept, signed VBA projects are left alone.
What do the afo-mcp and the bw-modeling-mcp cost? Both are open source under the MIT licence and freely available on GitHub. The AI assistant in Excel is subject to its vendor's licence terms.
How does this differ from the Joule planning agents? The Joule planning agents are announced for SAP Analytics Cloud. The approach shown here already runs today on existing BW planning with Analysis for Office.

,

avatar

David

David has 13 years of experience as an SAP consultant in the areas of SAP Data & Analytics and the energy industry. His expertise includes customer support and consulting as well as IT conception, architecture and development of SAP solutions. He is particularly specialized in SAP Planning (BPC and SAP Analytics Cloud), SAP BW/4HANA and SAP Datasphere. In his spare time, David enjoys freediving and is an enthusiastic home barista.

Got a question about this blog?
Ask David

Agentic Planning with Analysis for Office
11:39

Blog - NextLytics AG 

Welcome to our blog. In this section we regularly report on news and background information on topics such as SAP Business Intelligence (BI), SAP Dashboarding with Lumira Designer or SAP Analytics Cloud, Machine Learning with SAP BW, Data Science and Planning with SAP Business Planning and Consolidation (BPC), SAP Integrated Planning (IP) and SAC Planning and much more.

Subscribe to our newsletter

Related Posts

Recent Posts