
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.
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:
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:
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.)
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.
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 tuned!
You can also download ATC results to a local file, see the SAP Help Portal documentation Copying ATC Results to Spreadsheets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
13 | |
11 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 |