2023 Mar 30 12:08 PM
Requirement is to download a CSV file,
by default this FM takes Field separator as tabs
but here i have given field separator as ','
its still separating the Fields by Tabs.
i want to download output in CSV file.
is this FM correct way to do so.
Thank you.
2023 Mar 30 5:24 PM
WRITE_FIELD_SEPARATOR is a flag whether fields shall be separated and not the separating character, see function module documentation:
In the downloaded file, the columns are separated by tab characters (cl_abap_char_utilities=>horizontal_tab). You should use this setting if you want to upload the data from the file at a later time, because this is the only way of identifying individual columns.
The parameter makes sense only for the FILETYPE values ASC, DAT and IBM; for DAT it is set implicitly.
'X' : Write separator.
SPACE : Do not write separator.
SPACE