Get ENH Xrefs

This workflow provides an example of using the Generic RFC Call action to call a remote function named /ICORP/RFC_GET_ENH_XREFS, which is provided with LiveCompare. Given a set of objects and a list of enhancement naming patterns, the workflow creates the selection criteria for the call, then calls the RFC. The RFC reads the SAP table ENHINCINX and returns a cross-reference table that links the input objects to any enhancements that match the naming patterns.

The results are stored in a Table dataset named Enhancements Found, which stores enhancement data from SAP table ENHINCINX that matches the input selection criteria. The table has the following columns:

Column Description
ENHNAME Enhancement name.
PROGRAMNAME Program name.
METHODNAME Method name.
ENHINCLUDE Include name.

Creating RFC Destinations

Before you begin, you will need to create an RFC Destination for the SAP system from which to extract enhancement data.

Preparing the Workflow

To prepare the Get ENH Xrefs workflow, log in as a LiveCompare Editor and drag its workflow template from the Templates folder into your own workspace. Then modify the workflow as follows:

To specify the system from which to extract enhancement data:

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

  2. Select the appropriate RFC Destination, then click ‘Save’.

To specify the objects for which to retrieve enhancement cross reference details:

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

  2. Specify a set of objects by entering values in table’s the TYPE and NAME columns, then click ‘Save’.

To specify a set of naming patterns for enhancement objects:

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

  2. Specify a set of enhancement naming patterns. The wildcard character ‘*’ matches against one or more characters.

Save the workflow using the 'Save' toolbar button.

Running the Workflow

To run the Get ENH Xrefs workflow, click the ‘Run’ toolbar button, choose ‘Run Now’ from the workflow’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 Enhancements Found dataset and choose ‘View Details’ from the context menu to view the details for enhancements whose names match the specified patterns.