Skip to Content
avatar image
Former Member

Download to PDF File

Hi all,

I want to download .pdf file (just like we download eg. .txt file using FM 'GUI_DOWNLOAD', I have to download a .pdf file). I tried with the same FM, but whenever I am trying to open the file, it's giving error. Anybody any idea? Is it possible to download to .pdf simply using GUI_DOWNLOAD?

If yes, any special parameter needs to be passed?

Thanks

Sandip

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Feb 07, 2006 at 08:52 PM

    I think that you need to convert to PDF before using gui_download.

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 07, 2006 at 09:07 PM

    Sorry,didn't get you? what should I convert to pdf before using the FM? What I want is, I have some data in my internal table, And I want to download that into a pdf file.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Rich Heilman

      what is the fm used to get the spool id of the driver program so that i can send the spool id to the fm "CONVERT_ABAPSPOOLJOB_2_PDF" to download it into an internal table.

      Please tell me with the parameters to be passed.

      Thank You,

      Sarath.C

  • avatar image
    Former Member
    Feb 07, 2006 at 09:08 PM

    Did you set

    filetype  = 'BIN'

    Rob

    PS - in the future, you'll probably get more response if you label the post as a question.

    Add comment
    10|10000 characters needed characters exceeded