Show TOC

Running the Custom Code AnalyzerLocate this document in the navigation structure

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
Recommendation

SAP recommends that you run the Custom Code Analyzer in the development or test system in order to prevent the creation of the where-used index in the productive system.

Procedure

  1. In the SAP Business Suite system, implement SAP Note 2185390 Information published on SAP site.
    Note

    This SAP Note:

    • guides you on how to set up the Custom Code Analyzer in your current SAP system.

    • requires that you create the SYCM_MAIN and SYCM_ANALYSIS packages. To do this, follow the manual correction instructions of this SAP note.

  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.
    Note The /0CUST/ namespace represents customer development objects starting with Z* or Y*.
  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.