Skip to Content
0
Former Member
Dec 07, 2006 at 05:25 PM

Separating fields/columns by 'comma' when download a file from SAP

124 Views

Hi.

I use this FM: CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = ld_filename

filetype = 'ASC'

  • APPEND = 'X'

write_field_separator = 'X'

  • CONFIRM_OVERWRITE = 'X'

TABLES

data_tab = it_datatab[]

EXCEPTIONS

file_open_error = 1

file_write_error = 2

OTHERS = 3.

But i dont want to separate the fields by tab, i want the fields separated by comma.

How i can do that?

Thanks in advance.

AM