Skip to Content

Use abapGit to Transfer Your On-Premise ABAP Source Code to the Cloud

0 %
Use abapGit to Transfer Your On-Premise ABAP Source Code to the Cloud

Use abapGit to Transfer Your On-Premise ABAP Source Code to the Cloud

Requires Customer/Partner License
January 7, 2021
Created by Niloofar Naseri
November 22, 2018
Transfer Your ABAP Source Code from your on-premise SAP system to your SAP Cloud Platform ABAP Environment instance over a Github Repository using the abapGit report and the ADT plugin for abapGit.

You will learn

  • How to create content in an on-premise system and push it to Git repository
  • How to import the content from Git repository into a SAP Cloud Platform ABAP Environment instance
QR code


  • or similar account
  • SAP Cloud Platform ABAP Environment system and user with developer role
  • on-premise system with user and required root CA of Git server (STRUST)
  • Download Eclipse Photon or Oxygen and install ABAP Development Tools (ADT). See
  • For More information see Working with abapGit

Step 1: Create a Git repository
  1. Log in to your account.

  2. Create a new repository by clicking on New repository button.

    new repository

  3. Enter a name and description and check the checkbox Initialize this repository with a README and click Create repository.

    create repository

  4. Our repository is all set up for now.

    create repository

Log on to answer question
Step 2: Install and set up abapGit

As next you need to install abapGit on our on-premise system.

Important! Arrange with your system administrator before you install zabapgit.

  1. Copy the content of the latest build from the program zabapgit, that you will find in the abapGit repository

  2. Open your on-premise system of your choice and create a new program and paste the content from step 1 into it.

  3. Activate and execute the program.

  4. If you have installed abapGit before, you need to go to SE38, search for ZABAPGIT program and press Execute.

    search program

  5. Now abapGit is installed and open.
    execute program

You can find all installation information under > Documentation/Guides.

Log on to answer question
Step 3: Push ABAP source from on-premise to Git repository

Important! Logon with language EN to your on-premise system. SAP Cloud Platform ABAP Environment just supports EN at the moment. Otherwise you’ll get problem during import.

  1. Click on Clone or download and copy the URL of your repository.


  2. Then go into transaction ZABAPGIT and press the + Online button.

    add online

  3. Paste the repository URL and click on Create Package.

    repository URL

  4. Enter a name and description and LOCAL as Software Component and click on Continue.


  5. Click on OK.

    create package

  6. You will see the cloned Git repository in abapGit.


Log on to answer question
Step 4: Add ABAP development objects
  1. Open your on-premise system in ADT in Eclipse and find your created Package in the last step.

  2. Add ABAP development objects to your package (e.g. ABAP class).

    development objects

Important! Not supported ABAP object types will be ignored during import.

Log on to answer question
Step 5: Stage and commit developed objects
  1. Go back to the abapGit UI and click on Refresh to see all developments objects that you created in Eclipse.


  2. Press Stage.


  3. Select single objects to add or Add all and commit.

    add all

  4. Enter committer name, committer e-mail and a comment and press Commit.


  5. You will be prompted with a credentials popup. Enter your Git repository server credentials and click Execute.

    enter credentials

  6. After everything went well, you can see the pushed ABAP objects in your Git repository.

    repository updated

Log on to answer question
Step 6: Install abapGit Eclipse plugin
  1. Open your Eclipse with installed ADT.

  2. In Eclipse, choose in the menu bar Help > Install New Software.


  3. Add the URL press enter to display the available features. Select abapGit for ABAP Development Tools (ADT) and install the plugin.

    enter URL

Log on to answer question
Step 7: Open abapGit repositories
  1. Select your cloud project system in the Project Explorer and open the abapGit repositories view by opening Window > Show View > Other ….


  2. Expand the category ABAP and select abapGit Repositories and click Open

    expand ABAP

Log on to answer question
Step 8: Clone Git repository into SAP Cloud Platform ABAP Environment
  1. Click the clone button (green + button) in the abapGit repositories view.

    clone button

  2. Enter your Git repository URL and press Next.

    enter repository

  3. Select Branch and a Package, where your Git repository should be cloned. (If you have no packages, you need to create a new one before) and click Next.

    choose package

  4. Select a Transport Request and click Finish.


  5. Open the abapGit repositories tab, right-click on your package and click pull.


  6. Your imported sources are now available under your package.


Log on to answer question
Step 9: Test yourself
Which user do you need to be able to create a new repository in Git?

Next Steps

Back to top