Skip to Content
0
Former Member
Jul 06, 2009 at 10:24 AM

Getting an error saying no primary index is used in where condition in SCI.

238 Views

Hi,

I have develped a report using table PAYR.

The selection -screen of this report consists of Runid, Identification and Payment date.

The select qurey i used is

SELECT chect

zaldt

rwbtr

znme1

voidd

FROM payr INTO TABLE it_details

WHERE laufd EQ p_laufd AND

laufi EQ p_laufi AND

zaldt EQ p_date.

But when i check the code with code inspector im getting an error saying no primary index is used in where condition.

How can i solve this problem.

Pls. provide some pointers.

Thanks.