Show TOC

Working with ABAP Classes Assigned to Multiple Transport RequestsLocate this document in the navigation structure

A class consists of several subobjects, such as a public section, method implementation, or local class includes. Each subobject can be assigned separately to a transport request.

Prerequisites

This functionality is provided since SAP NetWeaver 7.5 SP00.

Context

If you want to edit an ABAP class where the changes have already been assigned to a transport request by another user, you can assign your changes to a different transport request.

Assigning Changes in an ABAP Class to Several Transport Requests

Context

If you want to edit an ABAP class where the changes have already been assigned to a transport request by another user, you can decide whether you want to assign your changes
  • to a transport request to which parts of the current class are already assigned
  • to a different transport request.

The source code editor will then use and assign all of your changes to the selected transport request.

Note Only one developer at a time can edit a class. The class is then locked for other users.

Procedure

  1. Open the relevant class.
  2. In the ABAP source code editor, start editing at the position you want to modify.

    The Link Up of Transport Request dialog is opened.

    Example of a dialog where you select the assignment of the transport request
    Figure 1: Example of a dialog where you select the assignment of the transport request
  3. Here you have following options:
    • Select the Link up with selected transport button to combine your changes with the most relevant transport request that is already being used for this class.
      Note The list of displayed transport requests is automatically preselected by ABAP Development Tools.
    • Select the Select other transport at save button to assign your changes to another existing transport request from your ABAP system or create a new transport request.

      The dialog is closed and you can start editing.

  4. Add your changes to the source code.
    Note

    If you are changing the same subobject that has already been assigned to another transport request, you will not be able to save your changes. In this case, you will need to select the transport request to which the subobject is assigned. The reason for this is because changes that depend on each other must be assigned to the same transport request. Otherwise the functionality may not work.

    In order to determine the relevant subobjects, set the Show Transport Request Information for ABAP Class preference. An icon is displayed afterwards in the marker bar where the changes that are not yet released are added. For further information, see Displaying the Assignment of Class Artifacts to Transport Requests

  5. Save the changes.
    Note If you have selected the Select other transport at save button in step 3, a dialog is opened where you can select an existing transport request or create a new one.
  6. [Optional:] Activate the changes.
    Note If you have split the changes amongst several transport requests, an activation or confirmation dialog is opened. Here you select the transport requests or objects you want to activate.

Results

Your changes are stored, assigned to the selected transport request, and can now be transported to subsequent systems through your releasing the transport request.

Displaying the Assignment of Class Artifacts to Transport Requests

Context

In the marker bar of the ABAP source code editor, you can display the following icons that highlight the subobjects of the ABAP class to which the changes are assigned

  • : a different transport request.
  • : your selected transport request.

When you hoverover the icon, a popup is opened that displays the:

  • Transport number of the assigned transport request and the task number in brackets
  • Name of the relevant class
  • Name of the user who is owner of the transport request
  • Changed subobject(s)

If you wish that ABAP Development Tools (ADT) displays the icon, you will need to activate the following setting in the Preferences page:

Start of the navigation path Window Next navigation step Preferences Next navigation step ABAP Development Next navigation step Editors Next navigation step Source Code Editors Next navigation step Show Transport Request Information for ABAP Class End of the navigation path