Skip to Content
Technical Articles

Remote Code Analysis in ATC – Browse Central ATC Result in Developer Systems

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

See also blogs:

Now you can browse results from remote ATC central check system (in particular the active central result) using ATC Result Browser in ABAP Development Tools in Eclipse of your checked system (local developer system):

To enable this functionality in remote ATC scenario you need to implement the following SAP Notes in the following systems:

1. In central ATC check system (Reference Check System):

2811876 – ATC: Access Central Results from Reference Check System in ADT

2. In checked systems (local developer systems)

2808562 – ATC: Access Reference Check System via ADT

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

    Nice blog! it really helps.

    We are using ATC locally in different systems and it’s working as expected. However we recently observed that in case of ODATA , ATC run checks on SAP generated method (MPC,MDL,DPC etc.) as well as those tagged with z namespace and it’s taking lot of time to give the ATC result. Was trying to search for some option to include certain kind of object during ATC run and looks like object set can be leverage for same. However in ATC basic settings there is no option to define a object set.

    Please suggest.

     

    Regards,

    Girdhari

    • Hi Girdhari,

      do you run ATC in ABAP Development Tools (ADT) in Eclipse in developer scenario or in SAP GUI? If you use ADT in Eclipse, you can select the packages and objects in the Project Explorer, for which you want to execute an ATC run. If you use SAP GUI and schedule ATC run, you can choose under “Checkable namespaces” for which packages, objects and object types you want to execute an ATC run and which you want to exclude.

      Regards,

      Olga

  • Thanks a many Olga for your response!

    We run ATC in SAP GUI but don’t use schedule run. We have configure ATC in transport layer to block release of TR if object has any priority 1 or 2 ATC findings. So whenever objects needs to be move to higher environment, object owner has to run ATC for respective  transport number. In case of ODATA object  or other development where SAP generates code by itself, ATC gets executed for SAP generated class as well (MDL,MPC,DPC etc.) as they belong to customer namespace and give lot of error and it’s take lot of time as well. Is there any way to exclude object in this scenario?

    Regards,

    Girdhari

     

  • Hello Olga,

    We have SAP BASIS 7.53 but still ATC gets executed for all the SAP generated class for  ODATA project as they belongs to customer namespace.

    Regards,

    Girdhari

    • Hi Girdhari,

      I’ve checked this out with the ATC development colleagues.ATC doesn’t exclude from the check the OData generated objects. But there is a BAdI BADI_SATC_TRANSPORT_OBJECT (ENHS SATC_TRANSPORT_INTEGRATION), which you can use to exclude them.

      Regards,

      Olga.

  • Hi Olga,

    Would like to update you that. We have implemented BADI_SATC_TRANSPORT_OBJECT (ENHS SATC_TRANSPORT_INTEGRATION) and tested successfully. We are able to exclude MPC,DPC,MDL etc classes during ATC checks now. Thanks a many for your help!

    Regards,

    Girdhari

  • Hi Olga

    We’ve applied the notes as suggested including the auth objects from referenced note 2825782 but still we don’t see any central results. I can’t see any dumps/auth issues/SLG1 entries so not sure where next to look.

    Are there any other relevant notes? We are on 7.54 as a central system and I’m testing using a 7.53 checked system.

    Regards

    Ian

    • Hi Ian,

      is in the ATC Basic Settings the option „Allow additional features in ABAP Development Tools” on “yes”?“

      Are only the remote central results (from 7.54) not shown in the ADT of the 7.53 system or also the local central results?

      Regards,

      Olga.

      • Hi Olga

         

        Yes, the ATC Basic Settings option is set to ‘Yes’.

         

        It is only the remote central results that don’t show. The local central results are shown i.e. those trigged by the checked system but using the central check variant. These show in the Results of Local Check Runs section.

         

        Thanks

        Ian

        • Hi Ian,

          it could be up to the system group, namely the results are fetched from the central ATC check system, which also belong to the same system group of the checked system.

          Example: Checked XXX system and “DEV” system group.  All results belonging to the “DEV” system group are collected from the central YYY ATC system. Perhaps that is why no results are displayed.

          Could you please open a ticket and send me the number?

          Thanks,

          Olga.

  • Hi Olga,

     

    We have implemented the central ATC checks in our systems. ATC checks also block the transports(in case of errors) while releasing transports using Charm.

    We have now a problem that it checks also the SAP standard coding. I have checked the BADI suggested here BADI_SATC_TRANSPORT_OBJECT but it seems to be useful only when we want to exclude specific object types and exclusion is not possible based on other parameters like package, name space etc. Is there any other BADI or configuration available to exclude the SAP standard objects during ATC checks ?

    Thank you very much for your answer.

    Best Regards,

    Rafiya Mahammad

    • Hi Rafiya,

      which SAP_BASIS release is ATC running on and which SAP standard objects appear in the results? ATC should actually not check SAP standard objects, only if they were enhanced or modified.

      Best regards,

      Olga.

      • Hi Olga,

        Thank you for your quick answer.

        We are using the central ATC check and the system is on SAP_BASIS release 752 SP4. I am unfortunately not able to provide you the exact object types as we are getting a new dump while trying to display the ATC results (We created an incident to SAP for this issue). But in general we are getting the ATC errors for SAP objects and while implementing the OSS notes.

        Thank you and Best regards,

        Rafiya Mahammad

         

  • Hi Olga Dolinskaja ,

    Is it possible to run the Remote ATC Checks in my local Development environment?

    According to this blog it seems that you can only browse the results of an existing execution, but what I want as a developer, is to run the central ATC Check on demand and only for the object that I’m currently modifying in Eclipse.

    That’s what I do with my local ATC Checks, but the remote ATC runs on a newer version with more possibilities and also would allow us to maintain a unique variant common for different Development ABAP servers.

    I hope you can answer, thank you.

    Regards,

    Bob