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: 

Enhancement to ABAP Editor for naming convention checking

Former Member
0 Kudos

Hi,

Does anyone know of a SAP Enhancement or userexit that can be activated in the ABAP editor to perform some sort of naming convention checking ?

Any thoughts how to do this otherwiase would be greatly appreciated.

Thx.

Colin.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hallo Colin,

I know that you could use the CTS_REQUEST_CHECK BADI. From the name you'll see that it's a tranport BADI. It contains the method CHECK_BEFORE_RELEASE and here you could check the objects' names. Obviously there are the drawbacks that the names have already been created and that local objects aren't affected.

There's also a BADI S_TOOL_ACCESS and I think that certain objects' names can be checked at the time of creation (such as when copying a transaction). I don't think that this covers new reports though.

Regards, Gerard.

4 REPLIES 4

Former Member
0 Kudos

Hallo Colin,

I know that you could use the CTS_REQUEST_CHECK BADI. From the name you'll see that it's a tranport BADI. It contains the method CHECK_BEFORE_RELEASE and here you could check the objects' names. Obviously there are the drawbacks that the names have already been created and that local objects aren't affected.

There's also a BADI S_TOOL_ACCESS and I think that certain objects' names can be checked at the time of creation (such as when copying a transaction). I don't think that this covers new reports though.

Regards, Gerard.

Peter_Inotai
Active Contributor
0 Kudos

In the marketplace under alias /performance you can find a document about how to build custom check for Code Inspector (CI_NEW_CHECK.doc).

It might help you.

Peter

0 Kudos

It's ok. I found it in SMOD SEU00001 - one of the components in here will do the trick.

Thanks

Colin.

0 Kudos

Peter,

Do you still have the CI_NEW_CHECK document? I couldn't find it from the marketplace.

thanks

Jack