07-08-2010 8:34 AM
Hi all,
i have converted OTF file into PDF one and then downloading it to the presentation server . But it gives the error as follows
'Access to file denied' . Can anyone tell me what may be the issue ? Below is my code
DATA: i_lines TYPE tline OCCURS 0 WITH HEADER LINE.
DATA: ws_bin_size TYPE i.
DATA: t_otf TYPE TABLE OF itcoo,
ws_filename TYPE string.
t_otf[] = wa_job_info-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = ws_bin_size
TABLES
otf = t_otf
lines = i_lines.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = ws_bin_size
filename = 'C:\ABC.PDF'
filetype = 'BIN'
TABLES
data_tab = i_lines.
07-08-2010 11:28 AM
Hi Sayeed,
You may not having the permissions to create files in 'C' folder. Change the path and try again.
07-08-2010 11:28 AM
Hi Sayeed,
You may not having the permissions to create files in 'C' folder. Change the path and try again.