> 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/create-an-initial-build-map-for-your-pipeline.md).

# Create an Initial Build Map for your Pipeline

A Pipeline's Initial Build Map is a snapshot of the standard and custom ABAP code components in the Pipeline's QAS system (and their related objects), based on usage data from the Pipeline's Production system.

{% hint style="danger" %}
**ABAP Agent is not compatible with ABAP Agent 1.3.0.70 and earlier.** You cannot continue using your existing 1.3 installation, SAP add-on, local agent data, or SeaLights application history with the current release. See [Upgrading ABAP Agent version](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/upgrading-abap-agent-version.md#compatibility-with-earlier-abap-agent-versions) for the full requirements and required actions. Documentation for the legacy product line (1.3 and earlier) is under [ABAP Agent 1.x](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/abap-agent.md) in this section.
{% endhint %}

{% hint style="info" %}
SAP Basis objects (delivery units **SAP\_BASIS** and **SAP\_UI**) are automatically excluded from the build map. To customize which components are excluded, use the `[componentstoignore]` section in `config.toml`. See [Configuration settings](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/configuration-settings.md#componentstoignore).
{% endhint %}

{% hint style="info" %}
This procedure uses `config.toml` and SQLite databases under `%ProgramData%\Tricentis\SeaLights\ABAP Agent` (the build map reads and writes both). Install the agent with `slabapcli setup install` before you run `buildmap run`.
{% endhint %}

## `slabapcli buildmap run`

Creates an Initial Build Map for a pipeline. The agent schedules a one-time `INIT_BUILD_MAP` Windows Scheduled Task that runs approximately two minutes after the command is issued.

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

```batch
slabapcli.exe buildmap run --pipeline <pipeline-name>
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe buildmap run --pipeline <pipeline-name>
```

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

| Parameter          | Required | Description                                      |
| ------------------ | -------- | ------------------------------------------------ |
| `-p`, `--pipeline` | Yes      | The pipeline name (as shown in `pipeline list`). |

### Example

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

```batch
slabapcli.exe buildmap run --pipeline "HH_SLABAPCLI_170625"
```

{% endcode %}
{% endtab %}

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

```powershell
.\slabapcli.exe buildmap run --pipeline 'HH_SLABAPCLI_170625'
```

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

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

```log
.\slabapcli.exe buildmap run --pipeline 'HH_SLABAPCLI_170625'
[2025-06-17 15:28:19.807+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-17 15:28:19.807+01:00] [info] Config pathname: C:\ProgramData\Tricentis\SeaLights\ABAP Agent\config\config.toml
```

{% endcode %}

The agent creates a scheduled `INIT_BUILD_MAP` task that runs **once only** (approximately two minutes from now) to create the Initial Build Map.

{% hint style="info" %}
You can also create an Initial Build Map directly by running `watcher.exe INIT_BUILD_MAP --pipeline <pipeline-name>` from the command line.
{% endhint %}

{% hint style="info" %}
**After the Initial Build Map completes:** To refresh cache, PHD, object links, and the impacted graph on a recurring schedule without re-running `generate_common` or `generate_buildmap`, use [Refresh links and impacted graph](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/command-line-interface/refresh-links.md) (`slabapcli refresh_links`). That command does not create the first SeaLights build.
{% endhint %}

In SeaLights, select the **Filter** button to add the app for your Initial Build Map to the Coverage Dashboard.

<figure><img src="/files/TlHKzxqcLBDyT9gKwMbr" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/M8ZFq1pt0J2edzgAgqNa" alt=""><figcaption></figcaption></figure>


---

# 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/create-an-initial-build-map-for-your-pipeline.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.
