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
Documentation SAP Note:
2825782 – Enabling Access to the Reference Check System for ABAP Development Tools
Hi Olga,
this is what was missing. Very good indeed.
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
Hi Girdhari,
with which SAP_BASIS release do you use ATC? With SAP_BASIS 7.52 ATC ignores findings in generated code.
Regards,
Olga.
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,
Yes..We are trying to leverage the same BADI .
Regards,
Girdhari
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 Girdgari,
nice to hear that! Thank you very much for your update on that!
Best Regards,
Olga.
Hi Olga,
Hope you are doing well!
We recently encounter another issue with the enhancement done using BADI_SATC_TRANSPORT_OBJECT (ENHS SATC_TRANSPORT_INTEGRATION to skip ODATA generated classes during ATC check at transport level. This enhancement is working fine at transport level(SE09,) in managed system but when we are trying to move the transport through SAP Charm , Charm is showing ATC error even though enhancement is triggering and doing it's job properly. We thought may be it's a buffer issue and tried to fix by doing refresh but no luck. Hence either we had to raise ATC exemptions or we have to switch off the ATC to ignore this irrelevant ATC error.
Please suggest. Thanks.
Regards,
Girdhari
Hi Girdhari,
please open a ticket to SAP regarding this issue.
Regards,
Olga.
Ok Olga. Thanks.
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,
I have an example now. Could you please let us know what could be the reason.
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
Hi Bob,
look here: https://blogs.sap.com/2017/02/27/remote-code-analysis-in-atc-for-developers/
You can run remote ATC checks with remote ATC check variant on your local system.
Regards,
Olga.
Oh, sorry. Somehow I skipped that one, I see the list of blogs series always comes without a link to the current one, so maybe that confused me a bit.
Thanks a lot for the help!
Bob
Hello,
we have remote atc on basis 754sp2 and i am trying to see result of central check run in eclipse 2020-06 connected to our developer system on basis 740sp23. it looks like on the blog picture, i can see name of the run, number of errors, warnings, infos, check variant, but when i double click to view detail, then eclipse gives me popup window with error:
An internal error occurred during: “Loading ATC findings”.
Cannot invoke “com.sap.adt.atc.ui.internal.widgets.findingstreeviewer.AtcFindingsTreeViewerColumn.getDescriptionColumnId()” because the return value of “com.sap.adt.atc.ui.internal.widgets.findingstreeviewer.AtcFindingsTreeViewerColumn.getColumn(String)” is null
anyone had the same problem?
Hi Michal,
I have Eclipse 2020-09 and SAP_BASIS 754 SP2 as well and almost the same issue which you have with the central result view.
Also after ATC run with variant in ADT there is 'No findings' in ATC problems even though I can see them in ATC result browser but again cannot open them because of the error: 'An internal error occurred during: "Loading ATC findings".
Executing the 'OpenAttribute (0xC30)' operation produces an invalid XML document.'
But in parallel I can see all results without issues for system 754SP1!!!
Dear Olga, could you suggest the reason of the behavior?
Thanks!
Hello Natalia,
unfortunately I don't know exactly what resolved the issue on my system 🙂 we have discussed the issue with Longjie Jin in this thread https://answers.sap.com/questions/13126888/cant-show-up-atc-central-check-result-browser-in-a.html
Hi Olga .
It is outstanding approach for custom code adoption . I like it very much .
but when I try to implement note 2811876 which you mentioned in blog , I got syntax error as below .
did I miss something before implementation . I am working on SAP Basis 7.53 SP00 now .
Regards,
LJ
2811876 Implementation error
Hi Longjie,
please open a ticket to SAP regarding this issue.
Thanks & Regards,
Olga.
Hi Olga.
yes. I got reply from SAP, and it is fixed now .
looks like I have to implement note 2808562 – ATC: Access Reference Check System via ADT in central checked system for above issues .
Regards,
LJ
Hi Olga
I'd like to use BAdI BADI_SATC_TRANSPORT_CHECK_CTRL from Enhancement spot SATC_TRANSPORT_INTEGRATION in a 754 system but it is not released for the customer. The OSS Note that makes it available for the customer is '2670671 - ATC: Enhancement spot SATC_TRANSPORT_INTEGRATION cannot be used by customers' but it is not valid for 754. Can it be made available for 754 systems?
Thanks
Ian
Hi Ian,
thank you for this request. Meanwhile I've discussed it with our development. Though the implementation on the 754 release is now in the development backlog, it cannot be done short term due to other priorities and urgent topics.
Kind Regards,
Olga.
Thanks for the update Olga.
Hello Olga,
I would like to integrate a Central ATC system into our landscape. With the master ATC system, we would like to test the S4HANA readiness. We have made all the necessary settings in the master system and in the checked system.
The checks work via the ATC transaction and I also get results. I can look at the results in the results browser and in the se80. Unfortunately, I do not see the results in the results browser in ADT (eclipse). There, I only see results from runs that took place in the mastger system. All results from connected systems cannot be seen here.
Do you have any idea what this could be?
Thank you and best regards
Elias
Hi Elias,
you can configure which ATC results should be seen in the ATC Result Browser in ADT. See please for details https://help.sap.com/viewer/c238d694b825421f940829321ffa326a/202009.000/en-US/6c1d23c05e984e9f87b6d1ac6ea5b2c5.html.
Kind regards,
Olga.
Hi Olga,
first of all, thank you for your feedback. Unfortunately, it is not the ADT settings in the Result Browser. As already mentioned I get results but these are only from Local Checks. The Local Check results are in both 'Results on central Check Runs' and 'Result of Local Check Runs'. Maybe you are aware of this problem. I have attached some screenshots to show the problem.
Eclipse_result
ATC_result
SE80_result
Thank you and greetings
Elias
Hi Elias,
thank you for the screenshots. Now I've understood your question.
It is so, that on the central ATC check system you cannot display the remote ATC runs in ADT. It works as designed, since a remote ATC run is a task of the quality expert, and he/she would use SAPGUI to see its results. The ADT is a developer tool, it wouldn't make sense for a developer on the central ATC check system to view the results of the checks on the objects, which are not available in the system.
Kind regards,
Olga.
Hi Ogla,
We are not able to see columns Check class and Message Code un in 1709 system while down loading ATC results. Are we missing any notes here please?
Please guide.
Thanks
Sreekanth
Hi Sreekanth,
please post your question in the Q&A section of the community, since it does not relate to this blog. Please also specify if you see the columns Check Class and Check Message in the ATC results and not able to see them only after download (in the file? in the Excel?...) or are they missing in the ATC results general.
Thank you!
Regards,
Olga.
Thank you Olga.
I have posted question in the community.
https://answers.sap.com/questions/13306179/atc-fields-missing-for-s4-readiness-check.html
Hi Olga,
We have been facing an issue while performing ATC check.
Our central check system is SAP_BASIS 75400 and checked system is EHP 700.
System EHP 700 does not support eclipse based ADT, So active central check result for EHP 700 can't be shown in ATC browser.
We installed ADT 3.16.3 in eclipse ( 2021-03) but EHP 700 is not supporting.
Let us know if there is a workaround to resolve this issue.
Regards,
Amarnath
Hi Amaranth,
what do you want to achieve? The ADT does not support for SAP NetWeaver 7.0 release.
Regards,
Olga.
Hi Olga,
We want to see ATC result set of checked system which is on netweaver 7.0 in ATC result browser of ADT.
Our Central ATC check system is on BASIS 7.54 00. Because EHP 700 does not support ADT,
is there any workaround to access EHP 700 ATC result set on ATC browser?
We are looking to have results in ATC browser so that can apply quick fixes ?
Regards,
Amarnath
Hi Amarnath,
you can apply Quick Fixes only on an SAP S/4HANA system, not on ERP. You need to run ATC over your (taken over from ERP) custom code in ADT on an SAP S/4HANA system and apply Quick Fixes for this run result.
Regards,
Olga.
Hi Olga,
Its really helpful that we could reach out to you.
I would like to know if ATC ( central system ) can be configured to allow exemptions for SAP queries?
Regards
Amar
Hi Amar,
your ATC central check system must be configured to enable exemtions. Then developers can apply for exemptions and approvers apporove or reject them. This is how the exemption process works, independent of ATC findings, see the blog https://blogs.sap.com/2017/02/27/remote-code-analysis-in-atc-working-with-exemptions/
Regards,
Olga.
Thanks Olga for your response.
Hi Olga,
we want to set up a central remote ATC system. Is it possible to use the SAP BTP ABAP for this or do we need a on premise system?
Our checked systems are on 750SP21.
We also want to use baseline.
Thanks and regards
Jens
Hi Jens,
in the SAP BTP ABAP environment ATC baseline is not yet supported, we are working on it.
Kind Regards,
Olga.
Hi Olga,
thank you very much. Is there a planned release date for this functionality?
Thanks and regards.
Jens
Hi Jens,
we will try to deliver this during this year, but I cannot commit any release date.
Regards,
Olga.
Hi Olga,
Is it possible to use ATC check with baseline on 750SP21?
Thanks and regards.
Jens
Hi Jens,
baseline is available with SAP NetWeaver AS ABAP 7.51, see also the blog https://blogs.sap.com/2016/12/13/remote-code-analysis-in-atc-working-with-baseline-to-suppress-findings-in-old-legacy-code/
Regards,
Olga.
Hi Olga,
Can Central Results be accessed from the managed development system via the SAP GUI as well as from ADT?
I'm having trouble viewing them from our development system PST (SAP_BASIS 740 0026 SAPKB74026 SAP Basis Component) using the GUI.
But I can see them from the Central Check system ATD (SAP_BASIS 756 0002 SAPK-75602INSAPBASIS SAP Basis Component).
.
Hi Tom,
the central ATC results can be accessed in development systems only in the ADT.
Kind Regards,
Olga.
Thank you Olga!
Dear Olga,
Just a short question. Our central ATC is now SAP S/4HANA FOUNDATION 2022 and can therefore calculate quickfixes. Does the central result also cover the quickfixes / apply the quickfix function? I tried it but i did not see any quickfix in ADT.
("Additional features ..." in local DEV are activated and the central run was executed with quickfix calculation.)
Regards
Jürgen
Hi Jürgen,
in order to apply Quick Fixes, you need to execute the local ATC run in ADT.
Kind Regards,
Olga.
Hi Olga,
too bad, I thought this could work to use quickfixes in a 750 system.
Regards
Jürgen
Hi Jürgen,
Quick Fixes are available with AS ABAP 7.53 (S/4HANA 1809), see also the blog https://blogs.sap.com/2018/10/02/semi-automatic-custom-code-adaptation-after-sap-s4hana-system-conversion/. Quick Fixes should be applied on the S/4HANA system, because the code adaptation for S/4HANA makes sense only on the system, where S/4HANA standard software is available. It could be possible to wish Quick Fixes for SAP HANA findings on the <7.53 systems, but technically the Quick Fixes infrastructure is not available on those systems and downport (if technically feasible at all) would involve a lot of effort.
I hope it helps you.
Kind Regards,
Olga.