Create ABAP Report Actions

Create ABAP report actions produce a report which displays the ABAP source code improvements returned by the Analyze ABAP Quality action. The improvements are shown in a report which has two code panes. The left-hand pane shows the ABAP source code retrieved from SAP; the right-hand pane shows a modified version of the code, including the ABAP quality improvements.

Each report generated by the action is stored in a folder underneath the LiveCompare user data directory. If the Create HTML Report action’s Fixed parameter is set to ‘false’, its reports are stored in the following time-stamped directory:

<LiveCompare user data dir>\public\Reports\<Workspace Name>\<Report Name>_YYYYMMDD_HHMMSS

If the Create HTML Report action’s Fixed parameter is set to ‘true’, its reports are stored in the following directory, which does not include a time stamp:

<LiveCompare user data dir>\public\Reports\<Workspace Name>\<Report Name>

Action Property Description
Fixed

A Boolean parameter which indicates whether the Create ABAP Report action will generate fixed location reports. If this parameter is set to ‘true’, the action stores its report in the <Report Name> directory; this directory will be removed and then recreated each time the action is run. If the Fixed parameter is set to ‘false’, a new report will be generated in its own time-stamped directory each time the action is run.

Each fixed location report in a workspace should normally have a different value for its Report Name parameter. This will ensure that each workflow’s Report URL dataset points to the expected report.

Report Name A String parameter which stores the name used for the generated report. If the Fixed parameter is set to ‘false’, the generated report name includes a timestamp indicating when the report was created.
Report URL A String dataset which is set to contain the URL of the generated report.
Result A Table dataset which contains the TYPE and NAME of each analyzed object, and a URL which links to its Code Display report.
Source A Table dataset which should be set to the Code Fix dataset returned by the Analyze ABAP Quality action.
SourceCode A Table dataset which should be set to the Source Code Out dataset returned by the Analyze ABAP Quality action.

Generated ABAP reports may be accessed by double-clicking the action’s Report URL dataset, or by choosing ‘View Details’ from the dataset’s context menu. They may also be accessed from a workspace’s Reports folder in the LiveCompare hierarchy. Choose ‘Reload Children’ from the folder’s context menu to list any newly-generated reports.

Example:

Create ABAP Report action example.

To examine the details for a Create ABAP Report action, double-click the action node, or select ‘View Details’ from the node’s context menu. The Details screen displays the number of records read from the Code Fix dataset, the number of records written to the Result dataset, and the time taken for the action to complete.

Analyze ABAP Quality Actions

Report Branding