SAP from giving up to getting started series abapGit installation

I read teacher Wang Zixi’s article about abap2UI5 some time ago and found it very interesting. Let’s learn more about it. There are already many articles about abapGit installation, but in order to use abap2UI5 in the system, you need to reinstall abapGit and introduce document translation according to official standards. Please review the article.

1. Summary

Before understanding abapGit, it is recommended that you first learn about gitHub. There is a lot of this kind of information on the Internet. For example, Bilibili has a lot of "tutorials" for simple and clear introduction to Git .

abapGit is a git client for ABAP developed in ABAP . abapGit is a tool developed with ABAP that can import and export code between ABAP systems.
abapGit comes in 2 flavors: standalone or developer.
The standalone version is for users. It consists of a program that contains all the code required to implement abapGit. By executing transaction code SE38 in SAPGUI, run the program corresponding to the independent version and execute the abapGit function.
The developer version is intended for developers who contribute to the abapGit code base. It implements the functions of abapGit by ABAP programs/classes/interfaces/etc. You can run the developer version using the transaction code ZABAPGIT, and only the developer version supports parallel processing.

PS: The installation of the independent version is actually a bit like our original program copying method. The installation of the developer version is very consistent with our idea of ​​managing the program through abapGit.

2. System environment

abapGit requires SAP BASIS version 702 or higher.

For abapGit to work properly, the SAP GUI browser control must be set to Internet Explorer,Setting path: SAP GUI Options > Interaction Design > Control Settings > HTML Control > Browser Control.(If you do not set this up, an error message may appear, and it cannot be solved now).
For details, see the link : Known issues with Chromium-based browser controls
Insert image description here

3. Install the independent version

Download the ABAP code for abapGit (Official address, the code here must be the latest version: zabapgit_standalone ) to a local file. I uploaded a copy. If you can't connect to the website, you can download it here. No points are required for downloading. Code link: abapGit Generally speaking, abapGit will only be used in the development system, so it can be installed in a local package. Create a new program named ZABAPGIT_STANDALONE through SE38, SE80, or ADT. The name ZABAPGIT_FULL has been used in many previous articles, and there is actually no problem. Note: If you also want to install the developer version, do not use the name ZABAPGIT. After the program name is created, in change mode, click the menu bar: Use Programs->More Utilities->Upload/Download->Upload Upload the code from the downloaded file, and then after activation you can execute the program through transaction code SE38 Create a program to use abapGit functionality.
Insert image description here

4. Install the developer version

If you want to participate in the abapGit project, you need to install the developer version. First, log in to the SAP system in English (language EN), and then install the standalone version first (installation as above).

4.1. Online installation (recommended)

If you want to be able to use the online installation function, the prerequisite is that SSL must be set up . If the system is not connected to the Internet (for example, behind a firewall) or does not allow SSL configuration, only the offline method can be used (see the next method for details).

1. SE38 runs the program corresponding to the independent version of abapGit
2. On the repository list (repository List) page, select "New Online"
3. Enter in the URL address barhttps://github.com/abapGit/abapGit/
4. Enter the package name, you can select an existing development package or create a new development package
5. Select "Clone Online Repo" to clone the online program
6. Select "Pull", abapGit automatically copies the code from the entered address and saves it in 7. After the above steps are completed in the system
, the execution transaction code ZABAPGIT can now be used to run the developer version

4.2. Offline installation

Download the latest version of abapGit developer version link from github: source code address . Select Code > Download ZIP and save the file locally. You don’t need to log in to download code from github. If you can’t log in to the website, some game accelerators can currently solve the problem of accessing and downloading academic resources.
Insert image description here
Just select the corresponding path to save. I also uploaded a copy to CSDN. Resource address:

The next steps are as follows:
1. Run the independent version of abapGit. For details, see abapGit independent version installation.
2. On the repository List page, select "New Offline" to create a new offline one.
3. Enter the package name. You can select an existing development package or create a new development package.
4. Select "Create Offline Repo" to create an offline repository. ,
5. Select the import zip, "Import zip"
6. Select the downloaded abapGit-main.zip file.
7. Select “Pull zip” to pull the compressed file
8. Execute the transaction code ZABAPGIT can now be used to run the developer version

Insert image description here

Guess you like

Origin blog.csdn.net/Wang_Deji/article/details/132466484