Start a project
Saudi Arabia, Panama · ERP software

AI connector for SAP Business One, sold through partners

Kodenova built an AI portal and MCP server on top of SAP Business One that answers business questions, builds reports and fetches data, and partner agreements to offer it are signed in Saudi Arabia and Panama.

SummaryAn AI portal and MCP server on top of SAP Business One that answers business questions, builds reports and fetches data, now offered by partner companies in Saudi Arabia and Panama.

The challenge

Managers depended on IT and consultants for every report, and SAP partners had no AI product to offer their customers.

Context

In many SAP Business One companies, managers cannot get a new report without asking IT or an outside consultant. Each request means writing a query or a Crystal report, and simple questions such as top customers this month or overdue items by warehouse can wait days for an answer.

At the same time, SAP partners were being asked by their customers about AI and had no product to offer. The goal was a connector that lets users ask questions in plain language, keeps SAP B1 data safe with read-only access, and can be resold by partners with a per-user licence. The Model Context Protocol (MCP), an open standard that lets AI assistants call external tools, made it possible to expose the same SAP B1 data to AI assistants as well as to the connector's own portal.

What we built

  • Natural-language questions translated into safe, read-only SAP B1 queries
  • AI-generated reports and summaries
  • MCP server so AI assistants can use SAP B1 data as tools
  • Per-user licensing model for resellers

How it fits together

  • Users type a question in the AI portal, built on ASP.NET Core.
  • Gemini turns the question into a query; only safe, read-only queries are allowed to run against the SAP B1 database on SQL Server or SAP HANA.
  • Where the SAP B1 Service Layer (the REST/OData API of SAP Business One) is the better source, data is fetched through it instead of direct SQL.
  • Results come back to the model, which writes the answer, a summary or a full AI-generated report for the user.
  • The MCP server exposes the same SAP B1 data as tools, so AI assistants that support MCP can use it directly.
  • A per-user licensing layer lets each reseller partner activate and manage users for their own customers.

How we delivered it

  1. Discovery and scope. Collect the questions and reports managers ask for most often, check which SAP B1 versions and databases (SQL Server or SAP HANA) partners run, and define the read-only boundary.
  2. Build on a test company. Build the natural-language query layer, the report generator and the MCP tools against a SAP B1 demo company, so no real customer data is used during development.
  3. Testing. Test the same questions on SQL Server and SAP HANA, because the SQL dialects differ. Confirm that write or delete requests are refused and that answers match the numbers in standard SAP B1 reports.
  4. Partner launch. Set up the per-user licensing for resellers, prepare demo material and onboard the partner companies in Saudi Arabia and Panama.
  5. Support and next phase. Support partners and their first customers after launch, and plan the multi-ERP expansion (SAP HANA, Odoo, Microsoft) that partners requested.

Result

  • Partner agreements signed in Saudi Arabia and Panama
  • Multi-ERP expansion (SAP HANA, Odoo, Microsoft) requested by partners

Partners in Saudi Arabia and Panama now have an AI product to offer their SAP B1 customers, and their requests for SAP HANA, Odoo and Microsoft support show demand beyond a single ERP.

Lessons for a similar project

  • Enforce read-only access in more than one place; do not rely only on the prompt to stop the model from changing data.
  • Test on both SQL Server and SAP HANA. Table names are the same, but quoting, case sensitivity and date functions are not.
  • Check AI answers against a known SAP B1 report before users trust them; one wrong total costs more trust than ten right ones earn.

Technology

ASP.NET CoreGeminiMCPSAP B1 Service LayerSQL ServerSAP HANA

Services used

Delivered by Zain Abbas, Kodenova.

Want something similar?

Tell us what you need. You get a clear technical answer, a fixed scope and a price, usually within 24 hours.