> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface.md).

# Command-line interface

You configure the SeaLights ABAP Agent using a command-line interface program (`slabapcli.exe`) installed to the agent's `bin` directory. The pages below are organized in the order you'd typically use them, from initial setup through ongoing pipeline monitoring.

## Prerequisites

Before you set up the Agent, the first step is to test your machine's connection to SeaLights. See [Set up the agent — Prerequisite to Agent Setup](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/set-up-the-agent.md#prerequisite-to-agent-setup) for the connectivity check commands.

<table data-view="cards"><thead><tr><th>Title</th><th>Description</th><th data-card-target data-type="content-ref">Target</th></tr></thead><tbody><tr><td><strong>Set up the agent</strong></td><td>Initialize the agent, connect it to SeaLights, and migrate legacy configurations.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/set-up-the-agent.md">Set up the agent</a></td></tr><tr><td><strong>Validate Your Setup</strong></td><td>Run a comprehensive health check of your ABAP agent setup in one command.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/validate-your-setup.md">Validate Your Setup</a></td></tr><tr><td><strong>Start the ABAP Agent Server</strong></td><td>Start, stop, and check readiness of the SeaLights ABAP Server Windows service (<code>slabapcli server</code>).</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/start-the-agent-server.md">Start the ABAP Agent Server</a></td></tr><tr><td><strong>Create, Test &#x26; List RFC Destinations</strong></td><td>Connect the agent to your QAS and Production SAP systems.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/create-test-and-list-rfc-destinations.md">Create, Test &amp; List RFC Destinations</a></td></tr><tr><td><strong>Upload usage data to an RFC Destination</strong></td><td>Provide your own ST03N usage data instead of pulling it live from Production.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/upload-usage-data-to-an-rfc-destination.md">Upload usage data to an RFC Destination</a></td></tr><tr><td><strong>Create &#x26; List Pipelines</strong></td><td>Link a QAS and Production system pair to a SeaLights application.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/create-and-list-pipelines.md">Create &amp; List Pipelines</a></td></tr><tr><td><strong>Configure Test Repositories</strong></td><td>Connect the pipeline to your test management tool (Tosca, qTest, Excel, and others).</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/configure-test-repositories.md">Configure Test Repositories</a></td></tr><tr><td><strong>Upload FLPCA data</strong></td><td>Import Fiori Launchpad catalog data — required for Fiori before running Search Test Repositories.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/upload-flpca-data.md">Upload FLPCA data</a></td></tr><tr><td><strong>Upload a Critical List</strong></td><td>Upload a CSV of business-critical transactions and programs to the pipeline's SeaLights application.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/upload-critical-list.md">Upload a Critical List</a></td></tr><tr><td><strong>Search Test Repositories</strong></td><td>Schedule the recurring scan that matches test cases to business contexts.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/search-test-repositories.md">Search Test Repositories</a></td></tr><tr><td><strong>Create an Initial Build Map for your Pipeline</strong></td><td>Take a one-time snapshot of ABAP components in use, based on Production usage data.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/create-an-initial-build-map-for-your-pipeline.md">Create an Initial Build Map for your Pipeline</a></td></tr><tr><td><strong>Validate Your Pipeline Setup</strong></td><td>Confirm the pipeline is configured correctly end-to-end before enabling continuous monitoring.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/validate-your-pipeline-setup.md">Validate Your Pipeline Setup</a></td></tr><tr><td><strong>Monitor your Pipeline for Build Modifications</strong></td><td>Configure the agent to detect code changes from transports imported into QAS.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/monitor-your-pipeline-for-build-modifications.md">Monitor your Pipeline for Build Modifications</a></td></tr><tr><td><strong>Collect Footprints data for your Pipeline</strong></td><td>Configure the agent to collect test-execution data from your connected test tool.</td><td><a href="/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/collect-footprints-data-for-your-pipeline.md">Collect Footprints data for your Pipeline</a></td></tr></tbody></table>

## Run the command-line interface <a href="#toc201668086" id="toc201668086"></a>

To display the command-line interface's help file, open a terminal as an Administrator and change to the agent's `bin` directory (default: `C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin`).

{% tabs %}
{% tab title="Command Prompt" %}
{% code overflow="wrap" %}

