Adjusting Modifications

Use

If you have modified SAP objects from the add-on that you want to install, you must adjust these objects when you import them in order to ensure that your modifications are not overwritten by SAP objects. Transaction SPDD adjusts Dictionary objects, whereas transaction SPAU adjusts Repository objects.

If you have already performed the modification adjustment in a system (in a development system for example), you do not need to perform it manually in the follow-on systems (quality assurance and production systems). You can include the transport requests that you created for the modification adjustment (modification adjustment transports) in the installation queue. The modification adjustment then takes place automatically when the queue is imported. For more information, see Installing and Upgrading Add-Ons.

Prerequisites

Either you have not included any adjustment transports, or the ones you have included do not cover all the objects that need adjusting.

The Add-On Installation Tool asked you to adjust your modifications.

Procedure

Modification Adjustment for Dictionary Objects - Transaction SPDD

Complete all modification adjustments before you continuing with the import. If you do not do this, modifications to dictionary objects will be lost. This can lead to data loss.

To do so, perform all the steps as described below:

Modification Adjustment for Repository Objects - Transaction SPAU

You can:

·        Adjust all modifications before you continue with the import.

This is recommended if you only need to adjust a small number of objects.

To do so, perform all the steps as described below:

·        You perform the modification adjustment and the remaining phases in parallel.

This is recommended if you need to adjust a lot of objects.

This procedure is particularly suitable when using the Import Mode: Downtime-minimized. In the subsequent phases, the Add-On Installation Tool deletes from the system all versions of program code and program texts that have become obsolete. Since this can be a lengthy process, you can save time by simultaneously adjusting your modifications.

If you want to perform the import in parallel, choose Continue on the screen that prompts you to perform a modification adjustment to continue with the import. Then carry out steps 1 through 3 as described below.

To perform the modification adjustment, proceed as follows:

...

...

       1.      To enable your developers to adjust modifications, go to the Transport Organizer and create one or more requests that include tasks for the developers.

We recommend that you create one transport request for adjusting dictionary objects and another for adjusting repository objects.

If you want to include the transport requests in the import queue into the follow-on systems, create them as transportable workbench requests. If you do not do this, they cannot be exported from the system and cannot be used in follow-on systems.

       2.      If you want to include the created requests in the installation queue in the follow-on systems for an automatic modification adjustment, you must mark them as adjustment transports.

                            a.      To do this, call transaction SPDD or SPAU and choose Utilities -> Select for transport.

This function is also used to select modification adjustment transports for the system upgrade. If you have already performed a system upgrade, the system might prompt you to decide whether you want to select the adjustment transport for use in the upgrade or for use in importing an add-on installation queue (OCS). Choose OCS.

                            b.      On the selection screen, choose the request you created previously and confirm your selection.

The transport request is now selected for use as a modification adjustment transport.

You select a Workbench request as a modification adjustment transport by assigning it to the predefined CTS project SAP_ADJUST. This means that a Workbench request selected as a modification adjustment transport cannot be assigned to a customer-defined CTS project.  An assignment such as this would always be overwritten by the SAP_ADJUST project when the selection is made.

                            c.      If you have created several transport requests, repeat the process for all of them.

       3.      Ask the developers to adjust the modifications for their objects.

If you have not yet confirmed the installation, the developers can choose Extras -> Adjust Modifications in the Add-In Installation Tool initial screen to call either transaction SPDD or transaction SPAU, depending on the context.

After the adjustment is completed, the developers must release their tasks and inform you. Modifications can be adjusted in any client.

You only need to perform the following steps if you did not continue the installation after being prompted to perform a modification adjustment.

       4.      Call the Add-On Installation Tool.

       5.      View the status of the installation queue. To do so, choose Goto ® Status ® Installation Queue.

A screen appears that prompts you to perform a modification adjustment.

       6.      Choose Confirm Adjustment and confirm the prompt.

       7.      To continue importing the installation queue, choose Continue.

Result

The Add-On Installation Tool continues with the process (transaction SPDD) or completes it (transaction SPAU), and displays the status.

If you have created a modification adjustment transport, you can release and export it in the Transport Organizer after importing the installation queue.

Since the modification adjustment transport is a normal Workbench request, it is placed automatically in the import queue of the follow-on system during the export, where it can be imported as normal. However, performing this import only makes sense if the corresponding add-ons and Support Packages have been imported into the follow-on system. For this reason, make sure the import is not performed too early. To do this, use the mechanisms and functions contained in the Transport Management Systems (such as project management, QA mechanisms or deleting the request from the import queue).