Skip to Content

Problem with FM FPCOMP_CREATE_PDF_FROM_SPOOL only works with one page

Hi Guru's

I have a order spool with a result of multiple adobe form. Now I want download this order spool in a rawstring variable. The function module convert_abapspool_2_pdf work it but to create the file passing the raw string variable to open the .pdf I see the following error:

There was an error opening this document. This file cannot be opened because it has no pages.

I think that this function module not work with adobe form.  I try with the function module FPCOMP_CREATE_PDF_FROM_SPOOL but only works with 1 page indicate in the import parameter  I_PARTNUM.  I NEED ALL PAGES of the .pdf.

Please someone can me help me?,

Thank you very much,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 19, 2016 at 06:02 AM


    Execute the program RSTXPDFT4 in SE38 by entering the spool number which is to be converted to PDF. Using this you can able to convert a spool which has less than 99 Pages.



    Add comment
    10|10000 characters needed characters exceeded