SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Push Your ABAP Source Code from SAP BTP, ABAP Environment to a GitHub Repository using abapGit

Push Your ABAP Source Code from a SAP BTP, ABAP environment instance to a GitHub repository using the ADT plugin for abapGit.

Overview

You will learn

  • How to create or adapt source code in ABAP instance
  • How to open abapGit repositories
  • How to stage and commit ABAP development objects
Merve Temel M Merve Temel August 21, 2026
Created on March 21, 2023
Contributors

More from Merve Temel

See all 44 tutorials by Merve Temel →

Prerequisites

Prerequisites

  • You need an SAP BTP, ABAP environment trial user or a license.
  • You have installed the abapGit plugin.
  • Generate a personal access token in GitHub, here

Steps

Step 1 Create or adapt source code in ABAP instance

  1. Open ABAP Development Tools and logon to your ABAP system.

    Add ABAP development object to your already existing package TESTABAPGIT (e.g. ABAP class).

    Therefore right-click on Classes and select New ABAP Class.

    create
    create

  2. Create a package:

    • Name: Z_Class_YYY
    • Description: new class

    create
    create

    Click Next >.

  3. Click Finish

    create
    create

  4. Implement your newly created class.

    create
    create

    Save and activate.

Step 2 Open abapGit repositories
+
Step 3 Stage and commit ABAP development objects
+
Step 4 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Create or adapt source code in ABAP instance 2. Open abapGit repositories 3. Stage and commit ABAP development objects 4. Test yourself