Quick Compare Wizard

The Quick Compare Wizard allows you to compare a single object on two systems, or to perform a derivative object comparison where two different objects of the same type are compared. Additionally for object types that support versioning, two versions of an object may be compared.

To start the Quick Compare Wizard, click the Quick Compare tool button. toolbar button. Alternatively, select the Quick Compare tool button. icon in the Consumer interface’s navigation panel. In each case, the Quick Compare Wizard screen is displayed.

Quick Compare Wizard screen.

Disallow table contents comparisons

Users with LiveCompare Consumer privileges may access the Quick Compare Wizard from the toolbar. To prevent Consumers from performing Table Contents comparisons using the Quick Compare Wizard, log in as Administrator, access the Configuration - Security screen, and set the QuickCompareDisableTABC field to a non-empty value.

Compare objects

To compare an object on two SAP systems, carry out the following steps:

  1. In the SAP systems to compare section, select the System 1 and System 2 RFC Destinations to compare. If LiveCompare is resource group-controlled, only the RFC Destinations in your currently selected resource group are available for selection.
  2. Optionally, complete the Logon language fields to specify the logon language for each of the systems. If these fields are not set ‘EN’ (English) is used as the default.
  3. In the Selection criteria section, select the type of object to compare in the Object type field.
  4. Make sure the Derivative object compare check box is unchecked, and enter the name of the object to compare in the Name field.
  • For DYNP - DYNPRO comparisons, enter the screen number to be compared in the Screen number field.
  • For GUIS - GUI Status comparisons, enter the GUI status to be compared in the GUI status field.
  • For INDX - Index comparisons, specify a Table name and an Index name.
  • For METH - Class Method comparisons, specify a Class name and a Method name. This object type is only valid for classes in transports.

  • For RSDS - Data Source 7.0 comparisons, specify a Data Source and a Source System.
  • For TABC - Table Contents comparisons, specify the maximum number of rows to display. This value is stored as your ‘Maximum number of rows/objects to display’ user preferences setting, and may affect the results displayed in workflows.
  • For TEXT - Text comparisons, specify a Text object, Text name, Text ID and Language.
  • For VARX - Report Variant comparisons, specify a Program name and a Variant name.
  1. Click ‘Compare’ to perform the comparison.

Derivative object comparisons

Derivative object comparisons allow two different objects of the same type to be compared. To perform a derivative object comparison, carry out the following steps:

  1. Complete the System 1 and System 2 system and Logon language fields as described in the Compare Objects section.
  2. Select the ‘type’ of object to compare in the object type field.
  3. Select the Derivative object compare check box. The screen changes to the following.

Quick Compare Wizard screen (derivative object comparison).

  1. In the System 1 name field, enter the name of an object to be compared on System 1, and a component object if required. In the System 2 Name field, enter the name of an object to be compared on System 2, and a component object if required.
  2. Click ‘Compare’ to perform the comparison.

For object types with only a Name component, a derivative object comparison may be performed without selecting the Derivative object compare check box. In the Name field, specify the two objects to be compared as follows:

<Name1> (<Name2>)

The Quick Compare Wizard compares <Name1> on System 1 with <Name2> on System 2. If the systems are the same, <Name1> and <Name2> are compared on the same system.

For table contents comparisons, if a table has different fields on each of the compared systems, only the fields that are common to both systems will be compared. Note that table contents cannot be compared for two tables that have different key fields.

Compare object versions

For object types that support versioning, different versions of an object may be compared as follows.

  1. Complete the System 1 and System 2 system and Logon language fields as described in the Compare Objects section.
  2. Select the type of object to compare in the object type field.
  3. Click ‘Explore Versions’. The following screen is displayed, showing the available versions of the object on each system, and each version’s associated transport details. This screen shows both released and unreleased transports. However, note that the Get Transport Object Versions action supports released transports only.

Quick Compare Wizard Versions screen.

For Class (CLAS), Class Method (METH) and Class Interface (INTF) objects, the Versions screen lists the class or method’s associated transports. The details for each transport include the date and time when the transport was last modified, and the user who modified the transport. The active version of the class or method is indicated by ‘active’ in the Transport column.

Quick Compare Wizard Versions screen (classes).

The ‘Explore Versions’ button is enabled for these object types only:

CLAS - Class

DOMA - Domain

DTEL - Data Element

DYNP - DYNPRO

ENHO - Enhancement Implementation

ENHS - Enhancement Spot

FUNC - Function Module

GUIS - GUI Status

INCL - Include

INDX - Index

INTF - Class Interface

METH - Class Method

PROG - ABAP Program

SFPF - Form Object Form

SHLP - Search Help Object

STRC - Structure

TABL - Table Definition

WAPA - BSP Application

WDYN - Web DYNPRO

  1. If required, click Options icon. to set one or more user preferences.
  2. Select an object version to be compared on each system, and click ‘Compare’ to perform the comparison.

Object versions may also be specified if a derivative object comparison is performed.

Recent comparisons

The Quick Compare Wizard stores each user’s ten most recent comparisons. To perform a recent comparison, complete the System 1 and System 2 system and Logon language fields as described in the ‘Comparing Objects’ section, and select an entry from the Recent comparisons list. The fields in the Selection criteria section are filled in as appropriate. Click ‘Compare’ to perform the comparison.

Entries in the Version fields are not stored as part of a recent comparison, so these fields may need to be set or cleared as appropriate.

Attribute filtering

The Attribute filtering section allows you to specify which object attributes will be compared. Select ‘Compare using default system Object Attribute Filters’ to compare the most relevant attributes for an object type as defined in its default object attribute filter. Select ‘Compare all attributes’ to compare all the object’s attributes. This value is stored as your ‘Attribute Filtering’ user preferences setting, and may affect the results displayed in workflows.

  • Running a Quick Comparison using ‘Compare using default system Object Attribute Filters’ sets the ‘Compare using workflow Object Attribute Filters’ user preference.
  • Running a Quick Comparison using ‘Compare all attributes’ sets the ‘Compare all attributes’ user preference.

Comparison results

The Quick Compare Wizard’s results page shows the name(s) of the compared object(s) and includes comparison results in a tabbed display.

General display

Header display

Attributes display

Code display

Contents display

Cross Ref display

Table Key display

Transport display

Where used display

Click the Back icon. button to return to the Quick Compare screen (or to the Versions screen if the ‘Explore Versions’ button was used).

Notes

When Programs are compared, blank lines and comments are ignored when determining their comparison status. However, blank lines and comment differences are considered in the more detailed comparison results available for individual objects.

Data masking

Tables to ignore