Skip to Content
0
Former Member
Mar 24, 2009 at 12:48 PM

how to do select single out of loop.

25 Views

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.