Concatenate different reports in a single PDF file

Hi,
I need to concatenate different reports in a single PDF file.
What I want is to have a single PDF file as a result of a single URL request; but my request runs different reports having a single file as a result.
In other words, I already have the report A, B and C.
I'd want to build a new report "D" that invokes A, B and C returning a single PDF that contains A + B + C.
How can I do it? Is there a SRW function?
Thanks in advance for your help
Samuele Gallazzi

You can concatenate pdf's together using Ghostscript on unix. Just a bit of scripting.

Similar Messages

  • Merge Different Spools containing a Single PDF page into a Single PDF file.

    Greetings,
    I am developing a custom object where in i need to read PDF file from many different Spools(Range given on Input Screen), where each spool has a single PDF page in it. I need to combine all these PDF Pages into a single PDF file & either create a new Spool or save it on an Application Server.
    At present i have developed the code where in i am able to read the PDF files from different spools & convert them into Binary but i am not able to generate it back to PDF file.
    Kindly find my code for your reference.
    CODE:-
    START-OF-SELECTION.
      PERFORM f_get_spool_1000 .
      PERFORM g_conv_pdf_to_bin_2000 .
    *&      Form  F_GET_SPOOL_1000
          text
    FORM f_get_spool_1000 .
      SELECT * FROM tsp01
               INTO TABLE gt_tsp01
               WHERE rqident IN s_spool
               ORDER BY rqcretime DESCENDING.
      IF sy-subrc = 0.
        SORT gt_tsp01 BY rqident .
      ENDIF.
    ENDFORM.
    *&      Form  G_CONV_PDF_TO_OTF_2000
          text
    DATA: lv_filename_out   TYPE string,
                lv_len            TYPE i,
                lt_tab            TYPE tsfixml .
      DATA: lwa_print_parms    LIKE pri_params,
                  lv_valid(1)       TYPE c .
      DATA: lv_linsz LIKE sy-linsz VALUE 132, " Line size
                  lv_paart LIKE sy-paart VALUE 'X_65_132'.  " Paper Format
      DATA : lt_tsp01 TYPE STANDARD TABLE OF tsp01 ,
                   lwa_tsp01 TYPE tsp01 .
      CLEAR : gv_pdf, gwa_tsp01, gv_renderpagecount .
      LOOP AT gt_tsp01 INTO gwa_tsp01.
        CALL FUNCTION 'FPCOMP_CREATE_PDF_FROM_SPOOL'
          EXPORTING
            i_spoolid         = gwa_tsp01-rqident
            i_partnum         = 1
          IMPORTING
            e_pdf             = gv_pdf
            e_renderpagecount = gv_renderpagecount
            e_pdf_file        = gv_pdf_file
          EXCEPTIONS
            ads_error         = 1
            usage_error       = 2
            system_error      = 3
            internal_error    = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CLEAR lv_len .
        REFRESH gt_bin .
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = gv_pdf
          IMPORTING
            output_length = lv_len
          TABLES
            binary_tab    = gt_bin.
        CLEAR gwa_bin .
        LOOP AT gt_bin INTO gwa_bin.
          APPEND gwa_bin TO gt_listout.
          CLEAR gwa_bin .
        ENDLOOP.
      ENDLOOP.
    Get FP reference
      DATA: lo_fp     TYPE REF TO if_fp VALUE IS INITIAL,
            lo_pdfobj TYPE REF TO if_fp_pdf_object VALUE IS INITIAL,
            lo_exc    TYPE REF TO cx_root,
            lv_xslt_message TYPE string .
      lo_fp = cl_fp=>get_reference( ).
    For handling exceptions
      DATA: lo_fpex TYPE REF TO cx_fp_runtime VALUE IS INITIAL.
      TRY.
          lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
      Set document
          lo_pdfobj->set_document(
            EXPORTING
              pdfdata = gt_listout ).
      Tell PDF object to extract data
          lo_pdfobj->set_extractdata( ).
      Execute the call to ADS
          lo_pdfobj->execute( ).
        CATCH cx_root INTO lo_exc.
          lv_xslt_message = lo_exc->get_text( ).
      ENDTRY.
    Your quick reply would be of great help.
    Regards.

    Thank Your for your concern, there are many replies & posts but all of them points only to Try what they have said. As being said that trying to convert PDF to binary & appending many PDF similarly would not let you generate a single PDF again.
    Your Kind guidance would be really appreciable.
    Regards.

  • Multiple JSPs output into single PDF file

    Could anyone guide me on how do I combine output of multiple JSP files into a single PDF file? I have got 8 different reports and shall required to have single output of all of them in a PDF file. Its urgent. Please help.

    Hi Mahalakshmi,
    Clik on the link to view document: <b>[Combining Multiple Smartform Outputs Into One PDF File|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?overridelayout=true]</b>
    Thanks
    Venkat.O

  • How do i combine multiple pdf file into a single pdf file?

    how do i combine multiple pdf files into a single pdf file?

    The thread was started in early March and it's Mid-April, I know this very well. The OP of this thread posted a very common and simple question or maybe he/she would have resolved this. For an Adobe Acrobat user it's not at all difficult to combine multiple PDF files into one. But to combine PDF files full version of Adobe Acrobat is mainly required, otherwise PDF files can't be combined. For example, I'm using Adobe Acrobat 9 Pro. These simple steps are mainly required to combine PDF files:
    Open Adobe Acrobat.
    Click on Combine and click on Merge files into a single PDF.
    A window will be appearing, click on Add Files and select the PDF files you want to combine.
    Arrange the selected files in any order with the help of Move Up and Move Down button.
    Now click on Combine File and the selected PDF files will be combined within a few seconds.
    A new PDF file will be created. Click on Save As and name this new PDF file. Then, click on Save.
    A new PDF file will be created and all the selected PDF files are combined in it. The steps shown above might be different in other versions of Adobe Acrobat. Other than this, some third-party PDF merge software are also available. Most of them are available with a demo version for free evaluation. I've heard much about SysInfoTools PDF Merge software on other forums and directories and it's demo version is freely available. One may check its demo version if Adobe Acrobat (full version) is not available.
    Regards

  • Merge package into single PDF file

    Hi, I am using Acrobat Professional 8 with Windows Vista.
    How do I merge a PDF package into a single PDF file? Basically, I would like to convert a pdf package file into a "regular" PDF file. Thanks!
    - Patrick

    No solution here, but sounds like my similar problem. I converted a number of individual files to pdf format in hopes of converting it all to one pdf report. I can not seem to figure it out. I looked for the insert page approach but those items do not appear on the Acrobat 8 package. What am I doing wrong? If you are given a solution, please let me know. This effort has been ridiculous, there must be an easy solution that I am overlooking.

  • How to download BI Queries(more than 2) Output into a single PDF file?

    Dear All,
    Requirement:
    How to download BI Queries(more than 2) Output into a single PDF file?
    Purpose:
    The user wants to see 9 queries output into a single file (preferably a zipped file), sent to his email id on daily basis.
    Constraints:
    1) The user may not have SAP GUI on his system.
    2) The user do not want to log into the portal. (otherwise I would not have needed this help)
    Please help me with all possible ways to achieve this task.
    Regards,
    Avinash.

    Hi,
    Please check this links;
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bfcac90-0201-0010-52a3-d5b270b86ef3
    Information Broadcasting Part 1 u2013 System Parameter Setting
    http://sapbwneelam.blogspot.com/2008/09/information-broadcasting-part-1-system.html
    Information Broadcasting-Part 2 -System Settings
    http://sapbwneelam.blogspot.com/2008/09/information-broadcasting-part-2-system.html
    Information Broadcasting Part 3 u2013 Scheduling the First Report
    http://sapbwneelam.blogspot.com/2008/09/information-broadcasting-part-3.html
    How To... Troubleshoot Information Broadcasting (BEx Workbooks)
    http://sapbwneelam.blogspot.com/2008/09/how-to-troubleshoot-information.html
    Hope it Helps
    Regards
    CSM Reddy

  • Acrobat XI PRO: Create a Table of Contents (TOC) automatically in top, after I have combined several pdf.files into a single pdf.file

    Hey
    I have now tried for hours, but now I give up!
    MY WISH -
    Create a Table of Contents (TOC) automatically after I have combined several pdf.files into a single pdf.file.
    I have already bookmarks, shown on the screen (see screenshot below) but I want those bookmark to be visualised in a separate TOC in the top of the combined files.
    This new TOC (which I have inserted) shall be printable and serve as a cover page in a binder.
    I have seen other cheap pdf.programs in the market (e.g. PDF Converter Professional 7.3) which are able to make the above things, easy, fast and nice.
    Regards
    Ole Bünger, Kristianstad Sweden

    Somewhat roundabout way but this should work:
    Is there easy way to print bookmarks Acrobat Pro 9.5

  • How do I create a single PDF file with multiple pages?

    Hi, I occasionally need merge several jpg images into a single pdf file with multiple pages (one Jpg per page). I have tried doing this on Preview, and by selecting all the pages I want to include in my document and trying to save to Pdf through the "Print" function, but every time it only saves the first page.
    Can anyone tell me if there is a way to save multple-page pdf files without having to purchase a specific program (i to this too infrequently to justify the cost)?
    Thanks very much,

    This works for me...
    Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
    From File menu > print selected images. Choose PDF > Save as PDF
    -mj

  • Error message when trying to merge multiple files into single PDF file

    Greetings! I'm on windows 7 professional, adobe 9 pro and a 64 bit PC. When I try to merge several PDF files from the same folder into a single PDF file I get this error message "You can choose multiple items only if they are all located in the same folder" - Please help! Thx.

    The product is Acrobat, not Adobe. That being said, I suspect you may only be running AA 9.0 and that may be the issue. If you have not done the updates to the 9.5.5, you probably should. That may fix the issue you are having, particularly since you mentioned a 64-bit system.

  • Exporting or Printing each page of a Crystal Report to a separate pdf file.

    Is there a way to export or print each page of a Crystal report to a separate pdf file?  If possible, I would look to use the family nunmber field in my report as the file name.  This is not required, but would be helpful.  Thanks

    Hello,
    Standalone CR Designer doesn't have the ability but CR Server or BOE does. Or if you have a .NET or Java you could write an app that would spit out one page at a time.
    Don

  • Can't combine InDesign files to single PDF file

    I'm using Windows XP, Acrobat 8 Professional, InDesign (CS3). Here is the problem: When trying to combine three InDesign files into one single PDF file with Acrobat 8, I get an error message saying something about expecting PDF default presents but get 'Standard'. I've gone into the InDesign files and set the presets to another setting but still get the same message. Quite confused as to how to fix this. Does anyone know, or is there another way of creating a single PDF of three separate Indesign files??

    Try exporting the files from within InDesign as PDF and them combine them in Acrobat.

  • Can "createpdf" online turn a very large Lotus Notes archive into a single pdf file?

    Can "createpdf" online turn a very large Lotus Notes archive into a single pdf file?

    Good day,
    There is a 100MB file size limit when submitting files to the the CreatePDF service or using the CreatePDF Desktop Printer. 
    Please let us know if you have any questions.
    Kind regards,
    David
    Adobe Systems

  • InDesign export to single PDF files with variable Filename

    Hi there,<br /><br />I create a document with Data Merge which contains about 200 Pages. Now i want to export each page to a single PDF-File. Also the filename has to be generated from the placed content. The placed content are adresses. So i want to generate a filename with a static name. I got an ID, a static phrase and then a ZIP-Code. The Filename should look like this: <ID>September<ZIP Code>.pdf while ID and ZIP Code are fields from the datamerge.

    what you need is to operate throuh a loop.<br />for(i=0; i<app.activeDocument.pages.length;i++)<br />{<br /> //Assuming you labelled the textframe containing the ID with ID<br /> var myID = app.activeDocument.pages[i].textFrames.item("ID").contents;<br />//Assuming you labelled the textframe containing the ZIP with ZIP<br /> var myZip = app.activeDocument.pages[i].textFrames.item("ZIP").contents;<br /><br />var myPath = //something like "/disk/folder/" //Set a path to where you want to export the pdf<br />var myFileName = myID + myPath + myZip + ".pdf";<br />//Export to PDF - the forum is full of examples, you should find easily what you are asking for with search<br />} <br /><br />Loic

  • Convert portfolio to single pdf file

    Hi, I have a portfolio of my email archive which I want to convert to a single pdf file. The way I'm doing it is by combining files and adding the portfolio file and then clicking combine, merge files into a single pdf, adding the portfolio and selecting single pdf file. This 'breaks up' the portfolio into its individual constituents which you can then combing into a single normal pdf file.
    But there is a problem. In the portfolio the original date of the email is retained so you can sort the emails chronologically. However, when the portfolio is broken up the individual files are dated on the date the portfolio is created and so the new file is not sorted in the chronological send/receive order of the emails.
    So my question is: how do I combine emails to a single pdf file in the chronological order of the emails?
    Many thanks
    Ps Since typing this message I've noticed that when printing all files in the portfolio it also doesn't print it in chronological order even though that's how they're sorted in the portfolio.

    Something to try —
    View the open Portfolio in the List or Basic Grid view.
    Select all the files.
    Select File > Sae Files from Portfolio > Use the Browse For Folder dialog to select a destination.
    Click OK.
    A copy of the Portfolio's files will be in the designated location.
    Perform the Combine > Merge Files into a Single PDF action.
    Be well..
    Message was edited by: CtDave

  • Displaying Report name in the PDF File.

    HI,
    I want to print the report in the PDF format.
    I executed one report and i am trying to print that report in PDF format.
    But in that PDF format it is not showing any report name.
    Can any body suggest me how can i get the report name in the PDF file.
    Thanks in Advance.
    BR
    Rajesh

    hi suri,
    chk this link..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6dd54713-0c01-0010-8691-a3576b9a95d9
    go thru these threads for more details..
    Reg converting the BW report in PDF format
    PDF Report
    assign pts if helpful..

Maybe you are looking for