Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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 .

endloop .

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 .

Thanks

Tags:
Not what you were looking for? View more on this topic or Ask a question