In the first part of our series we showed how Claude builds stories and dashboards in SAP Analytics Cloud through our SAC MCP server. This time it is about planning and a simple question: how quickly can you set up a planning model with planning actions and a matching story if you leave the work to an LLM? Once again, we worked with Claude.
Read our blog series:
| SAC MCP: a planning application in under 5 minutes | |
|---|---|
| Part 1 | Controlling SAP Analytics Cloud with Claude - a home-built MCP server |
| Part 2 | SAC Planning by Prompt in Under 5 Minutes (you are reading this article) |
Our goal was less than five minutes. The example is deliberately simple, a real planning project has more dimensions, more logic and a lot more alignment. But it shows very well how much potential there is in this approach.
Our demo is once again a fictional company from Cologne. After NextCookie, this time it is NextRoll, selling cinnamon rolls in five Cologne neighborhoods on both sides of the Rhine. The actuals up to October are in an Excel file. On top of that, we launch a new flavor in November.
Actuals of the fictional NextRoll in Excel
Seamless Planning in a nutshell
With Seamless Planning, SAP Analytics Cloud stores the data of a planning model directly in SAP Datasphere instead of in SAC itself. Plan and actual data sit in one place and can be reused there without replication. Model and dimensions are still created in SAC, only a space is chosen as the storage location. To make the data usable there as well, the model is additionally exposed in SAC.
How do you build an SAC planning model by prompt?
Step 1: From Excel to a planning model
"Create a planning model in Datasphere (space NL_GENERAL) from this Excel and load the actuals: […] Measures Revenue (EUR, 2 decimals) and Quantity (whole pieces), keep their names short, versions Actual, Plan and Forecast, years 2025 to 2027. From November we also launch the new flavor Dubai Chocolate. Save the model in My Files/MCP_TEST and name it NextRoll."
Claude reads the Excel file, creates the Seamless Planning model with the versions Actual, Plan and Forecast and builds the Left Bank and Right Bank hierarchy for the stores. The new flavor Dubai Chocolate is created right away, then Claude loads all 440 rows and checks the totals against the Excel file.
From Excel to the Seamless Planning model
Duration: approx. 2:00 minutes
Step 2: The planning story
"Build me a planning story "NextRoll Rolling Forecast" on the NextRoll model. Use the Horizon Template 3.0.0 with the Horizon theme, but keep only the header. Below the header I want an action bar to steer the planning: a version selector (Forecast / Plan) and buttons to publish and revert. Below that one planning table: revenue per store (Left Bank / Right Bank), 2026 by month – actuals up to October, forecast from November – plus 2027."
The story consists of a header, an action bar and exactly one planning table. The table shows 2026 by month, with actuals up to October and forecast from November, and 2027 can be expanded into quarters with one click.
How an LLM builds stories through the MCP server and what matters along the way is covered in detail in our last blog post.
Duration: approx. 1:00 minute, creating it in SAC itself takes a super fast 19 seconds
Step 3: The planning actions
"Add planning actions to the story's action bar: buttons that create a new forecast version for the current month – one starting from zero, one copying the current forecast – and one for next year's plan, all with the actuals up to the last closed month. Plus an action "Apply Target" that raises the chosen months and flavors by x% – on the values already in the version, or on the same month last year where the version is still empty."
Claude splits the logic between the story and two data actions. The action bar gets the buttons New Forecast (Zero), New Forecast (Copy) and New Plan Next Year. They create a new version via script and then start the data action Initialize Version, which uses an advanced formula to take over the actuals up to the last closed month. The second data action, Apply Target, raises the chosen months and flavors by a percentage. It consists of two advanced formula steps: the first creates empty months with 0, the second calculates on the existing values or, where the version is still empty, on the same month of the previous year.
Data actions Initialize Version and Apply Target in the editor
This is where our MCP server still has room for improvement. SAC itself sets limits here. New versions can only be created via a script in the story, neither via a data action nor via a multi action. For the LLM it is not always clear what belongs in a data action and what has to run as a script, so it first looks in the wrong place. Empty months are a similar case. A data action only calculates on cells that already exist, whether with copy or an IF condition. What should happen with empty months therefore has to be stated explicitly in the prompt. Even then, Claude needed a few attempts until the step for the empty cells was right. We will put this knowledge directly into the server, so the prompt works on the first try.
Duration: approx. 1:45 minutes
Get our presentation "Agentic Development with SAP BW"
Step 4: Planning in the story
From here on, no LLM is needed. The planner works in the story as usual. They create new forecast and plan versions, empty or as a copy and always with the actuals up to the last closed month. They adjust individual months and flavors by a percentage, and with Publish and Revert they decide themselves what gets published. The video shows how a new forecast for November and December comes together.
How long does SAC planning by prompt take in total?
Model, story and planning actions were done after about 4:45 minutes. Only about 2:20 minutes of that is SAC itself, Claude needs the rest for thinking and writing. Goal achieved.
Time per step, split into LLM time and SAC time
To be fair, checking the result is part of it too. Anyone who reviews the data actions in the editor, compares the totals with the Excel file and tries the buttons once will spend quite a bit of work on top of the few minutes for the LLM. How much depends on the case, of course. In our small example it is done quickly, while a real planning model with many data actions and dependencies takes longer. It is still time well spent, and still much faster than clicking everything together by hand.
Bonus: Can the LLM do the planning in SAC itself?
Instead of clicking in the story, you can also leave the planning to the LLM. In a new chat we asked Claude to derive the 2027 plan from 2026, with +25% for the stores on the left bank and +10% for those on the right bank. First as a preview and without publishing.
"Plan 2027 for NextRoll […] in the plan version P01.2027 […]. Plan every month of 2027 from the same month of 2026, for Revenue and Quantity: Left Bank +25%, Right Bank +10%. Round Revenue to cents and Quantity to whole pieces. Show me a preview first, then write it into P01.2027. Don't publish – I check it first."
The result is consistent: €865,560.69 revenue for 2027, an increase of just over 20%. But it does not run entirely smoothly yet. Claude needed around 25 calls for it and took correspondingly long, even though a much shorter route would have been possible. That is exactly why control stays with the human. Claude writes into an unpublished version, publishing only happens after review. For the same reason the bonus is not part of our time calculation above.
SAC Planning by Prompt: Our Conclusion
A powerful tool, but not on autopilot
Our goal was a planning model with story and planning actions in under five minutes, and we achieved it. By prompt, an Excel file becomes a Seamless Planning model, one sentence becomes a planning story and another one the logic for forecast and plan versions. For prototypes and for getting a planning project started, the SAC MCP is a powerful tool.
We are also well aware that the example was simplified. Five stores, four flavors and two measures are not a real planning model yet. In practice you add drivers, permissions, alignment rounds and special cases, and that takes longer. But an LLM already takes over a large part of what you would otherwise click together in SAC.
In our view, this is where the real lever is. In real projects, everything comes down to context: rules, naming conventions, permissions and the knowledge of why something was built the way it is. If this context is organized so the agent gets it, the agent can steer the SAC MCP in a targeted way even for complex requirements and implement everything according to the rules that apply in the company. The focus then shifts from clicking things together to context engineering.
The SAC MCP server is available as open source on GitHub: sac-workbench-mcp.
Do you have questions about SAC planning or would you like to try AI-assisted planning yourself? Just get in touch with us, we look forward to hearing from you!
FAQ - SAC Planning by Prompt
Here you will find some of the most frequently asked questions about SAC Planning by Prompt.
SAP Analytics Cloud, Agentic AI
/Logo%202023%20final%20dunkelgrau.png?width=221&height=97&name=Logo%202023%20final%20dunkelgrau.png)
