Skip to Content
0
Former Member
Sep 22, 2008 at 06:35 AM

Problem in CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

655 Views

I am downloading data from my internal table to an excel file in a shared drive. But the problem is all the row are coming in one line instead of seperate lines. this is how i am calling

*download the data into the excel

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

EXPORTING

FILENAME = '
srvsms\testfolderofsap\invoice1.xls'

FILETYPE = 'ASC'

APPEND = 'X'

WRITE_FIELD_SEPARATOR = 'X'

CHANGING

DATA_TAB = T_INVOICE[]

EXCEPTIONS

The next time when i upload a record , instead of appending to the new line in the excel it gets apended to the previous line.. this should not happen... wht shud i do.... thank u