In this tutorial, wherever XXX
appears, use a number (e.g. 000
).
Step 1: Checkout feature branch
-
Logon to your ABAP system in your SAP Fiori launchpad and open Manage Software Components application.
Note: If you don’t know the URL of your ABAP system, then you can open your ABAP Development Tools (ADT), right-click on your ABAP system in your project explorer, select Properties and click on your system URL.
-
In your manage software components application search for your software component Z_SWCT_XXX
and select it.
-
Select your feature branch branch_xxx
and click Checkout to be active with your master branch.
-
Click OK.
-
Refresh your recent actions to see your result.
-
Now you can see, that your feature branch branch_xxx
is checked out successfully.
Step 2: Change your coding
-
Switch to your ABAP Development Tools (ADT), logon to your ABAP system, right-click on your created ABAP class Z_CL_XXX
and select Refresh or Press F5
to refresh your ABAP class.
-
Now make changes in your ABAP class. Therefore replace your code of your ABAP class Z_CL_XXX
with following:
class z_cl_xxx definition
public
final
create public .
public section.
interfaces if_oo_adt_classrun.
protected section.
private section.
ENDCLASS.
CLASS Z_CL_XXX IMPLEMENTATION.
METHOD IF_OO_ADT_CLASSRUN~MAIN.
out->write('Hello world! I am on branch_xxx now!').
ENDMETHOD.
ENDCLASS.
-
Save and activate.
Step 3: Transport changes
-
Select the transport organizer in your menu and refresh your workbench to transport your changes.

-
Right-click on your transport task and select Release.

-
Click OK.

-
Right-click on your transport request and select Release.

-
Click OK.

Step 4: Checkout master branch
-
Switch to your software component Z_SWCT_XXX
in Manage Software Component. Select your master branch and click Checkout.
-
Click OK
.
-
Refresh your recent actions to see your result.
-
Now the master branch is checked out successfully. Refresh your branches as well.
-
Now you can see the result as well in the branches section. The master branch is checked out successfully.
Step 5: Test changes
-
Switch to ADT and open your ABAP class Z_CL_XXX
. As you can see, you are still on the feature version.

-
Right-click on your ABAP class Z_CL_XXX
and click Refresh.

-
Now you can see the coding of your master version again.
