tags:

views:

147

answers:

1

How can I stop the ABAP extended program check (SLIN) from reporting errors in include libraries that I may not have write access to?

I like to leave the extended check with as few errors & warnings as possible, usually when I intentionally use something in a way that may cause a warning, I use the pseudo comments ("#EC * etc) to hide the message. This also tells the next programmer that I at least thought about the possible consequences of using something in a particular way.

When these statements are in includes that I have no control over, I would like to hide the messages without changing the offending libraries/includes.

+1  A: 

Use SET EXTENDED CHECK OFF

 SET EXTENDED CHECK OFF.
INCLUDE: zoffendinginclude.
SET EXTENDED CHECK ON.

Remember to use SET EXTENDED CHECK ON as soon as possible after that.

Esti
Didn't know that one. thanks
PATRY