Remote Code Analysis in ATC – Working efficiently with ATC Result List
This is the eighth blog of the blog series about Remote Code Analysis in ABAP Test Cockpit (ATC).
See also blogs:
After you execute an ATC check run, the ATC findings are reported in the prioritized work list. Fast and efficient processing of the ATC result is essential for best quality assurance of your code. This blog outlines and highlights the most helpful features of the ATC result view to make your work with it more effective.
There are two ways to look at ATC results.
First, you can filter results using either the quick filter at the top of the ATC result and just specify the search fields or the advanced filter with more capabilities (and even save it as a variant for the ATC result display).
The screenshot below demonstrates how to restrict the ATC result view to the ATC findings in the package TEST_S4H_CCM using the quick filter.
Using Statistics View
Second, you can use the ATC Statistics View to group ATC findings by different statistics. Single available statistics are extremely helpful for static code analysis within custom code adaptation projects for SAP S/4HANA, for best focus on the simplifications in SAP S/4HANA.
In the ATC result view you can open the Statistics View by clicking the “Statistics View” button:
In the Statistics View the ATC result is grouped by the ATC checks. For example (see screenshot below) to display all ATC findings related to the SELECT statements without ORDER BY clause you need just to double click the relevant ATC check in the selection tree.
You can also list the findings related to the specific ATC check message. Just open the tree node of the particular ATC check, choose and double click the ATC message:
Of course, from the details view you can navigate directly to the corresponding source code row by clicking on the Object Name:
Statistics View by Component ID
Choosing Statistics View by Component ID (available with AS ABAP 7.52) you can e.g. find out in which area of business application (SD, FIN) the SAP S/4HANA simplification comes:
Statistics View by Referenced Object
Choosing Statistics View by Referenced Object (available with AS ABAP 7.52) offers e.g. a good overview about the simplified objects in SAP S/4HANA (like MATNR, VBUK, VBTYP etc.)
Statistics View by SAP Note
Choosing the Statistics View by SAP Note number (available with AS ABAP 7.52) offers you e.g. a good overview over the SAP S/4HANA simplification related SAP Notes:
It allows you to focus on the ATC findings related to a particular SAP Note. Like e.g. the transactions for entering and displaying goods movements (material documents) – called “MB transactions” were decommissioned in SAP S/4HANA and if they were used in the custom code, they must be replaced by the transaction MIGO.
Statistics View by Contact Person
Choosing the Statistics View by contact person offers you the ATC checks grouped by the author (or responsible person) of the object:
And finally, just to give you a short outlook in the future: we currently work on the using the last changer of a source as a statistics criterion. This has been requested by many customers because the author of an object is often no longer in the company or meanwhile cares about something else. Stay turned!