‎2007 Sep 06 10:39 AM
can't we use as follows, it gives error.
read table ipos with key udate LE it_final-budat.
<--->
how to check for this case.
regards
Rajaram
‎2007 Sep 06 10:43 AM
well probabaly this aint the best solution but at least a workaround.
loop at ipos where udate LE it_final-budat.
endloop.BUT now i see where the real problem is.
if it_final is a internal table without headerline it will never work.
‎2007 Sep 06 10:43 AM
well probabaly this aint the best solution but at least a workaround.
loop at ipos where udate LE it_final-budat.
endloop.BUT now i see where the real problem is.
if it_final is a internal table without headerline it will never work.
‎2007 Sep 06 10:48 AM
Read table is meant to return only a single rows. Whereas if you use LE condition then this condition can be satisfied by more than 1 rows. Hence special comparators like LE LT GT GE do not work with read statement and give errors.
You can use LOOP instead.
LOOP.
*at some condition
EXIT.
ENDLOOP.
Reward points if helpful