> 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/command-line-interface/create-and-list-pipelines.md).

# Create & List Pipelines

## Create a Pipeline <a href="#toc201668098" id="toc201668098"></a>

A Pipeline identifies a QAS (or DEV) and Production system in your SAP landscape, and links them to a SeaLights application.

Creates a pipeline that links a QAS (or DEV) and Production system in your SAP landscape to a SeaLights application.

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

```batch
slabapcli.exe pipeline set --appname <app> --qas <rfc> --prd <rfc> [--name <name>] [--labid <labid>]
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe pipeline set --appname <app> --qas <rfc> --prd <rfc> [--name <name>] [--labid <labid>]
```

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

| Parameter   | Required                  | Description                                                                                                                                                                      |
| ----------- | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--appname` | Yes                       | The SeaLights application name to associate with this pipeline.                                                                                                                  |
| `--qas`     | One of `--qas` or `--dev` | The QAS RFC Destination name.                                                                                                                                                    |
| `--dev`     | One of `--qas` or `--dev` | The DEV RFC Destination name. Use this instead of `--qas` when your source system is a DEV system. The key is stored as `dev` in the config file and is not normalized to `qas`. |
| `--prd`     | Yes                       | The PRD RFC Destination name.                                                                                                                                                    |
| `--name`    | No                        | A custom name for the pipeline. If omitted, the name is auto-generated as `<appname>-<qas>` (for example, `myapp-S21`). Allowed characters: `A-Za-z0-9._-`                       |
| `--labid`   | No                        | The lab ID for this pipeline. If omitted, it is auto-generated as `<QAS SID> <QAS RFC hostname>` (for example, `S21 vwsvtstsap13.tricentis.com`).                                |

{% hint style="info" %}
Multiple pipelines can share the same `--appname`. Each pipeline's name must be unique — the auto-generated name (`appname-qas`) ensures this when pipelines use different QAS systems.
{% endhint %}

## Example: Create a pipeline using a QAS system

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

```batch
slabapcli.exe pipeline set --appname "ALM_Demo" --qas "S21" --prd "S23"
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe pipeline set --appname 'ALM_Demo' --qas 'S21' --prd 'S23'
```

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

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

```log
.\slabapcli.exe pipeline set --appname 'ALM_Demo' --qas 'S21' --prd 'S23'
[2026-03-08 10:33:36.956+02:00] [info] Detected Windows version: Windows 11
[2026-03-08 10:33:36.957+02:00] [info] Config pathname: ../config/config.toml
[2026-03-08 10:33:37.012+02:00] [info] Pipeline 'ALM_Demo-S21' has been created in '../config/config.toml'. Use this name with the buildmap, footprints, and buildmods commands.
```

{% endcode %}

{% hint style="info" %}
If a pipeline with the same name already exists, the command updates it and prints `has been updated` instead of `has been created`.
{% endhint %}

This writes the following entry to `config.toml`:

{% code title="config.toml" %}

```toml
[[pipeline]]
  name = "ALM_Demo-S21"
  appname = "ALM_Demo"
  qas = "S21"
  prd = "S23"
  labid = "S21 vwsvtstsap13.tricentis.com"
  disablesetref = false
```

{% endcode %}

## Example: Create a pipeline using a DEV system

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

```batch
slabapcli.exe pipeline set --appname "ALM_Demo" --dev "S21" --prd "S23"
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe pipeline set --appname 'ALM_Demo' --dev 'S21' --prd 'S23'
```

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

This writes the following entry to `config.toml`. Note that the key is stored as `dev`, not `qas`:

{% code title="config.toml" %}

```toml
[[pipeline]]
  name = "ALM_Demo-S21"
  appname = "ALM_Demo"
  dev = "S21"
  prd = "S23"
  labid = "S21 vwsvtstsap13.tricentis.com"
  disablesetref = false
```

{% endcode %}

## List Pipelines

To list the Pipelines defined in your `config.toml` file, run the following from your PowerShell window:

Lists all pipelines defined in your `config.toml` file. The pipeline `name` is the identifier you use when running `buildmap`, `buildmods`, and `footprints` commands.

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

```batch
slabapcli.exe pipeline list
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe pipeline list
```

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

This command takes no parameters.

## Example

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

```log
.\slabapcli.exe pipeline list
[2026-03-08 10:58:38.376+02:00] [info] Detected Windows version: Windows 11
[2026-03-08 10:58:38.377+02:00] [info] Config pathname: ../config/config.toml
appname       : ALM_Demo
name          : ALM_Demo-S21
qas           : S21
prd           : S23
labid         : S21 vwsvtstsap13.tricentis.com
disablesetref : false
Use the pipeline name 'ALM_Demo-S21' with the buildmap, footprints, and buildmods commands.

appname       : ALM_Demo
name          : ALM_Demo-S23
qas           : S23
prd           : S23
labid         : S23 vlsvprdsap02.tricentis.com
disablesetref : false
Use the pipeline name 'ALM_Demo-S23' with the buildmap, footprints, and buildmods commands.
```

{% 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:

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

The question should be specific, self-contained, and written in natural language.
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.
