Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable ATC results for SAP standard codes?

former_member243278
Participant
0 Kudos

Hi everyone,

I need to disable SAP ATC(Abap Test Cockpit) for standard SAP programs. For example, I used an include which is standard in my program then when I tried to check my custom codes with ATC, ATC found thounds of results which is related with standard functions and includes.

Shortly, I want to see only my custom code results. Is there any solution for this?

I found a SAP note for this subject but it was not downloaded to system because of "incomplete sap note" error.

1 ACCEPTED SOLUTION

ThFiedler
Product and Topic Expert
Product and Topic Expert

Hi,

we are working on such kind of filtering in the ATC result.

Regards,

Thomas.

21 REPLIES 21

ThFiedler
Product and Topic Expert
Product and Topic Expert

Hi,

we are working on such kind of filtering in the ATC result.

Regards,

Thomas.

0 Kudos

Hi Thomas;

Is there any changes about this issue

Former Member
0 Kudos

Hi Thomas,

We are also facing same issue. I didn't have a proper reply from sap for the incident I have raised. Could you pls let us know a way out here..

gregorw
Active Contributor
0 Kudos

Is there any news on this topic? Can we exclude SAP Standard Objects from the SCI test results.

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gregor,

we invested a lot in that topic to detect generated SAP code within custom code. For example findings in SAP includes are already filtered out. Frameworks like BSP, Web Dynpro are also handled properly in the meantime. But there are still some gaps where we are working on like Gateway services.

Regards,

Thomas.

0 Kudos

Hi Thomas Fiedler - I hope this message reaches you well. My team has been tasked with the goal of reducing the number of ATC exemptions by 50% - right now we're getting unnecessary exemptions whenever doing code scans.

Do you have a solution to disabling ATC results for SAP standard code like the original poster asked for?

Also, do you have a solution for disabling ATC results for 3rd party code?

Best,

Ronald Vincent Pabello

0 Kudos

Hi Ronald! Have you found a solution to the problem? I'm facing the same issues. Best, Sebastian

Siarljp
Active Participant
0 Kudos

You can be selective by using an object set and then maybe choosing only "Z" packages / objects, also when you schedule an ATC run on a 740 system (where my company is at) you can exclude table maintenance view (which is one of the frequently included group of standard includes), I think there is an option also to exclude table maintenance views in SCI too.

0 Kudos

Hi Julian,

All Z* or Y* maintanance tables that was created by developer will be in Z or Y packages. Therefore, standard codes for table maintanance function group which is generated by SAP automatically will be in also Z packages. I tried before your comment but it was not working. Thanks for your comment, as I understand from Thomas answer, we have to wait to release filtering option for standard codes.

Siarljp
Active Participant
0 Kudos

The exclude option takes into account that the table maintenance objects are in customer namespace, and excludes them from the check. It works well for us, inspections that were picking up thousands of failures are now correctly showing just a few. I think it is a fairly new feature.

0 Kudos

Hi Julian,

I do not know the exclude option for ATC. Can you explain or share a link for it?

Siarljp
Active Participant
0 Kudos

Sorry I am very late in replying here, been a bit busy. (Note this is in 740) If you go into transaction SCI, and then goto "Create object set". Then on the next screen - if you click on the Edit menu - you should see an option "Exclude View Maintenance Function Groups" - this is one way to exclude them from a specific ATC run. The other way to trigger this option - is from the ATC itself. Here when you goto "Schedule Runs" Then choose "Create", choose a run series name in the next dialog, then on the "Configuration: Edit" screen, in the first subwindow entitled "Check Run" there are 2 checkboxes - one of which is "Analyze Generated Maintenance Dialogs" - this should enable the ATC to scan table maintenance views if checked. If you leave it unchecked, then it should not do this.

Former Member
0 Kudos

Hi Julian,

i am also facing the same issue to exclude standard includes / FM's from ATC run.

could you please help to overcome the issue and limit the ATC finding only to Z* objects..

0 Kudos

Hi Julian,

I scheduled an ATC run leaving the checkbox "Analyze Generated Maintenance Dialogs" unchecked...Surprisingly, the ATC scan still detected issues on the standard includes. Not sure what could be wrong. Any clues?

I also created the object set as mentioned (excluding view maint. fn. groups) and scheduled the ATC scan using this object set... This gave me correct results. Thanks for the suggestion.

0 Kudos

Hi Amit & Julian,

When i'm scheduling the ATC run's, i see an option called "Activate Result". What is the use & impact on enabling this flag during ATC run.

Gilmour213
Explorer
0 Kudos

Hello,

we are facing the same problem. We are using a central ATC Server with 7.52

When I do a Schedules Run from this central System to our Development System, I use an existing SCI Object Set in this Dev.System.

Even when I switch of the Checkbox "Analyze Generated Code" on the Screen for Scheduling the run these Table Maintenance Dialogs will still be analyzed and bring for ex. a lot of Naming Convention Errors which I can't influence.

These Includes which normally should not be analyzed all starts with LZ* (Z for the Z-Namespace we use)

So is the only way to exclude them by SCI Object Set ?

Best regards

Mario

smartin
Explorer

Any news on that ?
Is there already solution available that SAP object includes,.. are not automatically checked by ATC ?

0 Kudos

You need to create a variant with only the Z package

0 Kudos

Some SAP or third party add-ons also come in Z* or Y*. How to exclude them?

former_member797976
Discoverer
0 Kudos

Hi,

I have a package which is not Z* or Y* and it starts with CM01_DCM and if i run ATC by passing objectset it is returning '0' results and how can i enable ATC for standard sap code. I have tried to change the namespace to /0CUST in the debuging still not working. Please advice

0 Kudos

I saw your posted answer. Please raise your question again as a new question and follow our rules of engagement: https://community.sap.com/resources/rules-of-engagement. The author of the original question is no longer active in the community and won't receive your query. With the help of our Q&A tutorial: https://developers.sap.com/tutorials/community-qa.html, you'll be able to prepare questions that draw responses from our members.

Thank you!


Join or subscribe to SAP Community Groups to stay up-to-date, including SAP TechEd Group.