```batch
cd "C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin"
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code overflow="wrap" %}

```powershell
cd "C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin"
```

{% endcode %}
{% endtab %}
{% endtabs %}

Then run the following:

{% tabs %}
{% tab title="Command Prompt" %}
{% code title="Command" overflow="wrap" %}

```batch
slabapcli.exe --help
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe --help
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% code title="Expected output (PowerShell)" overflow="wrap" lineNumbers="true" %}

```log
.\slabapcli.exe --help
slabapcli


C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin\slabapcli.exe [OPTIONS] SUBCOMMAND


OPTIONS:
  -h,     --help              Print this help message and exit
          --version           Display the slabapcli version and exit
  -c,     --config TEXT       config pathname
  -l,     --log_level TEXT [info]
                              log level

SUBCOMMANDS:
  rfc                         Manage RFC destinations
  sealights                   Manage the SeaLights connection
  setup                       Install, configure, and health-check the agent
  server                      Install, control, and check the SLABAPServer Windows service
  pipeline                    Manage SeaLights pipelines
  buildmap                    Collect the SeaLights build map
  buildmods                   Collect SeaLights build modifications
  footprints                  Collect SeaLights footprints
  upload                      Upload commands
  upload_flpca                Run upload_flpca import/status commands
  search_testrepo             Manage scheduled search_testrepo commands
  testrepo                    Manage test-repo commands
  purger                      Schedule deletion of aged logs (*.log) and private artifacts
                              (*.json, *.db, *.xml)
  settings                    Show the agent settings
  security                    Security operations on configuration and database files
  proxy                       Manage proxy configuration
```

{% endcode %}

To display the help for a specific command group, run `slabapcli.exe <resource> --help` (or `-h`). The word `help` on its own is not a command: `slabapcli.exe settings help` fails with an error saying that a subcommand is required.

{% tabs %}
{% tab title="Command Prompt" %}
{% code title="Command" overflow="wrap" %}

```batch
slabapcli.exe settings --help
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe settings --help
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% code title="Expected output (PowerShell)" overflow="wrap" lineNumbers="true" %}

```log
.\slabapcli.exe settings --help
Show the agent settings


C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin\slabapcli.exe settings [OPTIONS] SUBCOMMAND


OPTIONS:
  -h,     --help              Print this help message and exit
          --version           Display the slabapcli version and exit
  -c,     --config TEXT       config pathname
  -l,     --log_level TEXT [info]
                              log level

SUBCOMMANDS:
  list                        List the agent settings
```

{% endcode %}

## Commands

Each command group contains the following commands.

| Command group     | Commands                                                                                                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `setup`           | `install`, `uninstall`, `list`, `migrate`, `upgrade`, `status`                                                                              |
| `settings`        | `list`                                                                                                                                      |
| `sealights`       | `list`, `test`, `set`                                                                                                                       |
| `proxy`           | `list`, `set`                                                                                                                               |
| `server`          | `install`, `uninstall`, `start`, `stop`, `status`                                                                                           |
| `rfc`             | `list`, `test`, `set`, `phd`                                                                                                                |
| `pipeline`        | `list`, `set`                                                                                                                               |
| `testrepo`        | `list`, `test`, `set`                                                                                                                       |
| `search_testrepo` | `run`, `stop`, `status`                                                                                                                     |
| `upload_flpca`    | `import`, `status`                                                                                                                          |
| `upload`          | `critical_list`, `flpca import`, `flpca status` (`upload flpca import\|status` is an alternative spelling of `upload_flpca import\|status`) |
| `buildmap`        | `run`                                                                                                                                       |
| `buildmods`       | `run`, `stop`                                                                                                                               |
| `footprints`      | `run`, `stop`                                                                                                                               |
| `purger`          | `run`, `stop`                                                                                                                               |

## Global options

These options are available on every command. You can place them before or after the command.

| Option                      | Description                                                                                                                              |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `-c`, `--config <path>`     | Path to the `config.toml` file to use. If you omit it, the agent uses `%ProgramData%\Tricentis\SeaLights\ABAP Agent\config\config.toml`. |
| `-l`, `--log_level <level>` | Verbosity of the messages the command prints, for example `debug` for more detail. Default: `info`.                                      |
| `--version`                 | Display the `slabapcli` version and exit.                                                                                                |
| `-h`, `--help`              | Display help for the command or command group and exit.                                                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
