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

Select statement with where condition

Former Member
0 Likes
377

Hi all,

i dont want to fetch few records which will staisfy the ware condition.

instead of the below statement, any other method to fetch with high performance.

select * into itab from mara where matnr = itab1-matnr and

( matkl ne xyz or matkl ne abc or matkl ne 123 or matkl ne 789 )

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
351

Hi,

Filter those values in internal table itab1 only.

example,

loop at itab1 where maktl = xyz and maktl = 123.

delete itab1.

endloop.

Regards,

Bhanu

1 REPLY 1
Read only

Former Member
0 Likes
352

Hi,

Filter those values in internal table itab1 only.

example,

loop at itab1 where maktl = xyz and maktl = 123.

delete itab1.

endloop.

Regards,

Bhanu