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: 

ABAP Test Cockpit(ATC) naming convention issue

0 Kudos

Hello All,

I am trying to configure ATC for our SAP system. I have created a code inspector check variant and maintained it in ATC configuration. All the other checks are working as desired but it shows error for all the naming convention.

For example, I have maintained the naming convention for constants as 'C_*'.

But if I declare a constant as C_TEST I get error as "Invalid Name ... for CONSTANTS (Global)".

This error is occurring is for not only constants but all the naming conventions. But when I execute it only through the code inspector via tcode SCII I am not getting this error.

Can anyone please help me understand what I am doing wrong?

Thanks in advance,

Sarif


4 REPLIES 4

matt
Active Contributor
0 Kudos

Not answering your question, but I would like to point out that your variable naming standards seem to vary from DSAG recommendations and SAP's own guidelines.

fabianlupa
Contributor
0 Kudos

Some ideas:

Are you sure your configured ATC variant is executed and not the default one?

Also there a two separate options for naming conventions in ATC, one is using SLIN and the other is not if I recall correctly. If you have both activated you'll get confusing results.

0 Kudos

Hi Fabian, thanks for the reply. I hope you are talking about the below 2 options. As you can see, I have checked only one of them.

0 Kudos

Thanks Matthew, the DSAG recommendations seems interesting and helpful. I'll have a read and see if we can incorporate any of the suggestions.