Running Software Structure and Logistics

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Learn how to create an ABAP Package

ABAP Package Creation

Organizing Development

You develop your applications in a development environment, but must then ensure that they can be tested in an appropriate test environment before being moved on to the production environment. Typically, you will have a single global account and a sub-account for each of the development, test, and production environments. Software components allow you to transport your objects.

Transport Request

When you create a new development object or change an existing one, you must assign it to a Transport Request. Transport Requests ensure that all development objects that logically belong together are transported together into the test, and subsequently the production system.

Each transport request has an Owner. The owner can assign other users to the request. In this way, transport requests support team development.

When an object is included in a transport request, it is Locked. This means that it can only be edited by a user who is assigned to the same request. When work on all the objects in the request is finished, the developers assigned to it must Release their work. After this, the owner of the request can release the entire request. If the Transport Request belongs to a transportable software component, the system administrator can import it into the test system for testing. When you release any kind of Transport Request, the system releases the locks on the objects in the request, so that any developer can access them again.

To Create a New Package

Steps

  1. Choose FileNewABAP Package.

  2. Enter the Package Name – it must begin with an Z or Y as the first character of the name.

  3. Enter a description.

  4. Choose Next.

To Assign a Package to a Transport Request

Steps

  1. Create a new request.

  2. Enter a description for the Transport Request.

  3. Choose Finish.

Create a Package

Business Example

Create an ABAP package in which you can store the development objects, which you will create during this class. Add the package to your favorites so you can easily access it anytime.

Prerequisites

Steps

  1. Create an ABAP package, ZS4D100_##, where ## is your group number (as an example we will use 01). Assign the package to the software component, ZLOCAL. When you are prompted to assign the package to a transport request, create a new one.

    1. Choose FileNewABAP Package.

    2. Enter the name, ZS4D100_01, where ## is your group number.

    3. Enter a description for your package.

    4. Choose Next.

    5. Enter the software component, ZLOCAL, and choose Next.

    6. Select Create a new request and enter a description for the new transport request.

    7. Choose Finish.

  2. Add the package to your favorites.

    1. Expand your ABAP project tree until you can see the node, Favorite Packages.

    2. Right-click and choose Add Package.

    3. In the dialog box, enter the package name ZS4D100_01.

    4. Double-click the name of the package in the hit list to add it to your list of favorite packages.

    Practice

Save progress to your learning plan by logging in or creating an account