Show TOC

Changing the ABAP Package AssignmentLocate this document in the navigation structure

You can move a development object into another ABAP package.

Prerequisites

This functionality is provided since SAP NetWeaver 7.5.

Context

You have, for example, created an ABAP class in your $TMP package and want to ship it to other systems with the productive ABAP source code.
Note

This functionality is provided for all development objects that are directly assigned to an ABAP package. These are, for example, ABAP classes, ABAP interfaces, ABAP programs, ABAP function groups, and so on.

ABAP function modules, however, are not directly assigned to an ABAP package. Consequently, their package assignment cannot be changed individually.

Procedure

  1. Open the context menu from the corresponding development object in the Project Explorer or ABAP source code editor.
    Note

    This functionality is also provided for those development objects that do not have their own integrated editor, but are displayed in the embedded SAP GUI.

    Currently, multiple selection is not supported.

  2. Choose Change Package Assignment.
    The Change Package Assignment wizard is opened.
  3. In the New package entry field of the Choose Package page, enter the name of the ABAP package you want to move the object to.
    Note

    To display the list of the available ABAP packages, choose Ctrl + Space. A list is then opened where you can select the relevant entry.

    You can also use wildcards like the asterisk ('*') to limit the display of relevant entries.

  4. Choose Next.
    The Choose Transport page is opened. In the Affected objects list, the objects that are assigned to the new package are displayed.
  5. To create a new transport request or to assign your change to an existing transport request, choose the Change transport button.
  6. Choose Next.
    The Change Package Assignment of [object name] page is opened. All the objects that are to be changed are listed here.
  7. [Optional: ] Deselect those objects where you do not wish the change to be performed.
  8. To initiate the object move, choose Finish.

Results

The development object is moved to the selected ABAP package and the content of the Project Explorer is refreshed.
Note You can also reassign the object back to the former source package.