Generating the Code Inspector Variant from the Simplification Database

The Code Inspector variant defines which checks are performed during a check run. A program is provided to generate this variant from the Simplification Database.

Prerequisites

  • You have to implement SAP note 2271900 Information published on SAP site in your evaluation system if you are working on a release SAP NetWeaver 7.5 lower than SP04. This enables you to create the Code Inspector checks and the program for generating the Code Inspector variant.
  • You have the following authorizations:
    Name of the Authorization Object Name of the Authorization Field Value of the Authorization Field Description

    S_COV_ADM

    ACTVT

    03 (Display)

    To generate check variants and to enable checks in the Code Inspector

    37 (Accept)

Context

Generate the Code Inspector variant from the Simplification Database using the SYCM_CREATE_CI_CHECK_VARIANT ABAP program.

Procedure

  1. Execute the SYCM_CREATE_CI_CHECK_VARIANT program.

    The selection screen of the program is opened.

  2. Enter the name of the check variant in the CI Check Variant to generate input field.
  3. [Optional] To create the check variant only for specific SAP notes from the Simplification Database, you can set a restriction in the Notes section.

    If you leave these input fields empty, the check variant will be created for all SAP notes in the Simplification Database.

  4. Choose F8 to execute.
  5. If the variant already exists, a dialog is opened to overwrite it, choose Yes.

Results

The check variant is created and can now be used.