Hi sreekanth,
The above code can be used to write file to application server.
To download to pc. try below code.
TYPES :BEGIN OF ls_string,
f1 type string
END OF ls_string.
DATA:lt_string LIKE STANDARD TABLE OF ls_string,
lt_string1 LIKE STANDARD TABLE OF ls_string,
wa_string type string
loop at it into wa.
concatenate wa-f1 wa-f1 ....into wa_string separated by space.
split wa_string into it_string
append lines of it_string to it_string1.
refresh it_string.
endloop.
use gui_downlaod to download it_string1.
Thanks