Skip to Content

Transfer Your ABAP Source Code With SAP Cloud Platform ABAP Environment via abapGit

test
0 %
Transfer Your ABAP Source Code With SAP Cloud Platform ABAP Environment via abapGit
Details

Transfer Your ABAP Source Code With SAP Cloud Platform ABAP Environment via abapGit

2019-12-20
Use abapGit to transfer your ABAP source code from an SAP Cloud Platform ABAP Environment instance back to your repository.

You will learn

  • How to create or adapt source code in ABAP instance
  • How to open abapGit repositories
  • How to stage and commit ABAP development objects

Prerequisites


Step 1: Create or adapt source code in ABAP instance
  1. Open ABAP Development Tools and logon to your ABAP system.

    Add ABAP development object to your already existing package TESTABAPGIT (e.g. ABAP class).

    Therefore right-click on Classes and select New ABAP Class.

    create

  2. Create a package:

    • Name: Z_Class_YYY
    • Description: new class

    create

    Click Next >.
  3. Click Finish

    create

  4. Implement your newly created class.

    create

    Save and activate.

Log on to answer question
Step 2: Open abapGit repositories
  1. Select your ABAP system in the Project Explorer and select Windows > Show View > Other to open the abapGit repositories.

    open

  2. Search for abapGit repositories, select it and click Open.

    open

Log on to answer question
Step 3: Stage and commit ABAP development objects
  1. Right-click on your package TESTABAPGIT and click Stage and Push.

    object

  2. Enter your repository credentials in the popup and click OK.

    object

  3. In the staging view you will see a list of changed, created or deleted ABAP development objects which can be transferred to your repository. Furthermore the icon of the respective file indicated whether a file was created, modified or deleted.

    object

  4. ABAP development objects which should staged can be selected by drag and drop from the unstaged box to the staged box or by clicking on the + button.

    object

  5. Enter your commit message and click Commit and Push.

    object

  6. Click OK.

    object

  7. Check your result.

    object

    The staged objects are transferred to your repository.

Log on to answer question
Step 4: Test yourself
Which one is the right path to open the abapGit repository?
×

Next Steps

Back to top