![]() The filenames can become very long, for example, usage of many sub-packages, namespaces, objects like function groups, or BSP/Fiori apps with many sub-objects, or a long paths as starting folder. This can make the repository view very busy or render the output as a very wide table (see #5169, #5178). This exit allows to adjust the filename according to your own rules. Here's an example for shortening the display of files for sub-objects: ```abap METHOD zif_abapgit_exit~adjust_display_filename. DATA: lv_path TYPE string, lv_name TYPE string, lv_ext1 TYPE string, lv_ext2 TYPE string. SPLIT iv_filename AT '.' INTO lv_path lv_name lv_ext1 lv_ext2. IF lv_ext2 IS INITIAL. " Main object rv_filename = iv_filename. ELSE. " Sub object rv_filename = |…{ lv_ext1 }.{ lv_ext2 }|. ENDIF. ENDMETHOD. ``` |
||
---|---|---|
.github | ||
.vscode | ||
ci | ||
deps | ||
docs | ||
src | ||
test | ||
.abapgit.xml | ||
.devcontainer.json | ||
.editorconfig | ||
.eslintrc.yaml | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
abaplint.json | ||
changelog.txt | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
README.md |
Git client for ABAP
Works with: GitHub, GitLab, Assembla, Bitbucket, abapGitServer, AWS, TFS, Azure DevOps and more.
ABAP Version: 702 or higher
Latest build: zabapgit.abap
Notes: Some people reported that browsers have issues displaying the file with more than 100k lines. The easiest solution is to "Save as" the link above and then open it with any editor/viewer (notepad included) and copy from there. If your SAP GUI editor freezes when pasting the code, use Utilities > More Utilities > Upload/Download > Upload in the editor instead.
It is recommened to use SAP GUI for Windows, since there are known issues related to running abapGit and SAP GUI for Java. The focus of abapGit is on supporting ADT instead of supporting SAP GUI for Java.
Design Goals
- Easy installation
- Easy upgrade
- Small system footprint
- Code readable in git repository
Documentation/Guides
Contributing
You can find the contribution guidelines here.
Projects using abapGit
See dotabap.org or this page.
FAQ
For questions/comments/bugs/feature requests/wishes please create an issue.
Credits and references
Icons used in abapGit are created from Font Awesome free icon set (CC BY 4.0 License).