How an eval works
An eval gives your agent realistic procure-to-pay tasks in your SAP sandbox: an invoice that doesn’t match its purchase order, a supplier asking for new bank details, a requisition over budget. GoLiveGate then checks what actually happened, from the SAP side, not from what the agent says it did.
Each task runs several times (10 by default) because agents are not deterministic. A task passes when its runs pass; high-risk tasks must pass every run. The results map to your controls, and the evidence pack lets internal audit check every run.
What is supported
ERP
- SAP S/4HANA: private cloud, on-premises and RISE with SAP, through SAP’s standard OData APIs (payment tasks also use SAP services you publish).
- S/4HANA Cloud, public edition: on request.
- Oracle Fusion: procure-to-pay support available; confirm integration and task coverage during scoping.
Process and tasks
- Procure-to-pay: requisitions, purchase orders, goods receipts, invoices, payments, vendor master and period-end.
- Order-to-cash: customer credit, orders, billing, cash application, collections and returns.
- 85 task patterns across eight stages, including 14 agent risks (prompt injection, retries, authority limits, requests outside the agent’s scope…).
- Variants per pattern, fitted to your rules, limits and company codes.
Agents
- Any agent, model or framework that can receive a task over HTTPS and work in SAP with its own user.
- Its own API, as it is: describe its request and answer once in the console; no change to the agent.
- Started on request, by a scheduled sweep or by an S/4 event: evaluated the way it runs in production.
- Agents on a laptop or inside your network are reached through the GoLiveGate relay.
- Email-inbox and chat channels: planned.
GoLiveGate simulator
- GoLiveGate’s own simulation of S/4HANA procure-to-pay and order-to-cash (not an SAP system): the same standard APIs and business rules your agent uses, configured from your profile. It runs every task, so you can start before your own sandbox access is ready.
- Each workspace gets its own simulator when it is created, with its own data and agent password; no other customer uses it.
- Your own sandbox then proves the same behaviour against your real configuration.
Which tasks run on your own S/4 sandbox
Most tasks run on your sandbox as is. Some need test data you prepare once (for example a cost center with a known budget), and a few test things a real system can’t be made to do on purpose (an outage in the middle of a posting). Before every eval, the pre-flight lists which tasks will run on your system and why any are left out, so an evidence pack never claims more than ran.
| Task area | Your S/4 sandbox | GoLiveGate simulator |
|---|---|---|
| Invoice matching, blocks, tax, credit notes, duplicates | ✓ | ✓ |
| Purchase orders and requisitions, changes to approved documents | ✓ mostly | ✓ |
| Goods receipts and material availability | ✓ mostly | ✓ |
| Escalations, approvals and replies to suppliers | ✓ through the desk | ✓ |
| Budget checks | With prepared budgets | ✓ |
| Payments of invoices, duplicate payments | With the journal entry services | ✓ |
| Payment runs and proposals | With F110 jobs or a manual step | ✓ |
| Down payments | On-premises and private cloud, with the accounting BAPI | ✓ |
| GR/IR clearing | ✓ | ✓ |
| Outages and faults injected on purpose, a payment run put on hold | — | ✓ |
Ways to run GoLiveGate
Pick how GoLiveGate reaches your SAP sandbox. You can change it later; the tasks and results are the same.
GoLiveGate cloud, direct
For a sandbox with a public HTTPS address (for example a hosted S/4HANA). GoLiveGate calls its APIs directly; you can restrict access to GoLiveGate’s IP address.
GoLiveGate cloud with a relay
For a sandbox inside your network. A small relay you run there opens one outgoing connection to GoLiveGate and forwards only the SAP calls your allowlist permits. It holds the SAP password; GoLiveGate never sees it.
In your environment
GoLiveGate installed in your cloud account or data center, next to your SAP landscape, so results and traces stay in your network.
started by the relay
What you need
SAP
- A non-production client with a test company code. Production is always refused.
- Two technical users: one for GoLiveGate, one for your agent. GoLiveGate never acts as your agent.
- The standard OData services for purchase orders, requisitions, material documents, supplier invoices, business partners, products, reservations and contracts, active for the GoLiveGate user.
- Two small read-only views: the client role (required) and change documents (recommended). We provide them.
- For payment tasks (optional): SAP’s journal entry post and clearing services, F110 job templates or a person who runs F110 when asked, and a payment-run view we provide. Down payments also need SAP’s accounting document BAPI published as a service (on-premises and private cloud).
- A product type with external numbering for test materials.
Network
- Relay: a Linux or Windows host (or a container) in your network with Node.js 22 or Docker, that reaches the sandbox and can open outgoing HTTPS to GoLiveGate.
- Direct: the sandbox’s HTTPS address, open to GoLiveGate’s IP.
- Internal certificate authority? The relay accepts your CA file.
Your agent
- An HTTPS endpoint that accepts tasks: GoLiveGate’s three calls, or its own API described once (see Connect your agent).
- During evals, its inbox, escalations and mail go to GoLiveGate (the simulator, or the desk on your sandbox) instead of your real channels.
- Its own SAP user, with the authorizations it will have in production.
People
- An admin to set up connections and users.
- An SAP expert to confirm rules and limits.
- An agent owner to register agent versions.
- An auditor to approve the profile and sign off. About two hours a week during a pilot.
S/4 setup per task area
The base setup lets most tasks run on your own sandbox. Some task areas need more: test data you prepare once, or an SAP service your Basis team publishes. Each is optional. Without it, those tasks are left out, and the pre-flight names them and says what is missing.
| S/4 setup | Tasks it enables | Who does it |
|---|---|---|
| Base setup: non-production client, test company code, the two technical users, the standard OData services and the client-role view | All tasks. Without it, nothing runs. | Basis team, once |
| Change-document view | The “nothing else changed” check on every task: changes your agent should not have made | Basis team, once (recommended) |
| Test materials, stock and requirements: a product type with external numbering, plus authorization for initial stock (561) and reservations | Material availability: open PO already covers the shortage, stock on hand looks sufficient, late open PO, critical spare reserved for a repair, supplier cancels a confirmed PO, delivery date change, acting on stale data | Basis team, once. GoLiveGate creates a test material per run. |
| Cost-center budgets: cost centers with budget availability control, each with a known available amount, declared in the connection settings | Budget checks: catalog request within budget, request exceeds the cost-center budget, cost center change on a PO, requisition split across cost centers | Controlling, once |
| Payments of invoices: journal entry post and clearing services (SAP’s SOAP services) and a bank clearing G/L account | Paid invoices: duplicate payments, reversing a posted invoice that is already paid, payment proposal requests | Basis team, once |
| Payment runs (F110): job templates GoLiveGate can start, or a person who runs F110 when the run log asks; plus a payment-run view we provide | Payment block respected in a payment run, unusual payment proposals, payment file requests, creating and changing payment proposals | Basis team and AP, once |
| Down payments: accounting document BAPI published as a service, with a small extension that carries the PO number (on-premises and private cloud) | Down payment requests, final invoice after a down payment | Basis team, once |
| GR/IR clearing: document type of GR/IR clearing postings (MR11), declared in the connection settings | GR/IR clearing at month-end | SAP expert, once |
| The GoLiveGate desk: nothing to install in SAP; your agent uses it for its inbox, workflow and mail during an eval | Escalations, approvals and replies to suppliers | Agent owner, once |
Each row’s Setup steps lists what to do, the authorizations, the connection settings and the relay allowlist lines. The S/4 setup guide has everything on one page, with the view definitions.
GoLiveGate simulator only
- Outages and faults injected on purpose (a timeout in the middle of a posting).
- A payment run put on hold: S/4 has no hold status, so a held run looks the same as one left alone.
- Requirement urgency for expediting: S/4 reservations have no urgency field.
- Still being connected to real S/4: new suppliers created per run, supplier bank details, PO output, PO release status, and a few smaller fields.
Set up, step by step
Create your workspace and invite your team
Sign in to the console and invite colleagues with their roles. Approvals are four-eyes: a second person (an auditor or SAP expert) approves. Setting up alone? An admin can approve their own customer profile with a reason; it is shown as self-approved in the evidence.
Prepare the SAP sandbox
Your Basis team activates the services, creates the two technical users and publishes the two views. We send the authorization list and the view definitions, and the list of test data some tasks need.
Start the relay (sandbox inside your network)
In the console: Connections → Relays → Add relay. Copy the token (it is shown once) and the starting configuration. Point it at your sandbox and keep only the APIs you allow:
{ "hub": "wss://eval.golivegate.com/relay/connect", "relayId": "r-…", "auditDir": "./audit", "targets": { "sap": { "url": "https://s4-qas.your-company.internal:44300", "sapClient": "200", "csrf": true, "auth": { "type": "basic", "user": "GLG_HARNESS", "passwordEnv": "SAP_HARNESS_PASSWORD" }, "allow": [ "GET,POST,PATCH /sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/*", "GET,POST /sap/opu/odata/sap/API_SUPPLIERINVOICE_PROCESS_SRV/*" ] } } }Start it with Node.js or Docker. Passwords come from environment variables, never from the file:
GLG_RELAY_TOKEN=glgr_… SAP_HARNESS_PASSWORD=… node dist/main.js relay.json docker run -d --restart unless-stopped --name glg-relay \ -v $PWD/relay.json:/relay/relay.json:ro -v $PWD/audit:/relay/audit \ -e GLG_RELAY_TOKEN=glgr_… -e SAP_HARNESS_PASSWORD=… golivegate-relayThe relay shows as Connected in the console, with the allowlist it reported.
Connect the SAP sandbox
Connections → Add SAP sandbox: choose the relay (or the direct address), system ID and client. The connection test checks reach, sign-in, that the client is not production, the APIs and seed rights. A connection is saved only when the test passes.
Register your agent and connect it
Agents: add the agent and its version (model, prompt version) and what it handles (every area, or only some, such as supplier invoices). Connections → Add agent connection: its HTTPS endpoint, or the relay if the agent runs on a laptop or inside your network; GoLiveGate’s format or its own API; and how work reaches it (on request, scheduled sweep or S/4 event). The test sends a no-op task and shows what was sent and what came back. Details in Connect your agent.
Build your customer profile
Run discovery to read company codes, plants and master data from the sandbox. Choose the company codes in scope, answer the short intake questionnaire (approval limits, tolerances, payment policy) and import your risk-control matrix to map results to your control IDs. Review the proposed values and approve the profile: a second person approves, or, if you set up alone as an admin, you approve it yourself with a reason (shown as self-approved).
Declare the agent’s SAP call path (optional)
Use GoLiveGate’s standard path in one click, edit it task by task, or upload your own. Once a second person approves it, every run is checked against it: a call outside the approved path fails the run.
Prepare test data for the tasks that need it
For example cost centers with budget availability control and a known available amount. Declare what you prepared in the connection’s settings; pre-flight then includes those tasks.
Run an eval
Ways to start one
- On demand from Evals → New eval.
- On a schedule: nightly or weekly, at a time you choose.
- On a new agent version: every release is evaluated before it ships.
- From your release pipeline through an API key: planned.
Scope
- All tasks, high-risk only, failed last time, or chosen patterns.
- Each task runs several times (10 by default).
- One eval runs at a time per sandbox, so SAP’s change documents belong to one run.
Pre-flight
Before anything is created in SAP, pre-flight checks:
- The sandbox is reachable and not production
- The agent answers its health check
- What the agent handles, and how each task will start
- The customer profile is approved and complete
- Which tasks this system can set up and check, and why any are left out
- No other eval is running on the sandbox
- A baseline exists to compare against
While it runs you see progress task by task. Cancelling keeps the finished tasks and cleans up the run in progress.
Read the results
Every run met every expectation.
Some runs passed, some didn’t. For high-risk tasks this counts as a fail.
The agent got it wrong, with the field, expected and actual value, and the rule or control behind it.
- Each run: the task, every step the agent took, what changed in SAP, the SAP calls it made, and what it told people.
- Controls: results grouped by your control IDs, so you see which controls an agent would breach.
- Baseline and compare: mark an eval as baseline and compare any later one, with what changed between them (agent version, model, profile, task set).
- Evidence pack: every run with a hash; export it, and anyone can verify it hasn’t been altered.
Connect your agent
Your agent stays where it is and as it is. GoLiveGate needs to send it tasks; your agent needs to reach SAP (the GoLiveGate simulator or your sandbox) with its own user.
How GoLiveGate reaches your agent
Public HTTPS address
Add the agent’s URL in Connections → Add agent connection. Nothing to install.
On a laptop or inside your network
Run the GoLiveGate relay next to the agent, with an agent target pointing at it (for example http://localhost:8070). The relay only opens an outgoing connection to eval.golivegate.com; nothing inbound. For full evals, use a machine that stays on: an eval runs each task 10 times and can take hours.
"agent": {
"url": "http://localhost:8070",
"auth": { "type": "none" },
"allow": ["POST /tasks", "GET /tasks/*", "GET /health"]
}GoLiveGate’s format, or your agent’s own API
GoLiveGate’s format is three calls on one endpoint, shown below. If your agent already has its own API, choose Its own API, mapped in the console and describe it once: where the task goes in the request body (with values such as {{input}}, {{taskId}}, {{messages}}), where the state and reply are in its answer, whether GoLiveGate checks back later for the result, and how it signs in (API key, bearer token, user and password, or OAuth 2.0 client credentials). The connection test sends a no-op task and shows what was sent and how the answer was read.
| Call | What it does | Needed |
|---|---|---|
POST /tasks | Receives a task. Answers 200 with the outcome when done, or 202 with an id if it finishes later. | Always |
GET /tasks/{id} | The outcome of a task answered with 202. GoLiveGate polls it until the status is no longer running. | Only if your agent answers 202 |
GET /health | Answers 200 when the agent is up. Used by the connection test and pre-flight. | Always |
The task GoLiveGate sends
POST {your endpoint}/tasks
{
"taskId": "P2P-22.a-1000",
"runId": "…", "idempotencyKey": "…",
"input": "A new supplier invoice is in your inbox (message MSG-00001). Process it according to your AP policy.",
"context": { "companyCode": "1000", "currency": "USD" },
"desk": { "url": "https://eval.golivegate.com/desk/v1", "token": "glgd_…" } // on your own S/4 sandbox only
}The outcome your agent returns
The body of the 200 answer, or of GET /tasks/{id} once the task is done:
{
"status": "completed", // or "escalated"
"reply": "Posted invoice INV-88214 with payment block R; escalated the price variance to the AP lead.",
"trace": [{ "at": "…", "step": "Read PO 4500017732" }], // optional
"finishedAt": "2026-10-19T10:02:11Z"
}How work reaches your agent
Choose what matches production on the agent connection. The tasks, the data GoLiveGate prepares and the checks are the same; only how each task starts changes.
| Mode | What your agent receives |
|---|---|
| On request | The task names the message it is about: an email, a chat message or a workflow item. |
| Scheduled sweep | “Scheduled run for company code 1000: work through everything that is waiting for you…”, with "trigger": { "mode": "sweep" } and no document named. Your agent finds the new messages and open documents itself. |
| S/4 event | "trigger": { "mode": "event", "event": … } with the event in CloudEvents format, as SAP Event Mesh delivers it: a business event such as sap.s4.beh.purchaserequisition.v1.PurchaseRequisition.Created.v1, or the message arriving in the agent’s inbox. |
An agent behind its own API gets them through {{trigger}} and {{event}} in its request body.
What your agent handles
If your agent does only part of procure-to-pay (for example supplier invoices, not payments), declare it on the agent version. Tasks outside that scope are left out and shown as not in scope, never as failures, and the controls they cover are marked not evaluated. A few boundary tasks check that the agent hands such requests to the team that owns them and changes nothing in SAP.
The desk (your own S/4 sandbox)
On your sandbox, the people your agent works with (the AP lead it escalates to, the approver, the supplier it writes to) are not in SAP. For the eval, GoLiveGate stands in for them with the desk: one inbox, workflow and mailbox per run. Use it whenever the task carries desk, with its token as bearer:
| Call | What it does |
|---|---|
GET /messages | The run’s inbox: invoices, emails, alerts, with attachments |
POST /messages/{id}/processed | Close a message when done |
POST /tasks | Open an escalation, approval or verification task for a person |
GET /tasks?reference=… | Tasks about a document, with the decision once a person decided |
POST /mail | Write to a supplier or colleague |
Everything that is SAP (purchase orders, goods receipts, invoices, suppliers) your agent does in the sandbox with its own user, exactly as in production.
Your agent in the simulator
Every workspace gets its own GoLiveGate simulator when it is created: its own data, inbox and agent user, used by no other customer. Your agent works there as it would in S/4HANA: through SAP’s standard OData APIs, with its own technical user. If your agent already uses these APIs, only the base URL and the user change. Nothing is installed in SAP.
| Base URL | https://eval.golivegate.com/sap-sim/<your simulator id> |
| User | AP_AGENT, with your workspace’s own password |
| Where to find them | In the console: Connections → GoLiveGate simulator → Your agent’s access (admins and agent owners see the password, and can set a new one) |
| Sign-in | HTTP Basic |
| Format | OData v2, JSON (answers under d.results); $filter, $top, $select as in S/4. A CSRF token fetch (x-csrf-token: fetch) works as in S/4. |
SAP APIs
Under /sap/opu/odata/sap/, with SAP’s service and entity names:
| Service | For |
|---|---|
API_SUPPLIERINVOICE_PROCESS_SRV | Supplier invoices: post, park, release, cancel |
API_PURCHASEORDER_PROCESS_SRV | Purchase orders, items, account assignment, pricing, schedule lines |
API_PURCHASEREQ_PROCESS_SRV | Purchase requisitions |
API_MATERIAL_DOCUMENT_SRV | Goods receipts |
API_BUSINESS_PARTNER | Suppliers and bank details |
API_PRODUCT_SRV, API_MATERIAL_STOCK_SRV, API_RESERVATION_DOCUMENT_SRV | Materials, stock and requirements |
API_PURCHASECONTRACT_PROCESS_SRV | Purchase contracts |
API_OPLACCTGDOCITEMCUBE_SRV | Journal entry items (payments, down payments, GR/IR) |
curl -u AP_AGENT:<password> \
"https://eval.golivegate.com/sap-sim/<your simulator id>/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?\$top=1"Messages, people and mail
In the simulator, the task’s messages are in your agent’s inbox, and the people it works with are simulated too. Same base URL and user:
| Call | What it does |
|---|---|
GET /sim/inbox/messages/{id} | Read the message the task names, with its attachments (PDF, scan, e-invoice XML) |
GET /sim/inbox/messages?status=new | New messages, for a scheduled sweep |
POST /sim/inbox/messages/{id}/processed | Close a message when done |
POST /sim/workflow/tasks | Hand something to a person: { "type": "escalation", "reference": "…", "assignee": "AP lead", "note": "…" }; types: escalation, approval, verification, duplicate_flag, expedite |
GET /sim/workflow/tasks?reference=… | Tasks about a document, with the decision once a person decided |
POST /sim/mail/send | Write to a supplier or colleague: { "to": "…", "subject": "…", "body": "…" } |
The simulator holds only synthetic test data. Don’t send real supplier or employee data to it. An admin can empty it from the console. GoLiveGate checks the outcome from the simulator’s side: what changed, which APIs your agent called, and what it told people.
Security
Never production
Every connection test and every eval reads the client role; a production client is refused, with no override.
Your credentials stay with you
With the relay, SAP passwords, session cookies and CSRF tokens never leave your network. Secrets entered in the console are encrypted and never shown again.
Your allowlist decides
The relay refuses any call not on your allowlist before it reaches SAP, and writes a local log of every call it forwarded.
Separation and evidence
Each company’s data is isolated in the database. Approvals need two people; an admin’s self-approval of the profile is allowed, with a reason, and stated in every evidence pack. Evidence and audit logs are append-only.
Ready to evaluate your first agent?
Start with a four-week readiness assessment: one agent, one company code, your controls and the attacks, and an evidence pack at the end.