U.03 - Unused Custom Code

This workflow identifies custom programs and transactions that are unused on the specified SAP system, according to the available performance history data. Custom objects that are not programs are removed from the results. These include subroutine pools, module pools, and function groups unless they are associated with a custom transaction code. The results are stored in three Table datasets, which provide data for the Development and Testing Dashboard reports and Excel spreadsheets.

Creating RFC Destinations

Before you begin, you will need to create RFC Destinations for each of the SAP systems you wish to compare, and for the system from which to retrieve performance history data.

In the LiveCompare hierarchy, select the RFC Destination from which to retrieve performance history data, and click the PHD tab. Enter a value (n) in the ‘Keep this many months of data:’ field, and click ‘Update Data’ to download the most recent <n> months of performance history data. You may also specify a schedule so that the available performance history data is downloaded at regular intervals. See the Retrieving Performance History Data help topic for details.

The Prepare Object Links Cache workflow from the Upgrade package should be run before the U.03 - Unused Custom Code workflow is run against an RFC Destination for the first time, or to update the RFC Destination’s object links database after new support packs or transports have been applied.

Preparing the Workflow

To prepare the U.03 - Unused Custom Code workflow, log in as a LiveCompare Editor, and drag its workflow template from the Templates folder into your own workspace. Then modify the workflow as follows:

To specify the Current or As-Is system:

  1. Select the System 1 parameter and choose ‘Edit RFC Destination’ from its context menu to display the RFC Destination dialog.

  2. Select the RFC Destination for the system to analyze, then click ‘Save’.

To specify the system from which to retrieve performance history data:

  1. Select the System 3 parameter and choose ‘Edit RFC Destination’ from its context menu to display the RFC Destination dialog.

  2. Select the appropriate RFC Destination, then click ‘Save’.

Save the workflow using the ‘Save’ toolbar button.

Running the Workflow

To run the U.03 - Unused Custom Code workflow, click the 'Run' toolbar button, choose ‘Run Now’ from the diagram’s context menu, or press F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Unused Custom Code dataset and choose ‘View Details’ from its context menus to display the table contents. This table is returned to the Run Complete Analysis workflow, and provides data for the Development and Testing Dashboard reports and Excel spreadsheets.