7

Import Content from abapGit Repository into the BTP ABAP Environment

 1 year ago
source link: https://blogs.sap.com/2023/05/22/import-content-from-abapgit-repository-into-the-btp-abap-environment/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
May 22, 2023 2 minute read

Import Content from abapGit Repository into the BTP ABAP Environment

Purpose of this blog

This blog is to provide the steps with the screenshots on how to import contents from abapGitHub into BTP ABAP environment.

Pre-requisite

  1. In BTP subscribe to ABAP cloud platform and generate the service key
  2. Install the eclipse latest version in the local machine. After that, install the add-ons for ADT and abapGitHub. Follows the steps in this link for the same https://developers.sap.com/tutorials/abap-install-adt.html
  3. In eclipse, create a new ABAP cloud project and connect to BTP ABAP instance.
    ABAP%20BTP%20Cloud%20instance

How to connect to GitHub and import the contents

  1. In the ADT editor navigate to Window–>showview–>other
    abapGithubRepository1-2.png
  2. In the popup window search for abapGithub or open the folder ABAP
    abapGithubRepository2-1.png
  3. The abapGithub repository view will be displayed. In this view already imported contents and pull status is available

    abapGithubRepository3.png
  4. For this testing, I am trying to import the contents created by another user. Link is https://github.com/Sumu-Ning/AES
  5. Go to the project explorer and create a new ABAP package to import the contents from  abapGitHub repository.
  6. Click the green plus ( + ) symbol in the abapGit Repositories view.
    abapGithubRepository4-1.png
  7. In the popup paste the github url
    abapGithubRepository5.png
  8. In the next screen select the abap package which is already created
    abapGithubRepository6.png
  9. Check the field “Pull after link” to import the objects from the github into the abap package. Select the objects that required for import.

    abapGithubRepository7-1.png
  10. The status of pull request can be viewed in the abapGitHub repository.
    abapGithubRepository8.png
  11. To view the imported objects you can right click on the respective line item and select the option ‘ShowObjectLog’.
    abapGithubRepository9.png
  12. Imported objects are now available in the custom package.
    abapGithubRepository10.png

Reference :- https://help.sap.com/docs/btp/sap-business-technology-platform/import-content-from-abapgit-repository-into-abap-environment

Note:-  If you encounter the error “public key not found for XXXXXX ” while installing the “abapGit repositories ADT plug-in” then download and use the new version of eclipse. I got this error in eclipse 2021 then I downloaded the latest 2023 version and completed this activity.

I hope you find this article is helpful.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK