For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upgrading ABAP Agent version

When a new ABAP Agent 2.0 release is available, it is distributed at the same download location as the original installation. See Install WATCHER, SLABAPCLI and Server.

Before upgrading, review the ABAP Agent release notes for version-specific changes and authorization requirements.

Compatibility with earlier ABAP Agent versions

Required actions when moving to ABAP Agent 2.0:

  1. Install the new ABAP Agent 2.0 SAP add-on on your SAP landscape (it replaces the previous add-on and is not backwards compatible).

  2. Install ABAP Agent 2.0 and ensure your configuration is valid for schema version 4 (migrate and/or reconfigure as needed).

  3. Discard prior local agent build and graph data — do not reuse 1.3 local databases or coverage artifacts.

  4. Create a new SeaLights application for each pipeline. Do not reuse the 1.3 application or its history.

  5. Run a full initial build map for each pipeline before relying on coverage or test-impact results.

The ABAP Agent relies on scheduled tasks using the Windows Task Scheduler. Those tasks must be stopped before upgrading. See below.

Upgrading from a prior ABAP Agent 2.0 build

Use this section when you are already on ABAP Agent 2.0 and installing a newer 2.0 build.

1. Stop scheduled tasks

  1. Open Windows Task Scheduler.

  2. Under the SeaLights directory, select all FOOTPRINTS and BUILDMODS tasks.

  3. Make sure none of those tasks are actively processing:

    • FOOTPRINTS: No tests are currently running.

    • BUILDMODS: No transports are currently being imported.

  4. Click End, then click Disable on each selected task.

2. Stop the ABAP Agent Server

If SLABAPServer.exe is running in a console window, press Ctrl+C to stop it gracefully before running the installer.

Completing active tests and transports, ending and disabling the scheduled tasks above, and stopping a console server with Ctrl+C are required preparation before Setup. The installer can still detect leftover lock holders and ask to stop them, but that prompt is final protection — not a substitute for finishing in-flight work or preventing scheduled tasks from respawning.

3. Run the installer

Download the latest agent ZIP file and extract the installer. Run SeaLights_ABAP_Agent_Setup.exe as an administrator over the existing installation.

Setup follows a stop-then-replace sequence:

  1. It checks for the SLABAPServer Windows service and for SLABAPServer.exe, SLABAPAdapterHost.exe, or watcher.exe running from the selected installation's bin directory (not every similarly named process on the machine).

  2. In an interactive install, Setup asks whether to stop those processes and continue.

  3. Choosing Yes stops the lock holders and continues. Choosing No, or a failure to stop them, aborts installation before any files are replaced.

  4. In a silent install, Setup does not show the prompt: it automatically attempts the same stop and continues only if stopping succeeds; otherwise installation aborts.

After lock holders are stopped, Setup replaces all packaged agent files under the installation bin directory, including files whose installed version matches the packaged version. Replacement covers the packaged agent payload only — it does not remove arbitrary orphan or customer-added files under bin, and it does not wipe %ProgramData%\Tricentis\SeaLights\ABAP Agent. Configuration (config.toml), logs, and public and private userdata remain in place; Setup migrates the existing configuration after file replacement.

The installer then automatically runs setup migrate --yes (to bring config.toml to schema version 4) and setup upgrade (to re-enable scheduled tasks from the previous install) without requiring manual steps.

4. Restart the ABAP Agent Server

After the installer completes, start SLABAPServer.exe again. See Start the ABAP Agent Server.

5. Re-enable scheduled tasks

  1. In Windows Task Scheduler, select the same FOOTPRINTS and BUILDMODS tasks.

  2. Click Enable, then click Run.

6. Verify the upgrade

Run the following to confirm all components are healthy:

See Validate Your Setup for interpreting the output.


Migrating the configuration schema (2.0+ only)

If the installer does not run setup migrate (for example, in a manual or scripted 2.0 deployment), bring an existing 2.0 config.toml to schema version 4 yourself:

Add --yes (-y) to suppress interactive confirmation prompts:

For full details on what setup migrate does and how it transforms the configuration file, see Migrate a legacy configuration and Configuration settings.


Refreshing scheduled tasks

If scheduled tasks were not re-enabled automatically (for example, after a manual installation), run setup upgrade to re-enable them:

setup upgrade enables agent tasks that were registered by a previous install. It takes no flags.

Last updated

Was this helpful?