Skip to Content
0
Former Member
Apr 29, 2007 at 06:27 AM

Excel file download in application server

205 Views

Hi all,

I want to write int table content (itab) as tab delimitated file on application server with following code. It works fine on SAP version 5 onwards but do not work in version3 on which I m working now. It gives syntax error.

Can anyone Plz tell me any replacement for this code which will work fine on version3.

open dataset d1 for output in text mode.

loop at itab.

concatenate itab-fld1 itab-fld2 into str

separated by <b>cl_abap_char_utilities=>horizontal_tab.</b>

transfer str to d1.

endloop.

close dataset d1.

cl_abap_char_utilities=>horizontal_tab ."this is stat is not identified in vers 3."