SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

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

🎓 beginner 10 min. SAP BTP ABAP EnvironmentBeginnerABAP DevelopmentSAP Business Technology Platform

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 July 7, 2026
Created by March 9, 2023
Contributors

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

Learn more →