Application Development and Automation 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: 
Read only

How to filter out standard code from Standard Code Inspector (SCI)

Former Member
0 Likes
1,006

Dear all,

I am using SCI transaction to evaluate and improve ABAP code. The issue I have is that when my customer ABAP code is using standard code from standard includes, this code it is also showed in my SCI inspection and I would like to remove. For instance the code that SAP uses when you create a table maintenance dialog coming from includes LSVIMF*.

I tried to filter by packages commencing by Z*, by user different than SAP, etc,... I tried to set filters in at Object set level and at result level but it didn't work.

Having this code out of my SCI inspection would allow me to have a much more efficient, loyal to reality and faster analysis than the one I have now.

Do you have any idea?

Thank you,

Manuel

6 REPLIES 6
Read only

Former Member
0 Likes
776

Hi,

There is a solution for this. In Object Set, in menu Edit -> Exclude view maintenance funciton groups.

The problem is if you have in one FG, FM for maintenance view and other FM, second ones are also removed from analysis.

Any idea?

Thank you,

Manuel

Read only

0 Likes
776

Hi,

You could also simply enclose the standard includes by SET EXTENDED CHECK OFF/ON...

Krn

Manu.

Read only

0 Likes
776

Hello Manu,

Thank you for your reply. What do you exactly means with that? where and how can I do that?

Thank you,

Manuel

Read only

0 Likes
776

Hi,

It means that when you try do do an extended program check, it will exclude the SAP standard code.


SET EXTENDED CHECK OFF.

Regards,

Danish.

Read only

0 Likes
776

Hi Danish

Do I have to include that sentece in the ABAP code? At the top?

Thank you,

Manuel

Read only

0 Likes
776

Hi Manuel,

You should enclose the part you don't want to be checked...

eg.


REPORT zreport.

SET EXTENDED CHECK OFF.  "To deactivate extended checks

INCLUDE (standard include 1).
INCLUDE (standard include 2).

SET EXTENDED CHECK ON.  "To reactivate extended checks

"...
START-OF-SELECTION.
"...

Kr,

Manu.