AI agents for SAP: a blueprint for reading first and writing only after a person approves

Flowlayers builds AI infrastructure for businesses: a structured workspace where AI agents work the way a team does, with their own tasks, records and reviews inside your systems. This page describes a design for agents that work with SAP through its published OData APIs. It is a blueprint: we have not connected an SAP system, built an SAP connector or tested anything against SAP. It covers what an agent could do, how access would work and what we confirm before we promise anything.

A blueprint for AI agents that read SAP through its OData APIs first and write only after a named person approves. Designed, not yet connected to an SAP system.

What an agent could do with SAP

This is the design, not shipped work. Each line is what we would build and confirm for your system.

  • Look up a customer before it answers

    An agent could look up a customer in SAP's Business Partner API before it answers, so a reply uses the SAP record. That API supports create, read, update and delete, and the access limits decide which of those the agent gets.

  • Create a record for a new client from a signed contract

    An agent could create the record for a new client through the same API once a person has approved the fields, so the client exists in SAP without retyping.

  • Hold a change for a named person

    Any change to SAP data would wait for a named person's yes, and the approval would be recorded with the change.

  • Record every call

    Each call the agent makes would be recorded with the agent that made it, so a change can be traced to one agent.

How the connection would work

An agent would reach SAP through the APIs SAP publishes, with its own access and never a shared login.

  • SAP publishes OData APIs in the SAP Business Accelerator Hub: REST-style services for business objects, such as the Business Partner API, which reads and creates records.
  • In S/4HANA Cloud an outside system gets access through a communication user, a communication system and a communication arrangement that SAP administrators create for an API scenario. Without an arrangement the API answers 403.
  • The design uses one communication user per agent role, with the arrangement limited to read scenarios. Write scenarios would be added one at a time, after approval.
  • The credentials would sit in the agent's own environment on our side and never be written in a task, a comment, a file in git or a message.
  • S/4HANA Cloud public edition and the private or on-premise editions differ in how an outside system gets API access, and the API versions differ between them. We make no statement for older SAP ERP.
  • The first access an agent gets is read-only, through an arrangement that has no write scenario. This is the design for SAP, and we have not run it against an SAP system.

Example payload (made up to show the shape): an n8n workflow tells an agent that a sales order was created

{
  "example": true,
  "event": "sales_order.created",
  "order": {
    "id": "EXAMPLE-0001",
    "customer": "Example Trading Co",
    "lines": [
      {
        "item": "EXAMPLE-ITEM",
        "quantity": 2
      }
    ]
  },
  "request": "check stock and propose a branch",
  "note": "Invented example. Not from a real system."
}

Arabic and English data

SAP holds names, addresses, numbers and dates as fields in your system. How Arabic names and local date and number formats are held varies by system and by company, so we check your data before we promise how an agent will read or write them.

What we confirm before we promise

Because this is a blueprint, these checks come before anything is scoped.

  • The SAP product and version: S/4HANA Cloud public edition, S/4HANA private or on-premise, or another SAP system.
  • Your licence, and what SAP lets an outside system call under it.
  • Which APIs and communication scenarios your SAP exposes, and which your SAP administrators will switch on.
  • Hosting and network: whether the agent reaches SAP over the internet, through SAP's integration layer, or from inside your network.
  • Which communication user and which authorisations the agent gets, and who on your side approves them.

Where it fits

An agent that works with SAP would be part of these services:

Related integrations

Integrations

Questions about AI agents and SAP

Is there a finished SAP connector?

No. We have a blueprint for how an agent would work with SAP: read first, writes only after approval, every call logged. We build the connection for your system after we check your SAP product, version and licence, and we promise nothing before that.

How would an agent get access to our SAP?

Through the APIs SAP publishes. In S/4HANA Cloud your SAP administrators create a communication user and an arrangement for each API scenario, and we ask for read access first. We never use a shared login.

Does this apply to every SAP system?

It depends on the product and version. S/4HANA Cloud and the private and on-premise editions are connected differently, so we confirm which one you run before we scope the work.

Could the agent change data in SAP?

Only if you decide it should, and only with a person's approval for each kind of change. The first version reads.