Eval guide

From an SAP sandbox to an evidence pack.

What GoLiveGate supports, what you need, how to connect your SAP system and your agent, and how to run and read an eval.

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.

1Set upGoLiveGate creates the documents the task needs in your sandbox
2Hand overYour agent receives the task through its API
3Agent worksIn SAP with its own user; with people through the desk
4CheckEnd state in SAP, SAP calls, escalations and replies
5Clean upWhat GoLiveGate created is reversed

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 areaYour S/4 sandboxGoLiveGate 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 checksWith prepared budgets✓
Payments of invoices, duplicate paymentsWith the journal entry services✓
Payment runs and proposalsWith F110 jobs or a manual step✓
Down paymentsOn-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.

Simplest

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.

Most common

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.

On request

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.

GoLiveGate cloud
Console and evidence
Eval engine
Desk
Your network
GoLiveGate relayAllowlist · credentials · audit log
SAP S/4HANA sandbox
Your agent

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 setupTasks it enablesWho does it
Base setup: non-production client, test company code, the two technical users, the standard OData services and the client-role view

Base setup

Enables: All tasks. Without it, nothing runs.
Who: Basis team, once

Steps

  1. Pick a non-production client (its role in SCC4 is not Production) and a company code set aside for evals. GoLiveGate refuses a production client, with no override.
  2. Create two users: GLG_HARNESS (technical user; GoLiveGate seeds, reads and cleans up with it) and your agent's own user. GoLiveGate never acts as your agent.
  3. Activate the OData services for GLG_HARNESS: /IWFND/MAINT_SERVICE on-premises and private cloud, communication arrangements on S/4HANA Cloud. Services: API_PURCHASEORDER_PROCESS_SRV, API_PURCHASEREQ_PROCESS_SRV, API_MATERIAL_DOCUMENT_SRV, API_SUPPLIERINVOICE_PROCESS_SRV, API_BUSINESS_PARTNER, API_COMPANYCODE_SRV, API_PLANT_SRV, API_PURCHASECONTRACT_PROCESS_SRV.
  4. Give GLG_HARNESS the authorizations below, restricted to the test company code and its plants.
  5. Publish the client-role view ZGLG_CLIENT (definition in the setup guide). It reads only T000: client number, role and name.
  6. In the console, add the S/4 connection and run the connection test: system reachable, user signs in, client is not production, business APIs active.

Authorizations for GLG_HARNESS

  • S_SERVICE for the services above
  • M_BEST_BSA, M_BEST_EKO, M_BEST_EKG, M_BEST_WRK: purchase orders
  • M_BANF_BSA, M_BANF_EKG, M_BANF_WRK: requisitions
  • M_MSEG_BWA (101, 102), M_MSEG_WMB, M_MSEG_BWE: goods receipts and their reversal
  • M_RECH_BUK, M_RECH_WRK: invoice verification and cancellation
  • F_LFA1_APP, F_LFA1_BUK: supplier display and posting block
  • A PO release code if seeded POs need release (otherwise set poRelease to none)

Connection settings

{
  "orgs": { "1000": { "purchasingOrg": "1000", "purchasingGroup": "001", "plant": "1100", "poType": "NB", "prType": "NB" } },
  "unit": "EA",
  "clientService": "ZGLG_CLIENT_CDS/ZGLG_CLIENT"
}

Relay allowlist (if you use a relay)

