Compare Objects

This workflow compares a selection of objects retrieved from two SAP systems, and generates an HTML report from the comparison results.

Creating RFC Destinations

Before you begin, you will need to create RFC Destinations for each of the SAP systems you wish to compare.

Preparing the Workflow

To prepare the Compare Objects workflow, drag its workflow template from the Templates folder into your own workspace, and modify the workflow as follows:

To specify the systems to compare:

  1. Select the System 1 parameter and choose ‘Edit RFC Destination’ from its context menu to display the RFC Destination dialog.

  2. Select the RFC Destination for the first system to compare, then click ‘Save’.

Repeat the above steps to link the System 2 parameter to the RFC Destination for the second system to compare.

To specify a list of objects to compare:

  1. Select the Objects parameter and choose ‘Edit Table’ from its context menu to display the Table Editor dialog.

  2. Complete the following columns, then click ‘Save’.

Column Description
TYPE The type of the object to compare.
NAME The name of the object to compare.

To create specifications for the objects to be compared:

  1. Select the Selects parameter and choose ‘Edit Select List’ from its context menu to display the Select List Editor dialog.

  2. Update the selection criteria table as follows by adding the appropriate table entries.

Column Description
Field The type of the object to compare.
Operator The comparison operator to use. One of BT, CP, EQ, GE, GT, LE, LT or NE. See the Select List Parameters help topic for details.
Low Value The ‘low’ comparison value.
High Value If the BT (Between) operator is used, this column refers to the ‘high’ comparison value.
I/E Select ‘I’ to include these objects in the filtered results, or ‘E’ to exclude them. If the ‘E’ option is used, you must create an ‘I’ specification for the same object type.
  1. If required, click ‘Insert Row’ and continue from step 2 to create additional specifications, then click ‘Save’.

Note that an object list and a set of specifications may be used together to define the objects to be compared.

To exclude object types from the comparison (optional):

  1. Select the Types to Compare parameter and choose ‘Edit String List’ from its context menu to display the String List Editor dialog.

  2. Click ‘Delete Row’ to remove existing object types, then click ‘Save’.

To specify the comparison statuses to include in the report and compared hierarchy results:

  1. Select the Object Status to Keep parameter and choose ‘Edit String List’ from its context menu to display the String List Editor dialog.

  2. Enter the comparison statuses to include, By default, the workflow reports on objects with comparison statuses Different, In1, In2, CantCompare or NotIn1Or2. Each comparison status should be added as a separate string entry.

Save the workflow using the ‘Save’ toolbar button.

Running the Workflow

To run the Compare Objects workflow, click the 'Run' toolbar button, choose ‘Run Now’ from the diagram’s context menu, or press F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Report URL dataset and choose ‘View Details’ from the context menu to access the generated report.