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 #
- Click the GitHub icon in the left sidebar to open the GitHub Explorer
- Click Connect GitHub
- Authorize the ABAPer application on GitHub (scope:
repoandread:user) - 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 #
- Enter a repository as
owner/repo(e.g.,bluefunda/abaper) - Select a branch from the dropdown
- Click Load File Tree
- Click folders to expand — tree loads lazily
- 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.
Repository Search #
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:
| State | Color |
|---|---|
| Open | Green |
| Merged | Purple |
| Closed | Red |
Click the external link icon to open a PR on GitHub.
Creating a Pull Request #
- Fill in the Title
- Select Head branch (your feature branch)
- Select Base branch (target, usually
main) - Add a Description
- 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):
- Open the GitHub Explorer
- Navigate to the
.abapfile - Double-click to view it in the editor
- Copy the code or reference it while editing SAP objects
Reviewing Changes #
- Open a SAP object in one tab (via Ctrl+P)
- Open the same file from GitHub in another tab
- 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.