Show TOC Start of Content Area

Procedure documentation Creating and Editing Variants  Locate the document in its SAP Library structure

Use

Variants have the same predefined tests as the DEFAULT variant. You cannot add or remove tests, but you can select which tests are active and you can edit the parameter values.

Tests can only be activated if their parameters are set. All but the most trivial parameters are provided with default values in the DEFAULT variant. The following table shows the icons that display the status of each test. These icons are displayed when you edit a variant and expand the tree with the test groups. Each test has one of the following icons.

Icon

Description

This graphic is explained in the accompanying text

There are no parameters.

This graphic is explained in the accompanying text

All the required parameters are set.

This graphic is explained in the accompanying text

Not all the required parameters are set.

You can set the fatal priority level of a variant. This is the priority level at which a message is designated as an error (instead of a warning or information) in the Problems view. Several fatal priority levels are possible:

      If you set the level to none, no messages will be designated as errors.

      If you set the fatal priority level to 1, only messages with priority level 1 are designated as errors.

      If you set the fatal priority level to 2, messages with both priority level 1 and 2 are designated as errors.

      If you set the fatal priority level to 3, messages with priority level 1, 2 and 3 are designated as errors.

JLinEE tests are a special case. More information: Executing JLinEE Tests

Procedure

Creating a Variant

       1.      Choose Window Preferences Java JLin.

       2.      Either select an existing variant and choose Copy, or choose New.

If you choose New, the parameters are not set and none of the tests are marked as selected.

       3.      Enter the name of the new variant and choose OK.

Note

The name of the variant must not be an empty string and can contain letters and numbers only.

Editing a Variant

...

       1.      Select a variant and choose Edit.

       2.      Set the Fatal Priority Level.

       3.      For each test that you activate, maintain its parameters. In the context menu of the test, choose:

                            a.      Display description, read the description of the parameters, and then choose OK.

                            b.      Edit Parameters and Priorities  and enter the required values.

You can use all simple Java types such as string, string array, int, and so on. Each value in a string array has its own node. You can use the context menu to add or remove nodes.

Set the priority level of the messages.

If the Priority field is editable, set the value none, 1, 2, or 3.

If the Priority field value is dynamic, you set the threshold values for the priorities at the relevant parameters.

       4.      Use the checkboxes to select the tests to be active.

       5.      Choose OK.

Removing a Variant

...

Select a variant and choose Remove. The variant is automatically removed from the Variants list.

End of Content Area