Skip to Content
0
Former Member
Apr 08, 2008 at 12:13 PM

help needed to get unique record from an internal table

31 Views

Hi Everybody,

I have to get unique record from an internal table. i know we can use read statement with key condition .

But the problem is i have to use some relational operators like GE or LE.

eg

read table itab into wa with key width GE itab-widthfrom

width LE itab-widthto

machno eq itab-machno.

Its giving me error when I use the operators GE , LE.( I think since it can't find a unique record with those relational

operators in the with key statement)

Is there any other way to get unique record from internal table without using the loop?

Thanks,

Sunny