Skip to Content
Technical Articles

Remote Code Analysis in ATC – How to write an ATC check

This is the ninth blog of the blog series about Remote Code Analysis in ABAP Test Cockpit (ATC).

See also blogs:

Maybe you already know how to write an ATC check because we had a developer guide already available in the past (How to build a new check for the Code Inspector).

But now with the remote scenario in ATC we enhanced the check framework and improved the ABAP code analysis infrastructure. Therefore we decided to provide a completely new developer guide to describe in detail which steps are necessary to integrate a new check into ATC.

Especially the aspects of remote enabled checks are described in detail in this new guide and how you can build you own Quick Fixes.

How to write an ATC Check (PDF).

8 Comments
You must be Logged on to comment or reply to a post.
  •  

    Thank you very much for providing this guide!

     

    On page 10, the description for parameter p_position is missing. This Parameter is very important for the automatic checksum generation.

  • @Olga Dolinskaja , thank you for compiling and sharing useful information about ATC. Helped a lot to understand technical as well as functional side of ATC tool. I have query about ATC check from central system at transport release. As I understand from various blogs, Cetral system check cannot be triggered at transport release and we have to rely on local variant. Could you share more about ATC function to ensure check is triggered at the time of transport release and block if check condition are not met. How to leverage central ATC system to trigger and check release results.

    • Girwar Meena

      Hi Girwar,

      you can actually and easily make use of a check variant defined in the central system during transport (or even task) release in the local system. All you have to do is to define a variant in the central system and then a “reference” variant in the local system. Here are the screenshots from our system (local is on NW 750 SP13 EHP8 and central on NW752 SP2).

      Once you have this defined, you can use check variant name in the local ATC-configuration:

      For the Transport Settings and behaviour on release it doesn’t matter if the actual variant is from the local or central system:

      Only RFC-enabled checks can be included in the central variant.

      Hope this helps!

      Cheers

      Bärbel

      • Thank you for sharing with screenshot. Very helpful information about reference check. Appreciate your time and prompt response.

        Need little more information about the ATC Transport release rule check. 

        Assuming we have a central ATC system with Satellite system A, B, C connected to it. Also, automatic check on transport release is enabled. 

        Expecting:

        • Rules are stored in the Central ATC System
        • At transport release, the local system (Dev System xxx) reaches out to central ATC system to perform the checks
        • Results are returned – if there are any findings, the person releasing the transport can request an exception, kicking off a workflow