> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# buildSAP

> This operation generates an archive file for SAP Transport Requests, Java etc. SAP Transport Requests will be released on ABAP AS resource type and co

This operation generates an archive file for SAP Transport Requests, Java etc. SAP Transport Requests will be released on ABAP AS resource type and copies co-files and data files from trans directory (`FDSAP_TRANS_DIR`) to artifacts. Java files will be exported from configured SCM. Supports only Package-Based Projects.

> [!NOTE]
>
> Package name mapped to Transport request id for ABAP objects.

This operation produces artifacts like the ones below.

![image-20240329-162854.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596421164.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=05df44678347b49ea3e1b4dfc866a1ff)

The java files archived to java.zip and SAP Transport objects archived to trans.zip.

The sample folder structure of java.zip look like the following

* Java

  * CalcualatorEar.ear

  * CalculatorEjb.jar

  * CalculatorWeb.war

The folder structure of trans.zip look like the following

* cofiles

  * K900026.LT1

* data

  * R900026.LT1

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>SAP Host Name</td><td>`FDSAP_HOST_NAME`</td><td>Yes</td><td>Host Name of the SAP server</td></tr><tr><td>Username</td><td>`FDSAP_USER_NAME`</td><td>Yes</td><td>Username to connect to SAP server</td></tr><tr><td>Password</td><td>`FDSAP_PASSWORD`</td><td>Yes</td><td>Password to connect to SAP server</td></tr><tr><td>Instance Number</td><td>`FDSAP_INSTANCE_NUMBER`</td><td>Yes</td><td>Instance number of the SAP server</td></tr><tr><td>Client Number</td><td>`FDSAP_CLIENT_NUMBER`</td><td>Yes</td><td>Client number of the SAP server</td></tr><tr><td>Transport Directory</td><td>`FDSAP_TRANS_DIR`</td><td>Yes</td><td>SAP Transport Directory stores the data files between transports.</td></tr></tbody></table>

# Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

# Endpoint Selection

This operation will select all available endpoints associated to the target.

# Endpoint Execution

This operation will execute on all of the selected endpoints and will execute on each of the selected endpoints.
