Skip to Content
0
Former Member
Apr 13, 2010 at 05:46 AM

version changed from 4.6 to ecc6.0

27 Views

i have to write code as per ECC 6.0

LOOP AT it_likp INTO wa_likp.

wa_output-werks = wa_likp-werks.

wa_output-vrkme = wa_likp-vrkme.

wa_output-lfimg = wa_likp-lfimg.

IF wa_output-werks <> ' '.

SELECT name1 FROM t001w INTO wa_output-plant1

WHERE werks = wa_output-werks

AND spras = sy-langu.

ENDSELECT. ""#EC CI_USE_WANTED

ENDIF.

append wa_output to it_output.

end loop.

now the above code is as per 4.6 version.

as per ECC 6.0 please tell how to write select statemnet out side the loop and read statement in side the loop..

please give coding for that