GET /sap/opu/odata/sap/API_BUSINESS_PARTNER/*
GET,POST,PATCH /sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/*
GET,POST,PATCH /sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/*
GET,POST /sap/opu/odata/sap/API_SUPPLIERINVOICE_PROCESS_SRV/*
GET,POST /sap/opu/odata/sap/API_MATERIAL_DOCUMENT_SRV/*
GET,POST,PATCH /sap/opu/odata/sap/API_PURCHASECONTRACT_PROCESS_SRV/*
GET /sap/opu/odata/sap/API_COMPANYCODE_SRV/*
GET /sap/opu/odata/sap/API_PLANT_SRV/*
GET /sap/opu/odata/sap/ZGLG_CLIENT_CDS/*

Service names and fields follow SAP's API documentation; confirm them on your release before the first eval.

Full instructions in the S/4 setup guide →
All tasks. Without it, nothing runs.Basis team, once
Change-document view

Change-document view

Enables: The “nothing else changed” check on every task: changes your agent should not have made
Who: Basis team, once (recommended)

Steps

  1. Create the read-only view ZGLG_CHANGEDOC over CDHDR and CDPOS for purchase orders, requisitions, suppliers and invoices (definition in the setup guide).
  2. Publish it as an OData service (@OData.publish gives ZGLG_CHANGEDOC_CDS) and authorize GLG_HARNESS for it.
  3. Set changeDocService in the connection settings if the name differs from the default.
  4. Run the connection test: “Change documents readable” turns green. Without the view, tasks still run, but changes your agent should not have made are not checked.

Connection settings

{ "changeDocService": "ZGLG_CHANGEDOC_CDS/ZGLG_CHANGEDOC" }

Relay allowlist (if you use a relay)

GET /sap/opu/odata/sap/ZGLG_CHANGEDOC_CDS/*

Check time zone handling (CDHDR stores local time) and the view's performance on your volume.

Full instructions in the S/4 setup guide →
The “nothing else changed” check on every task: changes your agent should not have madeBasis team, once (recommended)
Test materials, stock and requirements: a product type with external numbering, plus authorization for initial stock (561) and reservations

Test materials, stock and requirements

Enables: 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
Who: Basis team, once. GoLiveGate creates a test material per run.

Steps

  1. Choose a product type for test materials (default HAWA) and give it an external number range that accepts numbers like MAT-STK-ab12cd.
  2. Make sure the product type can be valuated in the test plants: valuation class (default 3100), price control (default V).
  3. Activate API_PRODUCT_SRV and API_RESERVATION_DOCUMENT_SRV for GLG_HARNESS.
  4. Allow movement types 561 and 562 (initial stock and its reversal) and the reservation movement type (default 201, against a cost center) in the test plants.
  5. Set the plant and storage location per company code in orgs, and the material settings below if yours differ.
  6. Per run, GoLiveGate creates the material, posts its stock and reservations, and marks it for deletion afterwards.

Authorizations for GLG_HARNESS

  • M_MATE_MAR, M_MATE_WRK, M_MATE_STA: product master for the test product type
  • M_MSEG_BWA for 561, 562 and the reservation movement type
  • M_MRES_BWA, M_MRES_WWA: reservations

Connection settings

{
  "orgs": { "1000": { "plant": "1100", "storageLocation": "0001" } },
  "materials": { "productType": "HAWA", "valuationClass": "3100", "priceControl": "V", "price": 1,
                 "reservationMovement": "201", "reservationCostCenter": "4100" }
}

Relay allowlist (if you use a relay)

GET,POST,PATCH /sap/opu/odata/sap/API_PRODUCT_SRV/*
GET,POST,PATCH /sap/opu/odata/sap/API_RESERVATION_DOCUMENT_SRV/*

S/4 reservations have no urgency field, so the expedite tasks that use one run only on the GoLiveGate simulator.

Full instructions in the S/4 setup guide →
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 dataBasis 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

Cost-center budgets

Enables: Budget checks: catalog request within budget, request exceeds the cost-center budget, cost center change on a PO, requisition split across cost centers
Who: Controlling, once

Steps

  1. Run the pre-flight once: it lists the cost centers and the available amount each budget task needs for your profile.
  2. In the test company code, activate budget availability control on those cost centers and set the budget so that exactly that amount is available.
  3. Declare each cost center with its available amount (and who decides on it) in the connection settings. A task runs only when its cost center is declared with the amount it needs.
  4. Keep the amounts stable between evals: GoLiveGate reads but does not change budgets.

Connection settings

{
  "prepared": {
    "budgets": {
      "4100": { "available": 10000, "owner": "Facilities manager" },
      "4300": { "available": 31500, "owner": "IT budget owner" }
    }
  }
}

A cost center has one available amount at a time; tasks that need another amount on the same cost center are left out (the pre-flight says which).

Full instructions in the S/4 setup guide →
Budget checks: catalog request within budget, request exceeds the cost-center budget, cost center change on a PO, requisition split across cost centersControlling, once
Payments of invoices: journal entry post and clearing services (SAP’s SOAP services) and a bank clearing G/L account

Payments of invoices

Enables: Paid invoices: duplicate payments, reversing a posted invoice that is already paid, payment proposal requests
Who: Basis team, once

Steps

  1. Publish SAP's SOAP services Journal Entry – Post (JournalEntryCreateRequestConfirmation_In, synchronous) and Journal Entry – Clearing (JournalEntryBulkClearingRequest_In, asynchronous). S/4HANA Cloud: communication scenario SAP_COM_0002. On-premises and private cloud: create the endpoints in SOAMANAGER with basic authentication for GLG_HARNESS.
  2. Make sure asynchronous messages are processed (local web service runtime / bgRFC), so the clearing actually runs. Failed clearings show in the message monitor (SRT_MONI on-premises).
  3. Choose a bank clearing G/L account in the test company code for test payments, and the payment document type (default KZ).
  4. Declare the two endpoint paths, the account and the document type in the connection settings.
  5. Per run, GoLiveGate posts the payment (supplier debit, assignment = the invoice's accounting document), clears it against the invoice and waits until the invoice shows as cleared.
  6. Payments are read through the standard API_OPLACCTGDOCITEMCUBE_SRV: activate it for GLG_HARNESS.

Authorizations for GLG_HARNESS

  • F_BKPF_BUK, F_BKPF_KOA (account types K and S), F_BKPF_BLA (the payment document type): post and display accounting documents
  • S_SERVICE for the two SOAP services and API_OPLACCTGDOCITEMCUBE_SRV

Connection settings

{
  "accounting": {
    "journalEntryPostService": "/sap/bc/srt/scs_ext/sap/journalentrycreaterequestconfi",
    "journalEntryClearingService": "/sap/bc/srt/scs_ext/sap/journalentrybulkclearingreques",
    "bankClearingAccount": "11001029",
    "paymentDocumentType": "KZ"
  }
}

Relay allowlist (if you use a relay)

GET /sap/opu/odata/sap/API_OPLACCTGDOCITEMCUBE_SRV/*
POST /sap/bc/srt/scs_ext/sap/journalentrycreaterequestconfi*
POST /sap/bc/srt/scs_ext/sap/journalentrybulkclearingreques*

Use the endpoint paths your system shows; the ones above are examples. Test payments stay in the test company code after the eval: resetting a clearing has no released API.

Full instructions in the S/4 setup guide →
Paid invoices: duplicate payments, reversing a posted invoice that is already paid, payment proposal requestsBasis 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 runs (F110)

Enables: Payment block respected in a payment run, unusual payment proposals, payment file requests, creating and changing payment proposals
Who: Basis team and AP, once

Steps

  1. Choose how payment runs start. Job: GoLiveGate schedules your job templates through the Application Jobs API. Manual: during an eval the run log asks a person to run F110, and GoLiveGate waits until the run appears (15 minutes by default).
  2. Job: create two job templates for the payment program, one for the proposal run and one for the payment run, whose parameters take the run date, run identification, company code, suppliers and document numbers. Activate the Application Jobs API (BC_EXT_APPJOB_MANAGEMENT; S/4HANA Cloud: communication scenario SAP_COM_0064). Tell us the template and parameter names.
  3. Manual: name a person with F110 access who watches the run log during evals.
  4. Either way, publish the payment-run view ZGLG_PAYRUN_SRV (definition in the setup guide) with entity sets PaymentRun and PaymentRunItem.
  5. Declare the mode and, for jobs, the template names in the connection settings.

Authorizations for GLG_HARNESS

  • F_REGU_BUK, F_REGU_KOA: payment runs in the test company code
  • Authorization to schedule the two job templates (application jobs) or S_BTCH_JOB on-premises
  • S_SERVICE for ZGLG_PAYRUN_SRV and the Application Jobs API

Connection settings

{
  "paymentRun": {
    "mode": "job",
    "proposalJobTemplate": "ZGLG_F110_PROPOSAL",
    "paymentJobTemplate": "ZGLG_F110_PAYMENT"
  }
}
or
{ "paymentRun": { "mode": "manual", "waitSec": 900 } }

Relay allowlist (if you use a relay)

GET /sap/opu/odata/sap/ZGLG_PAYRUN_SRV/*
GET,POST /sap/opu/odata/sap/BC_EXT_APPJOB_MANAGEMENT;v=0002/*

S/4 has no “held” status for a payment run, so the task that checks a held run runs only on the GoLiveGate simulator. Payment runs are not deleted after the eval.

Full instructions in the S/4 setup guide →
Payment block respected in a payment run, unusual payment proposals, payment file requests, creating and changing payment proposalsBasis 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 payments

Enables: Down payment requests, final invoice after a down payment
Who: Basis team, once

Steps

  1. Create a web service from function module BAPI_ACC_DOCUMENT_POST (service definition wizard in SE80, with commit handling), and an endpoint in SOAMANAGER for GLG_HARNESS.
  2. Implement BAdI ACC_DOCUMENT to move the PO reference GoLiveGate sends in EXTENSION2 (structure ZGLG_DP) to the supplier line (sample in the setup guide).
  3. Check that special G/L indicators A (down payment) and F (down payment request) are set up for suppliers in the test company code.
  4. If your release refuses down payment requests (noted items) through the BAPI, publish a small wrapper with the same request shape and declare it as downPaymentRequestService.
  5. Declare the endpoint path in the connection settings. Down payments are paid against the bank clearing account from “Payments of invoices”.

Authorizations for GLG_HARNESS

  • F_BKPF_BUK, F_BKPF_KOA (K), F_BKPF_BLA: post accounting documents
  • S_SERVICE for the BAPI service

Connection settings

{
  "accounting": {
    "downPaymentService": "/sap/bc/srt/rfc/sap/zglg_acc_document_post/200/zglg_acc_document_post/binding",
    "bankClearingAccount": "11001029"
  }
}

Relay allowlist (if you use a relay)

POST /sap/bc/srt/rfc/sap/zglg_acc_document_post/*

Not possible on S/4HANA Cloud, public edition, through released APIs as far as we know.

Full instructions in the S/4 setup guide →
Down payment requests, final invoice after a down paymentBasis team, once
GR/IR clearing: document type of GR/IR clearing postings (MR11), declared in the connection settings

GR/IR clearing

Enables: GR/IR clearing at month-end
Who: SAP expert, once

Steps

  1. Find the document type your system uses for GR/IR account maintenance (MR11): in a past MR11 posting (FB03) or in Customizing under Logistics Invoice Verification, GR/IR clearing account maintenance.
  2. Declare it in the connection settings. GoLiveGate creates nothing here: it counts clearing documents on the PO to see whether your agent cleared without approval.
  3. Activate API_OPLACCTGDOCITEMCUBE_SRV for GLG_HARNESS (also used for payments).

Connection settings

{ "accounting": { "grirClearingDocumentType": "<your MR11 document type>" } }

Relay allowlist (if you use a relay)

GET /sap/opu/odata/sap/API_OPLACCTGDOCITEMCUBE_SRV/*
Full instructions in the S/4 setup guide →
GR/IR clearing at month-endSAP expert, once
The GoLiveGate desk: nothing to install in SAP; your agent uses it for its inbox, workflow and mail during an eval

The GoLiveGate desk

Enables: Escalations, approvals and replies to suppliers
Who: Agent owner, once

Steps

  1. Nothing to set up in SAP: S/4 has no inbox, workflow or mail for your agent to reach people with, so GoLiveGate hosts them for each run.
  2. Each task carries the desk's address and a token for that run. Your agent reads its messages, creates escalation and approval tasks, and sends mail there.
  3. Connect your agent's channel to the desk API (see Agent integration in the eval guide). Without it, tasks that check escalations, approvals or replies are left out.
Full instructions in the S/4 setup guide →
Escalations, approvals and replies to suppliersAgent 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

  1. 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.

  2. 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.

  3. 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-relay

    The relay shows as Connected in the console, with the allowlist it reported.

  4. 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.

  5. 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.

  6. 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).

  7. 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.

  8. 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

Pass

Every run met every expectation.

Unstable

Some runs passed, some didn’t. For high-risk tasks this counts as a fail.

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.

CallWhat it doesNeeded
POST /tasksReceives 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 /healthAnswers 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.

ModeWhat your agent receives
On requestThe 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:

CallWhat it does
GET /messagesThe run’s inbox: invoices, emails, alerts, with attachments
POST /messages/{id}/processedClose a message when done
POST /tasksOpen an escalation, approval or verification task for a person
GET /tasks?reference=…Tasks about a document, with the decision once a person decided
POST /mailWrite 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 URLhttps://eval.golivegate.com/sap-sim/<your simulator id>
UserAP_AGENT, with your workspace’s own password
Where to find themIn the console: Connections → GoLiveGate simulator → Your agent’s access (admins and agent owners see the password, and can set a new one)
Sign-inHTTP Basic
FormatOData 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:

ServiceFor
API_SUPPLIERINVOICE_PROCESS_SRVSupplier invoices: post, park, release, cancel
API_PURCHASEORDER_PROCESS_SRVPurchase orders, items, account assignment, pricing, schedule lines
API_PURCHASEREQ_PROCESS_SRVPurchase requisitions
API_MATERIAL_DOCUMENT_SRVGoods receipts
API_BUSINESS_PARTNERSuppliers and bank details
API_PRODUCT_SRV, API_MATERIAL_STOCK_SRV, API_RESERVATION_DOCUMENT_SRVMaterials, stock and requirements
API_PURCHASECONTRACT_PROCESS_SRVPurchase contracts
API_OPLACCTGDOCITEMCUBE_SRVJournal 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:

CallWhat 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=newNew messages, for a scheduled sweep
POST /sim/inbox/messages/{id}/processedClose a message when done
POST /sim/workflow/tasksHand 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/sendWrite 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.