In a loop , I have a select single statement as like below.
LOOP AT it_abcd.
SELECT SINGLE f1 INTO it_output-f1
FROM mkpf
WHERE mblnr = it_abcd-belnr
AND mjahr = it_abdc-gjahr.
endloop.
Now, I want to make this select out of loop and make a read statement
Can you tell me how to acheive this.