Skip to Content
0
Former Member
May 30, 2011 at 09:55 AM

What File Type we have to pass to get the pipe delimeter ?

28 Views

Hi Sir,

Am fetching data from sap and downloading it on to the desktop or any drive, here am using GUI_DOWNLOAD function module in the am passing separetor = '|' filetype = 'ASC' but in output file am not getting the pipes, see the following code.

*File1 Download

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

  • BIN_FILESIZE =

filename = 'C:\file1.txt'

filetype = 'ASC'

  • APPEND = ' '

write_field_separator = '|' " Pipe delimted

TRUNC_TRAILING_BLANKS = 'X'

TABLES

data_tab = t_file1

.

IF sy-subrc = 0.

MESSAGE i000(z1) WITH 'Data saved at C:\file1.txt'.

ENDIF.

any body help me to solve this problem.

Thanks and Regards

Syed Zarah