Skip to main content

Installation

abapGitAbout 2 mingetting-started

Summary

abapGit exists in 2 flavours: standalone version or developer version.

  • The standalone version is targeted at users. It consists of one (huge) program which contains all the needed code. You run the standalone version in transaction SE38, executing the program you created.
  • The developer version is targeted at developers contributing to the abapGit codebase. It consists of all the ABAP programs/classes/interfaces/etc. of the abapGit project. You run the developer version with transaction ZABAPGIT. Only the developer version supports parallel processing, so it might be of interest to you even if you do not intend to contribute.

Note

There's also an SAP version of abapGit available that is part of SAP Business Technology Platform and SAP S/4HANA Cloud. It's documented on help.sap.comopen in new window. When using the SAP version, note that there are different capabilities and supported object types (as described by SAP). If the SAP version does not work correctly, open a ticket with SAP supportopen in new window.

Prerequisites

abapGit requires SAP BASIS version 702 or higher.

abapGit works best with SAP GUI for Windows. Check SAP GUI for details about the SAP GUI Browser Control and other SAP GUI versions (for Java or for HTML).

You can check your system for recommended SAP Notes using Note Analyzer.

Install Standalone Version

  1. Download the ABAP codeopen in new window (right click -> save-as) to a file.
  2. Via SE38, SE80, or ADTopen in new window, create a new report named ZABAPGIT_STANDALONE (formerly ZABAPGIT_FULL). Note: Do not use the name ZABAPGIT if you plan to install the developer version.
  3. In source code change mode, upload the code from the file using Utilities -> More Utilities -> Upload/Download -> Upload
  4. Activate

Typically, abapGit will only be used in the development system, so it can be installed in a local $ package (e.g. $ZABAPGIT).

Now you can use abapGit by executing the report in transaction SE38.

Install Developer Version

In order to contribute to the abapGit project, you install the developer version. First, log on to your SAP system in English (language EN) and install the standalone version (see above).

The prerequisite to using the online feature is that SSL must be set up. If your system is not connected to the Internet (e.g. behind a firewall) or doesn't allow proper SSL configuration, then you can use the offline scenario (see below).

  1. Run the standalone version of abapGit
  2. On the repository list page, select "New Online"
  3. Enter https://github.com/abapGit/abapGit/ for the URL
  4. Enter package name $ABAPGIT (or select an existing or create a new package)
  5. Select "Create Online Repo"
  6. Select "Pull"

Transaction ZABAPGIT is now available to run the developer version.

Offline

Download the latest version of the abapGit developer version from https://github.com/abapGit/abapGit/open in new window. Select Code > Download ZIP and save the file locally.

  1. Run the standalone version of abapGit
  2. On the repository list page, select "New Offline"
  3. Enter repo name abapGit and package name $ABAPGIT (or select an existing or create a new package)
  4. Select "Create Offline Repo"
  5. Select "Import zip"
  6. Select the abapGit-main.zip file
  7. Select "Pull zip"

Transaction ZABAPGIT is now available to run the developer version.