problem in select in a loop
i m having the following scenario
loop at lit_hr into ls_hr .
select single pernr begda endda department from
pa9001 into ls_9001
where begda <= ls_hr-enda
and enda >= ls_hr-enda .
as i cant get all the data outside the loop with for all enteries as read doesnot work with LE and GE only equal to works.
please let me know some possibility reagarding this .