SAP Exports to Manufacturing Intelligence Platform
A governed calculation engine that turns four manual SAP-export report builds into one auditable, repeatable pipeline.
A manufacturer running SAP for its core transactions closes inventory every month by exporting four report families — ageing, inventory holding, finished-goods-and-bulk (with year-cost/batch-cost breakdowns), and carriage inwards — and rebuilding each one by hand into the workbook Finance actually reports from. The SAP system of record isn't in question; what happens to its output after export is.
Four report families, each with its own cleaning rules, revaluation logic, and provisioning calculations, assembled every month by an analyst working from raw SAP exports. The work is repeatable in principle and manual in practice, which makes it unauditable in practice: when Finance questions a number, there is no record of which rule produced it, only the analyst's memory of what they did that month.
A spreadsheet process can be correct in any given month and still be fragile: one changed formula, one re-ordered column, one analyst on leave, and the output silently changes shape. There is no independent check that a month's revaluation used the same rule as the month before, and no way to answer "show me every input that fed this number" without re-tracing the spreadsheet by hand.
A calculation engine that takes the same SAP export files the team already works from and produces all four report families on a governed, repeatable pipeline — with every business rule not yet confirmed by Finance logged as an open decision rather than silently assumed, and every run independently reconciled against the customer's own workbook before being trusted.
SAP ECC/S4 Manual export
(system of record) ───────────────────────▶ Report export files (.xlsx/.csv)
│
▼
┌─────────────────────────┐
│ n8n (conductor) │
│ file intake, staging │
└─────────────────────────┘
│
▼
┌─────────────────────────┐
│ SQL Server │
│ cleaning & calculation │
│ engine — ageing, │
│ holding, FG & Bulk │
│ (YCBC), carriage inwards │
└─────────────────────────┘
│
┌───────────┴───────────┐
▼ ▼
┌──────────────────┐ ┌────────────────────┐
│ Workbook-builder │ │ Finance UAT │
│ → reconciled │ │ interface: │
│ report workbook │ │ column-by-column │
│ │ │ match vs customer │
│ │ │ workbook, query log,│
│ │ │ sign-off gate │
└──────────────────┘ └────────────────────┘- Step 1SAP export files
- Step 2n8n intake & staging
- Step 3SQL Server calculation engine
- Step 4Workbook builder
- Step 5Finance UAT interface
Input: SAP report exports (ageing, holding, FG & Bulk, carriage inwards) as files — not a live SAP connection; SAP OData/API integration is explicitly out of scope (a confirmed business rule, not an oversight). Internal: n8n orchestrates file intake and hands off to SQL Server; the workbook-builder service reads the engine's output and produces the report workbook in the format Finance already expects. Human-facing: a Finance UAT interface for column-by-column comparison against the customer's existing workbook, with an open-query log and a sign-off gate — nothing is called "accepted" until Finance clicks accept.
- SQL Server (calculation engine, staging)
- n8n (orchestration)
- Purpose-built workbook-builder service
- Finance-facing UAT web interface
- 1Export
Analyst exports the four SAP report families as usual — no change to how SAP is used.
- 2Stage
Files land in the pipeline; n8n stages them.
- 3Calculate
SQL Server applies the cleaning and calculation rules for each report family.
- 4Build workbook
The workbook-builder assembles the reconciled output in the customer's existing workbook shape.
- 5Match
The Finance UAT interface runs a column-by-column match against the customer's own workbook for the same period.
- 6Route queries
Discrepancies route to an open-query log, each tagged to a specific rule or data gap; Finance reviews and confirms the rule or flags it for a decision.
- 7Sign off
Only after Finance sign-off does a month's output count as accepted — this pipeline has not yet reached that gate.
Rules were extracted from the customer's existing workbook logic first, each one logged individually rather than reverse-engineered in bulk and assumed correct, so every calculation traces to a specific, confirmable business rule rather than an assumption made under deadline pressure. Where a rule was ambiguous or undocumented, it was logged as an open question for Finance rather than guessed at — the same governance discipline used across our other delivered pipelines, not a one-off practice for this engagement.
No SAP credentials or live SAP connectivity are involved, because the pipeline consumes export files rather than connecting to SAP directly — this narrows the integration's security surface by design, at the cost of requiring a human to run the export each month. Every pipeline run is logged; every output column traces to a named rule in the rule register, not to an unlogged manual edit.
The pipeline runs against the customer's own export files and reconciles against the customer's own workbook, so it's built to slot in beside the existing process rather than replace it outright during validation — Finance can run both in parallel until they trust the new output. It has not yet been deployed into the customer's production environment or infrastructure.
Expected operational benefits
A single, auditable rule set instead of four spreadsheets maintained by memory.
A visible log of every open question instead of silent assumptions.
A repeatable process that behaves the same way whoever runs it.
No time or cost saving is stated — none has been measured yet; the register has no such figure on record.
Four report families, each with its own revaluation and provisioning logic, had to be reconciled to a workbook that was never built to be reverse-engineered — it was built to be edited by hand, one month at a time. Matching a deterministic engine's output to that workbook column-by-column, at scale (hundreds of thousands of underlying formula-equivalents across the four families), and reaching exact or near-exact matches on the majority of columns before Finance had even seen the tool, is the actual engineering work — not the SQL, but the business-rule archaeology underneath it.
Status: Prototype, in User Acceptance Testing. Capacity and workbook-integrity checks have passed. The most recent end-to-end run matched the customer's own workbook exactly on the majority of compared columns, with the remainder within a small tolerance. Finance sign-off has not yet been given: a provisioning-rule gap and several other items remain open queries. This page will be updated when that status changes. We do not describe this as "SAP-integrated" (it consumes export files, not a live SAP connection) or as "deployed" (it has not left UAT).