Skip to Content
Technical Articles

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:


Motivation

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.

Using filters

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!

 

24 Comments
You must be Logged on to comment or reply to a post.
  • Hi Olga,

    thank you for this overview.

    I hope the coming “Statistics by last changer” we can implement via SAP note in 7.51 (pretty please… 🙂 ).

    Cheers, Uwe

  • Hi Olga

    I second Uwe’s comment. We are currently trying to achieve this via the user exits (see comment on your FAQ blog) so can you confirm when and in which version this functionality will be delivered.

    Thanks

    Ian

    • Hi Ian,

      no, unfortunately I can’t confirm this. Currently the “Statistics by last changer” will be implemented only for the next major ABAP release.

      Regards,

      Olga.

  • Hi Olga

    Can you tell me where the template is for the emails?  When emailing out from the Central ATC, the standard text says to logon to the central system but I do not want them to do this, I want them to logon to the satellite system.

    Thanks

    Ian

    Regards

    Ian

     

    • Hi Olga

      Rereading your post and also getting input from the basis team here suggests that this is only available for S/4HANA 1809? Or is also available for NW AS ABAP 7.52 plus a support pack? We cannot find it in the PAM anywhere else apart from under S/4HANA 1809.

      Thanks

      Ian

      • Hi Olga

        I’ve just you document – https://www.sap.com/documents/2018/10/06ffdf13-207d-0010-87a3-c30de2ffd8ff.html

        which seems as though there is no upgrade path from 7.52 to 7.53.

         

        Can you confirm?

        Thanks

        Ian

        • Hi Olga

          I raised an SAP incident for this and it is confirmed that there is no upgrade path as 7.53 is not available as a standalone product.  This I find rather surprising and disappointing since the Central ATC is suggested to be used as a standalone system. Why would we need a HANA db and the associated cost for this system?

          Will any of the newer functionality that made its way into the 7.53 release be backported for those of us that will be ‘stuck’ unless we move to S/4?

          Regards

          Ian

  • We have an ATC on 7.52, but we do not see the statistics view “SAP Note Number”. Is there a note to include this view into our installation?

     

    Thanks,

    Michael

    • Hi Michael,

      if you set up and configured the remote ATC 7.52 inkl. all SAP Notes as described in the https://blogs.sap.com/2016/12/13/remote-code-analysis-in-atc-technical-setup-step-by-step/, then the Statistics by SAP Note number should be there.

      Caution: it is not a separate view, it is just the additional selection criterion in the ATC StatisticsView under “Choose Statistics”.

      Regards,

      Olga.

      • Yes, I know from other installations .

        Still it is not there in the new one, and I would appreciate to find a Note number or any hint on this. The blog you mention is the well known one but I don’t find any help to my specific problem there.

         

        Thanks for helping

        • Hi Michael,

          there is no dedicated SAP Note on this: the new StatisticsView option must be in the ATC in 7.52 system. Please open the OSS message to SAP to evaluate your particular problem.

          Regards,

          Olga.