GitHub Integration #

ABAPer integrates with GitHub so you can browse repositories, import ABAP source files, view branches and commits, and create pull requests — all without leaving the IDE.

Two sidebar panels handle GitHub: the Git panel and the GitHub Explorer panel.

Connecting Your GitHub Account #

  1. Click the GitHub icon in the left sidebar to open the GitHub Explorer
  2. Click Connect GitHub
  3. Authorize the ABAPer application on GitHub (scope: repo and read:user)
  4. You are redirected back with your account connected

Your GitHub username appears in the panel with a Disconnect button. The token is stored in browser localStorage and persists across sessions.

GitHub Explorer Panel #

Browse repository contents directly from the sidebar.

Browsing a Repository #

  1. Enter a repository as owner/repo (e.g., bluefunda/abaper)
  2. Select a branch from the dropdown
  3. Click Load File Tree
  4. Click folders to expand — tree loads lazily
  5. Double-click a file to open it in the editor (read-only)

Files from GitHub open in read-only tabs. You can view the code, copy it, or reference it while editing SAP objects.

Git Panel #

The Git panel (branch icon in the sidebar) shows broader repository activity.

Search repositories by name. Results show the full name and description.

Branches #

When a repository is selected, branches are listed (up to 10). Protected branches show a protected badge.

Recent Commits #

View the 10 most recent commits with hash, message, and author.

Pull Requests #

Browse PRs with color-coded state:

StateColor
OpenGreen
MergedPurple
ClosedRed

Click the external link icon to open a PR on GitHub.

Creating a Pull Request #

  1. Fill in the Title
  2. Select Head branch (your feature branch)
  3. Select Base branch (target, usually main)
  4. Add a Description
  5. Click Create Pull Request

AI-Powered GitHub Operations #

The AI agent has access to GitHub tools via MCP. You can ask the assistant to:

  • Search for repositories
  • List branches and commits
  • Get file contents from a repository
  • Create or update files
  • Create pull requests and issues
  • Create new branches

Example prompts:

Show me the branches in bluefunda/abaper
Get the contents of README.md from bluefunda/abaper main branch
Create a pull request from feat/new-feature to main with title "Add validation logic"

Use Cases #

Importing ABAP Code from GitHub #

If your team stores ABAP in GitHub (e.g., via abapGit):

  1. Open the GitHub Explorer
  2. Navigate to the .abap file
  3. Double-click to view it in the editor
  4. Copy the code or reference it while editing SAP objects

Reviewing Changes #

  1. Open a SAP object in one tab (via Ctrl+P)
  2. Open the same file from GitHub in another tab
  3. Switch between tabs to compare

Managing PRs from the IDE #

Use the Git panel to view recent PRs, create new ones, and link to GitHub for full review workflows.