‎2006 Jun 07 2:58 PM
Hello all,
i am facing a strange problem with file format. i have downloaded the output by using function'GUI_DOWNLOAD'.
the problem is when i view the file .txt format i have 10 records in separate lines but when i change the extension to .rft then output shows in one line whether the wordwrap is marked or unmarked.
can any one help me how to solve this problem
Regards,
Lisa.
‎2006 Jun 07 3:05 PM
‎2006 Jun 07 3:05 PM
hi
hav u indicated field seperator as 'X' in gui_download
if u want to download in RTF foramt u can specify as below
EXPORTING
BIN_FILESIZE =
FILENAME = P_FILE
<b> FILETYPE = 'RTF'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'</b>
‎2006 Jun 07 3:08 PM
hii
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = ld_filename
<b>filetype = 'RTF'</b>*
APPEND = 'X'
<b>write_field_separator = 'X'</b>*
CONFIRM_OVERWRITE = 'X'
TABLES
data_tab = it_datatab[]
EXCEPTIONS
file_open_error = 1
file_write_error = 2
OTHERS = 3.
‎2006 Jun 07 3:36 PM
Hello all,
i need to display diffrent records in diffrent lines. not to seperate fields
Regards,
Lisa
Message was edited by: Lisa Roy
‎2006 Jun 07 4:05 PM
Hi,
what type of file format you want ?
you can use .txt. or you can use CSV,XLS extensions instead of that.
i am not getting why you need a file with .RTF format ? as the data we are downloading will be of characters ONLY in Raw format(text only)
why to go for RTF format(which is having different font attributes like bold,underlined etc..) ?
regards
srikanth
‎2006 Jun 07 4:10 PM
‎2006 Jun 07 4:22 PM
hi
try this fm to convert text to RTF
<b>SKTU_TEXT_GET_CONVERT_TO_RTF</b>
<b>LIST_CONVERT_TO_RTF</b>