How to combine 2 spool id into a single PDF file

Hi,
I need to combine 2 or more spool id into a single PDF file.
i.e the downloaded PDF file should contain the data of all the specified spoll ids
Thank U
Narendra

Hi,
Use FM "RSPO_RETURN_ABAP_SPOOLJOB" to get the spool into internal table.
Append the internal table with data of another spool & then pass the internal table to the FM mentioned in above reply.
Best regards,
Prashant

Similar Messages

  • 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 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.

  • 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 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

  • 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

  • How to Combine Two SubPaths into a Single SubPath

    For CS 5, ActionScript:
    I have a Path which contains two subpaths, which may or may not overlap.
    How do I combine them into a single SubPath (i.e., union) via scripting?
    I know that in the GUI, I can select both SubPaths and then press the "combine" button - this is the effect I want.
    TIA,
    mlavie

    This should combine the first path in the Paths Panel:
    // 2012, use at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    if (myDocument.pathItems.length > 0) {
    myDocument.pathItems[0].select();
    // =======================================================
    var idcombine = stringIDToTypeID( "combine" );
        var desc10 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref7 = new ActionReference();
            var idPath = charIDToTypeID( "Path" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref7.putEnumerated( idPath, idOrdn, idTrgt );
        desc10.putReference( idnull, ref7 );
    executeAction( idcombine, desc10, DialogModes.NO );

  • Combining filled forms into a single PDF

    Hello-
    I'm having some trouble combining some documents. I have a source PDF file, 'Service Form', that I use to fill out and save as a separate form by customer. For instance, I open 'Service Form', fill it in and save it as 'Customer A' form when completed.
    Now, if I try to combine 'Customer A' form and 'Customer B' form in to a single PDF, 'Customer B' form gets populated with 'Customer A''s data. In other words, I have two 'Customer A' forms. I have tried many different ways to save and combine them but nothing works.
    I don't want to create a PDF Package, I want a single PDF with multiple instances of 'Customer' forms.
    Anyway, I'm sure this is clear as mud. Any feedback is appreciated.

    You can flatten a file using the flattenPages() JavaScript method. The advantage to flattening is you can use JavaScript in a batch process to automate the process of flattening a large number of files.
    As a test to see how it works, you can open a copy of one of the forms in Acrobat, activate the JavaScript console (Advanced > JavaScript > Debugger), and enter the following in the code window:
    flattenPages()
    and hit CTRL+Enter (with the cursor on the same line as the code)
    and save the resulting modified PDF.
    George

  • Append or combine multiple IDOCs into a single IDOC file

    Hi All,
    We are implementing multiple new payment types that will generate IDOC files for us to send to the bank.  To keep the cost to the minimum, the requirement is to combine multiple IDOCs to a single file.
    I'd like to know the most efficient way to complete this task.  Also, I am new to this forum, please let me know if I need to include additional information.
    Your help will be deeply appreciated.
    Thank you,
    Joanne T.

    Hi Milind,
    One way you can do this is generate each report in PDF or Postscript, and then use Adobe Acrobat Distiller to combine the files into one PDF document.
    Regards,
    Stewart

  • Combining Pages files into a single PDF file

    I have produced a 6 page quarterly newsletter (containing texts and images and printed on one 11x17 sheet and 1 8/5x11 sheet)) for a small volunteer organization (Friends of the Library). Separate files now have been extracted from my page-layout template.
    I now want to give them in a *single PDF flle* to the web master of our organization’s web page for posting in serial-order display.
    Nothing I’ve tried by way of cutting and pasting these files into any word processing document (preliminary to PDF-ing them) seems to work in any satisfactory way.
    What to do?

    Hi RHPC
    Welcome to the forum.
    You can combine pdfs in the Preview application.
    Just open them in Preview and open the thumbnail sidebars.
    +Menu > View > Sidebar+
    then drag the thumbnails into one pdf and resave that.
    Peter

  • Scanning multiple documents into a single pdf file

    Hello,
    My scanner is saving each document I scan individually, each page in seperate files. 
    How can I make it to where I'm scanning multiple pages at once in the feeder and it saves it as a pdf file? 
    My only options are jpg, bmp, tif, and png. 
    I have tried every setting possible and I cannot figure it out!
    This question was solved.
    View Solution.

    Hi,
    Which application do you use to scan?
    You may scan a such from the HP Scan or the HP Solution Center software, which is available as part of the full feature software.
    If you does not have the software installed, from Devices and Printers right click teh Scanner and select Remove Device.
    Unplug the Cable and install the following software:
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=377691&swItemId=cs_111027_3&swEnvOid=4063
    Hope that helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How to combine pdf pages into a single pdf document

    I´ve done this before but I forgot. Can anyone help me?

    Hi profesora.2014.2015,
    Adobe Reader is a free trusted standard for reliably viewing, printing, and annotating PDF documents. It’s the only PDF file viewer that can open and interact with all types of PDF content, including forms and multimedia.
    In order to combine PDF pages into a single PDF file, you need to either use Adobe Acrobat (Merging and combining PDF files | Acrobat XI - Adobe India) or Adobe PDF pack (Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack).

  • How to merge png files into a single PDF... by scripting

    Hi, all
    I have a range of PNG files at hand, now, I wanna get these files merged into a single PDF file.
    Is it possible to combine them to a single PDF document by using acrobat scripting?
    These PNG files are arranged as follows,
    docname_Page_001.png
    docname_Page_002.png
    docname_Page_003.png
    docname_Page_125.png
    Any assistance would be much appreciated.
    Regards,
    - gavin

    Is there any way?
    Thanks again.

  • 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.

  • 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

Maybe you are looking for

  • Problems accessing iTunes media folder on external drive via Mac

    I have recently got a Mac Book Pro and assumed it would be easy to access my iTunes library - which I store on a Buffalo external drive and normally access via my Asus vivobook laptop running windows 8 - by simplying plugging the external drive into

  • How to get Service instance host name(s)

    I have a a list of Cloud Service host names that are connected to our azure DB host_name RD00133D57C3B2 RD00133D80CF2E RD00133D52C765 RD00133D52CE41 RD00133D52C926 But i have no idea how to tell which cloud services those are. Get-AzureService, Get-A

  • Display predefined text in a 'textview' in BSP

    Hi All, Am using a textview in BSP to get user inputs and storing in a table. I want to display a standard text in a text box which is a htmlb: textview for getting user inputs. The user can even delete this text. The text needs to be displayed just

  • BAPI to do save as completed  a journal

    Hi We need a BAPI to park or save as completed a Journal.Inspecific we want to have save as completed of a Journal through BAPI.

  • In which action to assign the javascript code? Adobe X pro

    I've got some code i'd like to execute when a text field (call it myField) changes.  It will do things like make other fields hidden, maybe actiate a signature, etc. But if the user just clicks on a field and then clicks out, it should not fire. Wher