cl_gui_frontend_services=>gui_download – separator firlds

Hi.

I have an internal table to be download to txt file with the fields separated by ‘|’

CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = lv_name
filetype = ‘ASC’
write_field_separator = ‘|’
TRUNC_TRAILING_BLANKS_EOL = ‘X’
TRUNC_TRAILING_BLANKS = ‘X’
changing
data_tab = t_final.

 It saves the file, but with tabs between the fields (instead of the ‘|’ separator) 

here is the result

marcobranco1975_5_0-1728550375884.png

Any ideas? What I’m doing wrong?

Scroll to Top