> For the complete documentation index, see [llms.txt](https://releaseowl.gitbook.io/releaseowl-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://releaseowl.gitbook.io/releaseowl-docs/releaseowl-user-guide/sap-btp/build-pipelines/btp-applications.md).

# BTP Applications

The **BTP Applications** module is used to manage SAP BTP applications, including support for multiple **MTA Extension (MTAEXT) files** and build tasks within Release Pipelines.

#### Create a BTP Application

1. Navigate to the **BTP Applications** section.
2. Click **New BTP Application**.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2FRrr5hSZgJ0xDPKjBFvTR%2Fimage.png?alt=media&amp;token=f869a866-9b3d-4dc8-880d-0c5544eeffe6" alt=""><figcaption></figcaption></figure>

#### Application Details

| Field                               | Type          | Description                                                                                                                                                                                       |
| ----------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Application Name                    | Text          | Unique name of the application. Read-only after creation.                                                                                                                                         |
| Description                         | Text          | Optional free-text description.                                                                                                                                                                   |
| Version Control System              | Dropdown      | The Git provider: Bitbucket, GitHub, Azure DevOps, or GitLab.                                                                                                                                     |
| Repository URL                      | Text          | URL of the application’s Git repository.                                                                                                                                                          |
| SCM Credentials                     | Picker        | The Git credential registered in Administration (§2.1).                                                                                                                                           |
| Branching Model                     | Dropdown      | Feature Branch Model or Cherry-Pick Model. Mutually exclusive and read-only after creation.                                                                                                       |
| Create Feature Branch From Branch   | Text          | The default base branch from which feature/hotfix branches are created as part of the branching strategy. This value pre-fills (and can be overridden) when a branch is created for a user story. |
| Build Pipeline for Dynamic Branches | Picker + info | The build pipeline used to build dynamic branches — e.g. hotfix branches and staging branches — that are created on the fly and do not have a fixed per-environment pipeline.                     |

* After entering all the required details, click **Create** to create the BTP Application.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2F5UaDste8JH98VWJ7MHvH%2Fimage.png?alt=media&amp;token=8ae8dd04-224c-40cd-b9ad-eb48ebb6330d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Both Application Name and Branching Model can only be set at creation time; they are greyed out (read-only) when editing an existing application.
{% endhint %}

#### Configure Environment Branches

1. Click the **Actions** button corresponding to the BTP Application.
2. Select **Edit**.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2F7zsVKNDcvpTyqq4LN6ls%2Fimage.png?alt=media&amp;token=7d2ba07f-a4a4-4799-b198-0ef8f87fa18e" alt=""><figcaption></figcaption></figure>

3. **Landscape Configuration**: The Landscape Configuration defines, for each SAP Cloud environment, which Git branch it maps to, which Build Pipeline builds it, and which MTA extension files apply. Add one row per environment (Development, QA, Production,...).
4. Click the **+ Add** button.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2Fc2wY0wQQtqY1Ffv27mbZ%2Fimage.png?alt=media&amp;token=126f28dd-0bcd-4830-b1d4-fefefd561b3a" alt=""><figcaption></figcaption></figure>

**Landscape Fields:**

| Field                        | Type     | Description                                                                                                                                                                   |
| ---------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SAP Cloud Environment        | Dropdown | The target environment for this row.                                                                                                                                          |
| Build Pipeline               | Picker   | The build pipeline that builds this environment’s branch.                                                                                                                     |
| Branch                       | Text     | The Git branch mapped to this environment (e.g. dev, qa, main).                                                                                                               |
| Development Branch           | Checkbox | Marks this environment’s branch as the development branch. In the Cherry-Pick model, this is the branch from which commits are populated when adding changes to a user story. |
| MTA Extension File (.mtaext) | Upload   | Environment-specific MTA extension file(s). Use Browse… then Upload File; uploaded files appear in the list below and are applied at deployment time for this environment.    |

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2FAdbSJBbLa1J22xGU04Gw%2Fimage.png?alt=media&amp;token=b653b783-ea4e-454c-b64c-96da470c33a6" alt=""><figcaption></figcaption></figure>

5. Click **Save** to add the application configuration.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2Fmfj0tcGw06T7FMY3EFKM%2Fimage.png?alt=media&amp;token=96c4bf7a-4ff0-489f-acfc-b900253ff354" alt=""><figcaption></figcaption></figure>

#### **Landscape configuration - CherryPick Model**

For applications using the **Cherry Pick Model**, designate one environment branch as the **Development Branch**.

**Is Dev Branch:** Enable the **Is Dev Branch** option for the environment branch that serves as the Development Branch.

When a Development Branch is configured:

* ReleaseOwl retrieves the available commits from the Development Branch.
* During User Story creation, users can select the required commits and associate them with the User Story.
* Only the selected commits are included in the build and promoted through the release pipeline.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2Fzat6pSAr79GBLrBat2xO%2Fimage.png?alt=media&amp;token=057d6852-87be-4bdd-91a2-2ad7da9fd148" alt=""><figcaption></figcaption></figure>
