Running the Custom Code Analyzer

So that you can analyze the relevance of Simplification Items, the custom code has to be scanned for references to SAP objects in the SAP Business Suite system using the Custom Code Analyzer.

Prerequisites

Ensure that the following data is available before you run the Custom Code Analyzer:

  • The where-used index has to be up to date in your system. If the Custom Code Analyzer notifies you that it is not up to date, apply SAP Note 2234970 Information published on SAP site.
  • If you use your own customer namespaces, add them to the selection.

    For further information, see the SAP Note 2185390 Information published on SAP site.

Context

The Custom Code Analyzer extracts the following metadata:

  • Usage of SAP objects in your custom code
  • Extensions (such as enhancements, database table appends, and so on) made to SAP objects
  • Modifications made to SAP objects

Procedure

  1. In the SAP Business Suite system, implement SAP Note 2185390 Information published on SAP site.
  2. Schedule the SYCM_DOWNLOAD_REPOSITORY_INFO program as a background job. On the SYCM Custom Repository Download selection screen, enter the Customer Namespace and / or the Package of the objects you want to analyze.
  3. To execute, press F8.

    Depending on the number of customer objects to be analyzed, the process might take several hours.

    The Custom Code Analyzer detects all references to SAP objects in your custom code. The metadata of these references is stored in a ZIP file.

  4. As soon as the background job processing has finished, continue with Downloading the Analysis Result as a ZIP File.

Results

The Custom Code Analyzer stores the analysis result as a ZIP file in the SAP Business Suite system.