SAP SPAM: Perform Modification Adjustments

If you have modified SAP objects, and these objects are imported with Support Packages, you have to adjust the objects when you import the Support Packages in order to prevent modifications from being overwritten again by the 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 Support Package queue. The modification adjustment then takes place automatically when the queue is imported.

Prerequisites

  • The Support Package Manager has prompted you to perform modification adjustments.
  • Either you have not included any adjustment transports, or the ones you have included do not cover all the objects that need adjusting.

Procedure

  • Modification Adjustment for Dictionary Objects – Transaction SPDD

Adjust all modifications before you continue with the import. If you do not do this, your modifications to the dictionary objects could be lost. This can lead to data loss.

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

Caution: If you plan to use the transport request, which contains the SPDD changes, as a modification adjustment transport for your other systems, release it only when the import of the Support Package Queue is completed!

  • Modification Adjustment for Repository Objects – Transaction SPAU

You have the following options:

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.

Note: This procedure is particularly suitable when using the downtime-minimized import mode. In the subsequent phase, the Support Package Manager deletes from the system versions of program code and program texts that have become obsolete. Since this can be a lengthy process, you can save time by adjusting your modifications in parallel (simultaneously).

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 as described below.

To perform the modification adjustment, proceed as follows:

  • To enable your developers to adjust modifications, go to the Transport Organizer and create one or more transport 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.
  • Note: If you want to include the transport requests in the Support Package 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 therefore cannot be used in follow-on systems.
  • If you want to include the created transport requests in the Support Package queue in the follow-on systems, you must mark them as a adjustment transports.
    • To do this, call transaction SPDD or SPAU and choose Utilities -> Select for transport. Note: 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 a Support Package (OCS). Choose OCS.
    • On the selection screen, choose one of the transport requests you created previously and confirm your selection. The transport request is now selected for use as a modification adjustment transport. Caution: 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.
    • If you have created several transport requests, repeat the process for all of them.
  • Ask the developers to adjust the modifications for their objects. If you have not yet confirmed the queue, the developers can choose Extras -> Adjust Modifications in the Support Manger 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. Caution: If you plan to use the transport requests, which contain the adjusted objects, as modification adjustment transports for your other systems, release them only when the import of the Support Package Queue is completed!

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

  • Call transaction SPAM.
  • View the status of the queue. Choose Goto -> Status -> Queue. A screen appears that prompts you to perform a modification adjustment.
  • Choose Confirm Adjustment and confirm the prompt. You return to the Support Package Manager initial screen.
  • To continue the import process, choose Support Package -> Import Queue.

Result

The Support Package Manager continues with the import (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 Support Package queue.

Caution: Because the modification adjustment transport is a normal Workbench request, it is automatically put into the import queue of the follow-on system during the export, where it can be imported as normal.
This import is only appropriate, however, if the relevant 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 functions contained in the Transport Management System, such as project management, QA mechanisms, deleting the request from the import queue and so on.

You May Also Like

Leave a Reply?