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

Code Inspector: Common Message

Former Member
0 Likes
745

Dear all,

when i m going to release driver program(any).

i used....

1) se09

2) click on related request.

3) then check tab

4) then select or double click on third option "Code Inspector"

5) Performnace check

always many error message are occured.

like:

Program ZPPR020_DAILY_REPORT Include ZPPI020_VORNR_SELECTION Row 34 Column 8

Large table PLAS: No first field of a table index in WHERE

condition

my query is:

SELECT PLNTY PLNNR PLNAL PLNFL PLNKN ZAEHL LOEKZ FROM PLAS

INTO CORRESPONDING FIELDS OF TABLE I_PLAS

FOR ALL ENTRIES IN I_CAUFV

WHERE PLNNR = I_CAUFV-PLNNR

AND PLNAL = I_CAUFV-PLNAL

AND LOEKZ = ''.

above type of error is always occured for any executable program

plz reply me as soon as possible.

thanx in advance

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
627

It just mean that you are doing a select on large table without using primary index (key).

If there is no other way, ignore this message. But always try to use the key (as many fields from the key as possible, or secondary index) when doing a select on a (large) table for performance reasons.

Read only

Former Member
0 Likes
627

Hello Anshuman

You are getting error because you are not using the first field of the table in your where clause of Select. To overcome this error see whether you can use the first first in the Where clause else you can hide using the pseudo comment like # EC NO_FIRST.

Regards

~ Ranganath

Read only

0 Likes
627

Hi Thanx for ur answer,

but what is # EC NO_FIRST.

where i use?????

Read only

0 Likes
627

ABAP STATEMENT. "EC NO_FIRST

In general you can put these messages at the end of a statement and use the double quotes (") followed by the comment EC NO_FIRST.

In general these statements will be ignored by the check, but the problem remains. You are not using the (primary) key. But like I said, in some cases there is no other way.