Skip to Content

ABAP Test Cockpit not working on includes

We have a habit in my company of putting code for enhancements into includes so that the only line of code in the enhancement is the INCLUDE statement. Some of these includes have quite a lot of code in them. When I bring up an include in SE38 and run ATC on it, it ALWAYS says

"The objects passed the chosen checks without any finding" when clearly there should be findings. It appears to me that the checks are not being performed.

What am I missing here?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 26, 2015 at 03:36 PM

    Hi Terry,

    Try  SAP NOTE  2104212 to solve your problem



    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2015 at 04:20 PM

    I think ABAP Test Cockpit works only on main program (1, M, Classes and Function Groups).

    Unfortunately it does not work on SAP standard objects so you may want to try cloning the SAP standard main program and run ATC on it.

    Not nice, I know, just a try


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2015 at 09:11 PM

    Hello Terry,

    there is no contract that standalone includes need to contain valid ABAP. For instance it is even possible to store human conversation within an include.

    The contract is that programs need to contain valid ABAP only. As Sergio already mentioned the majority of analysers therefore work for programs (reports, function pools, class pools) only.

    As there are restrictions on scanning SAP programs in most versions of ATC, having a custom program also might be a mitigation strategy. Another strategy would be to delegate from enhancements into custom code classes. Such a strategy might be also benefical in terms of stability. If one includes code snippets by enhancements these snipptes still bear the risk that the content has name clashes with SAP code (form routines of same name, variables of the same name, ... ).

    Best Regards


    Add comment
    10|10000 characters needed characters exceeded