Skip to Content

Transport a Software Component Between two Systems

test
0 %
Transport a Software Component Between two Systems
Details

Transport a Software Component Between two Systems

February 1, 2021
Created by Niloofar Naseri
December 7, 2018
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
QR code

Prerequisites


Step 1: Create software component via SAP Fiori launchpad
  1. Login to your first system Fiori launchpad as administrator and open Manage Software Components application.

    manage SC

  2. Press GO to see the list of all already available software components.

    all SC

  3. Click Create to create a new software component.

    add a new SC

  4. Enter a Software Component Name and a Description and press Create.

    enter data

  5. In your created software component press Clone.

    clone

  6. In the clone dialog select Master branch and click Clone.

    confirm clone

  7. You can check under Recent Actions if your clone is done.

    recent actions

Log on to answer question
Step 2: Add ABAP sources and export component
  1. Open Eclipse and connect with your developer user to your first ABAP system. Right-click Favorite Packages and select Add Package.

    add to favorites

  2. Enter Z_MY_APP_XXX, select it and click OK.

    add to favorites

  3. Check your result.

    add to favorites

  4. Right-click your package Z_MY_APP_XXX and select New > ABAP Package.

    new package

  5. Create a package

    • Name: Z_PACKAGE_SC_XXX
    • Description: Package XXX

    Click Next.

    create package

    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.

  6. Select Create a new request

    • Request Description: TRXXX

    click Finish.

    create package2
  7. Right-click your package Z_PACKAGE_SC_XXX and select New > ABAP Class.

    release tasks

  8. Create class in package Z_PACKAGE_SC_XXX:

    • Name: Z_CLASS_XXX
    • Description: Class XXX

    Click Next.

    release tasks

  9. Select your transport request TRXXX. Click Finish.

    release tasks

    Save and activate your new class.

  10. Release your transport request and its subtasks. Therefore, open view Transport Organizer.

    release

  11. Right-click your subtasks and select Release to release all your subtasks.

    release tasks

  12. Afterwards right-click your transport request and select Release to release your transport request.

    release tasks

Log on to answer question
Step 3: Update or import software component again
  1. Open Manage Software Components app on your second systems Fiori launchpad.

    manage SC

  2. Press GO to load all available software components.

    all SC

  3. 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.

    import SC

  4. In the clone dialog select Master branch and click Clone.

    confirm clone

  5. You can check under Recent Actions if your clone is done.

    recent actions

Log on to answer question
Step 4: Check the imported software component
  1. 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.

    add to favorites

Log on to answer question
Step 5: Test yourself
Which action updates your solution in the distributed version-control system?
×

Next Steps

Back to top