---
parser: v2
auto_validation: true
primary_tag: products>sap-btp--abap-environment
tags: [  tutorial>beginner, programming-tool>abap-development, products>sap-business-technology-platform, tutorial>license ]
time: 15
author_name: Niloofar Flothkoetter
author_profile: https://github.com/niloofar-flothkoetter
slug: abap-environment-gcts
canonical_url: https://developers.sap.com/tutorials/abap-environment-gcts
---

# Transport a Software Component Between two Systems
<!-- description --> Create and import a new software component into an SAP Business Technology Platform ABAP Environment instance, add ABAP sources and export it to a new SAP BTP ABAP Environment instance.

## Prerequisites  
 - You need developer user in two SAP BTP ABAP Environment systems under one global account.
 - Add the lifecycle management - Software Components business catalog (ID: `SAP_A4C_BC_MSCL_PC`) to your business role
 - Download Eclipse Photon or Oxygen and install ABAP Development Tools (ADT). See <https://tools.hana.ondemand.com/#abap>.
 - Read following blog post about [Software Lifecycle Management for SAP BTP ABAP Environment](https://blogs.sap.com/2019/11/13/software-lifecycle-management-for-sap-cloud-platform-abap-environment/).

## You will learn  
  - How to create and import a new software component into a SAP BTP ABAP Environment instance
  - How to add ABAP sources and export software component
  - How to import software component into a new SAP BTP ABAP Environment instance 

## Intro
>Always replace `####` with your initials or group number.

---


### Create software component via SAP Fiori launchpad

  1. Login to your first system Fiori launchpad as administrator and open **Manage Software Components** application.

      ![manage SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/SC1.png)

  2. Press **GO** to see the list of all already available software components.

      ![all SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash1.png)

  3. Click **Create** to create a new software component.

      ![add a new SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash2.png)

  4. Enter a **Software Component Name** and a **Description** and press **Create**.

 - Name: `Z_MY_APP_####`
 - Description: `my software component`

   ![enter data](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/save.png)

  5. In your created software component press **Clone**.

      ![clone](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash5.png)

  6. In the clone dialog select **Main** branch and click **Clone**.

      ![confirm clone](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/step1-5.png)

  7. You can check under **Recent Actions** if your clone is done.

      ![recent actions](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/step1-6.png)




### Add ABAP sources and export component


  1. Open Eclipse and connect with your developer user to your first ABAP system. Right-click **Favorite Packages** and select **Add Package**.

      ![add to favorites](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/favorite.png)

  2. Enter **`Z_MY_APP_####`**, select it and click **OK**.

      ![add to favorites](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/favorite2.png)

  3. Check your result.  

      ![add to favorites](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/eclipsenew1.png)

  4. Right-click your package **`Z_MY_APP_####`** and select **New** > **ABAP Package**.

      ![new package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash6.png)

  5. Create a package

 - Name: **`Z_PACKAGE_SC_####`**
 - Description: **`Package ####`**

 Click **Next**.

   ![create package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash7.png)

 >Your software component root package is a structure package, hence it's not allowed to create objects directly in this package. You need to add an additional development package and then you are able to add your objects.

  6. Select **Create a new request**

   - Request Description: **`TR####`**

   click **Finish**.

   ![create package2](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash8.png)

  7. Right-click your package **`Z_PACKAGE_SC_####`** and select **New** > **ABAP Class**.

      ![release tasks](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/c1.png)


  8. Create class in package `Z_PACKAGE_SC_####`:

     - Name: **`Z_CLASS_####`**
     - Description: **`Class ####`**

     Click **Next**.

     ![release tasks](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/c2.png)

  9. Select your transport request **`TR####`**. Click **Finish**. Save and activate your new class.


  10. To release your transport request and its subtasks open view **Transport Organizer**.

      ![release](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/release1.png)

  11. Right-click your subtasks and select **Release** to release all your subtasks.

      ![release tasks](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/release2.png)

  12. Afterwards right-click your transport request and select **Release** to release your transport request.

      ![release tasks](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/release3.png)

  13. You will get a message, that your release was successful. Click **OK** to close it.

      ![release tasks](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/release4.png)


### Update or import software component again

  1. Open **Manage Software Components** app on your second systems Fiori launchpad.

      ![manage SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/SC1.png)

  2. Press **GO** to load all available software components.

      ![all SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash1.png)

  3. Select your software component and press **Clone**. This will either update the software component if it is already imported into the second system or import the software component if it is not present in the second system.

      ![import SC](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/dash5.png)

  4. In the clone dialog select **Main** branch and click **Clone**.

      ![confirm clone](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/step1-5.png)

  5. You can check under **Recent Actions** if your clone is done.

      ![recent actions](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/step1-6.png)


### Check the imported software component

  1. Open Eclipse and connect with your developer user to your second ABAP system and add your imported software component to your **Favorite Packages**. Check if all objects are imported.

      ![add to favorites](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-environment-gcts/eclipsenew.png)


### Test yourself



---
