1 Reply Latest reply: Jul 8, 2010 12:28 PM by Badrinath Talla RSS

Error while downloading the PDF file on presentation server

syed hussan
Currently Being Moderated

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.

Actions