Create and import a new software component into an SAP Business Technology Platform ABAP Environment instance, add ABAP sources and export it to a new SAP BTP ABAP Environment instance.
You will learn
How to create and import a new software component into a SAP BTP ABAP Environment instance
How to add ABAP sources and export software component
How to import software component into a new SAP BTP ABAP Environment instance
Login to your first system Fiori launchpad as administrator and open Manage Software Components application.
Press GO to see the list of all already available software components.
Click Create to create a new software component.
Enter a Software Component Name and a Description and press Create.
In your created software component press Clone.
In the clone dialog select Master branch and click Clone.
You can check under Recent Actions if your clone is done.
Step 2
Open Eclipse and connect with your developer user to your first ABAP system. Right-click Favorite Packages and select Add Package.
Enter Z_MY_APP_XXX, select it and click OK.
Check your result.
Right-click your package Z_MY_APP_XXX and select New > ABAP Package.
Create a package
Name: Z_PACKAGE_SC_XXX
Description: Package XXX
Click Next.
Your software component root package is a structure package, hence it’s not allowed to create objects directly in this package. You need to add an additional development package and then you are able to add your objects.
Select Create a new request
Request Description: TRXXX
click Finish.
Right-click your package Z_PACKAGE_SC_XXX and select New > ABAP Class.
Create class in package Z_PACKAGE_SC_XXX:
Name: Z_CLASS_XXX
Description: Class XXX
Click Next.
Select your transport request TRXXX. Click Finish.
Save and activate your new class.
Release your transport request and its subtasks. Therefore, open view Transport Organizer.
Right-click your subtasks and select Release to release all your subtasks.
Afterwards right-click your transport request and select Release to release your transport request.
Step 3
Open Manage Software Components app on your second systems Fiori launchpad.
Press GO to load all available software components.
Select your software component and press Clone. This will either update the software component if it is already imported into the second system or import the software component if it is not present in the second system.
In the clone dialog select Master branch and click Clone.
You can check under Recent Actions if your clone is done.
Step 4
Open Eclipse and connect with your developer user to your second ABAP system and add your imported software component to your Favorite Packages. Check if all objects are imported.
Step 5
Which action updates your solution in the distributed version-control system?