S.28 - Syntax Check for Transports

This workflow identifies potential syntax errors in a set of development transports before the transports are imported into a production environment. The workflow is provided with a set of transports from a Source system. It extracts the source code for a set of object types and performs a syntax check of the source code on the Target system. A syntax check is performed on transport objects of the following types:

  • Classes

  • Functions

  • Includes

  • Programs

  • Screens converted to Programs

  • Scripts

The workflow generates a Dashboard report, with associated Excel reports.

Creating RFC Destinations

Before you begin, you will need to create RFC Destinations for the Source and Target SAP systems.

Preparing the Workflow

To prepare the S.28 - Syntax Check for Transports workflow, drag its workflow template from the Templates folder into your own workspace, and modify the workflow as follows:

To specify the Source and Target systems:

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

  2. Select the RFC Destination for the development system, then click ‘Save’.

Repeat the above steps to link the Target System parameter to the RFC Destination for the Production system.

To specify the transports to analyze:

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

  2. Enter one or more transport names from the Source system, then click ‘Save’.

Save the workflow using the ‘Save’ toolbar button.

Running the Workflow

To run the S.28 - Syntax Check for Transports 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 display the report.

Dashboard Report

The Dashboard report generated by the S.28 - Syntax Check for Transports workflow includes pie charts showing the top N syntax errors by type, and the top N syntax errors by object. The value for N is set in the workflow’s Number of categories String parameter.

Additional Resources

The Additional Resources section of the Dashboard report includes links to the following reports:

Syntax Check Details

This Excel report includes the following spreadsheets:

Syntax Errors

This spreadsheet contains details for each of the syntax errors found, including the line in the source ABAP source code where the error occurred.

Error Counts By Type

This spreadsheet includes a count of the errors, grouped by message number.

Error Counts By Object

This spreadsheet includes a count of the errors, grouped by object type.

Analysis Input Data

This Excel report contains a copy of the input parameters used to produce the App’s Dashboard report. The value of each input parameter is stored in a separate worksheet, which is named after the parameter whose value it contains.