Skip to Content

Transport a Software Component Between Two ABAP Instances

test
0 %
Transport a Software Component Between Two ABAP Instances
Details
// Explore More Tutorials

Transport a Software Component Between Two ABAP Instances

Create and import a new software component into an SAP Cloud Platform ABAP Environment instance, add ABAP sources and export it to a new SAP Cloud Platform ABAP Environment instance.

You will learn

  • How to create and import a new software component into a SAP Cloud Platform ABAP Environment instance.
  • How to add ABAP sources and export software component.
  • How to import software component into a new SAP Cloud Platform ABAP Environment instance.


Step 1: Create software component via SAP Fiori launchpad
  1. Open Manage Software Components app on your first instance’s Fiori launchpad.

    manage SC

  2. Press GO button to load all available software components.

    all SC

  3. Press + button to create a new software component.

    add a new SC

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

    enter data

    You can use Z-, Y- or /DMO/-Name

  5. Select your created software component and press Import. Click OK on Import popup.

    import popup

  6. Check the popup.

    import SC

    With selecting Import History you can view the current status of the import.

Log on to answer question
Step 2: Create ABAP package
  1. Open Eclipse and connect with your developer user to your first ABAP system and add your imported software component to your Favorite Packages.

    add to favorites

  2. Right-click on ZLOCAL and select New > ABAP Package.

    create package

  3. Create an ABAP package in ZLOCAL.

    • Name: Z_Package_XXX
    • Description: My Package XXX

    Click Next.

    create package
  4. Click Next.

    create package

  5. Click Finish.

    create package

Log on to answer question
Step 3: Add ABAP sources and export component
  1. Create ABAP objects in your software component (e.g. ABAP class). You can create a new transport task if asked, otherwise add your object to an existing one.

    create class

    create transport request

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

    release

  3. Release all your subtasks by right click on it and select Release.

    release tasks

  4. Afterwards release your transport request by right click on it and also select Release.

    release tasks

    Hint: 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’re able to add your objects.

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

    manage SC

  2. Press GO button to load all available software components.

    all SC

  3. Select your software component and press Import. 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

Log on to answer question
Step 5: 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 6: Test yourself
Where in the Fiori launchpad can you create a new software component?
×

Next Steps

Prerequisites

  • Create a developer user in a SAP Cloud Platform ABAP Environment system.
  • Download Eclipse Photon or Oxygen and install ABAP Development Tools (ADT). See https://tools.hana.ondemand.com/#abap.
Back to top