Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

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

Tags:
Former Member
Former Member replied

Hi,

Try commenting the APPEND = 'X' statement.

This is required only if you want to append the data to existing file.

Best regards,

Prashant

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question