> 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="/pages/54pGpo5ULmlonbluKqHL">/pages/54pGpo5ULmlonbluKqHL</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="/pages/A8FSceuQXginyDTL5f4z">/pages/A8FSceuQXginyDTL5f4z</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="/pages/zPfkH57Cxw3SCdFvArqI">/pages/zPfkH57Cxw3SCdFvArqI</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="/pages/fw9npSbrE9ByW6ww8CGd">/pages/fw9npSbrE9ByW6ww8CGd</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="/pages/edqS0kWLEcXgW4rYb5N5">/pages/edqS0kWLEcXgW4rYb5N5</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="/pages/RZTKL0g90WmKm4Prs0gG">/pages/RZTKL0g90WmKm4Prs0gG</a></td></tr><tr><td><strong>Start the ABAP Agent Server</strong></td><td>Start SLABAPServer.exe, required for test-repository search, build map, and FLPCA operations.</td><td><a href="/pages/jjXJbDJ9CnFBYzl2NDMP">/pages/jjXJbDJ9CnFBYzl2NDMP</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="/pages/3dzoIdoAGQw91N8Jpn6t">/pages/3dzoIdoAGQw91N8Jpn6t</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="/pages/6f4WDLP7ZxZdqhvqwcMb">/pages/6f4WDLP7ZxZdqhvqwcMb</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="/pages/jGsSRDkKfOoRdFm3tqxl">/pages/jGsSRDkKfOoRdFm3tqxl</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="/pages/JZVVGs3ieGcAwmbZ8qqj">/pages/JZVVGs3ieGcAwmbZ8qqj</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="/pages/OVyJn64Uei6IIYc502CN">/pages/OVyJn64Uei6IIYc502CN</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="/pages/BtrDV52TrGwLRpGXR4Nd">/pages/BtrDV52TrGwLRpGXR4Nd</a></td></tr><tr><td><strong>Refresh links and impacted graph</strong></td><td>Refresh the SAP tables cache, PHD, object links, and impacted graph without a full rebuild.</td><td><a href="/pages/ykzZS6ytoIrvdYOjaEa2">/pages/ykzZS6ytoIrvdYOjaEa2</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
usage: slabapcli [-h|--help] [-c|--config <config pathname>] [-l|--log_level <log_level>] [--version] <resource> <command> [args]
resource:
  setup:
    install   : install
    uninstall : uninstall
    migrate   : migrate config to the latest supported version
    upgrade   : re-enable scheduled tasks after upgrade
    status    : aggregated agent / Sealights / RFC connectivity health report
  settings:
    list : list settings
  sealights:
    list : list sealights configuration
    test : test sealights configuration
    set  : set sealights configuration
  rfc:
    list : list rfc configurations
    test : test rfc configuration
    del  : delete rfc configuration
    set  : set rfc configuration
    phd  : import performance history data
  pipeline:
    list : list pipelines
    set  : set pipeline
  testrepo:
    list : list test repository configurations
    test : test test repository configuration
    set  : set test repository configuration
  search_testrepo:
    run    : configure scheduled search of test repositories
    stop   : stop scheduled search of test repositories
    status : show status of test repository search
  proxy:
    list : list proxy configuration
    set  : set proxy configuration
  buildmap:
    run : configure one-time collection of initial build map
  refresh_links : Schedule recurring refresh of links and impacted graph
  buildmods:
    run  : configure regular collection of build mods
    stop : stop collection of build mods
  upload_flpca:
    import : import FLPCA data from an RFC destination
    status : show FLPCA import status
  footprints:
    run  : configure regular collection of footprints
    stop : stop collection of footprints
  security:
    decrypt : decrypt config file and all sqlite db files

slabapcli <resource> help for resource specific help
```

{% endcode %}

You can run `slabapcli.exe <resource> help` to display the help for a specific resource.

{% 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
[2025-06-13 16:14:16.590+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-13 16:14:16.590+01:00] [info] Config pathname: C:\ProgramData\Tricentis\SeaLights\ABAP Agent\config\config.toml
settings <command>:
command:
  help : settings command help
  list : list settings
```

{% endcode %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
