Smart form: Spool to PDF Conversion more than 100 pages.

Hi folks,
I have an issue with Function Module (FM) CONVERT_ABAPSPOOLJOB_2_PDF when the report to be converted has more than 100 pages.....i have explained this scenario as below
We have been using the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert ABAP report to PDF file and then send this via mail using FM SO_DOCUMENT_SEND_API1.....
PDF conversion using FM CONVERT_ABAPSPOOLJOB_2_PDF works well if the number of report pages is less than 100....i.e the table pdf of the FM will contain the output as expected.....
If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty.
Could you suggest me a woorkaround in this situtaion...i.e how do I then get the output of the background job
And  any process to convert Spool to PDF if having more than 100 pages.
Thanks in Advance............

Pb,
If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty
i would suggest you to if pages are more than 100 than you need to send report output to sp01 with spool request number by using fm job_open..job_close..
than from sp01 you can convert pdf by running RSTXPDFT4 in se38.
hope this would solve your problem.
Amit.

Similar Messages

  • Printing PDFs with more than one page size

    A large client sent me a PDF of mostly usLetter-sized pages, but with some in-line 11 x 17" pages he intended to Z-fold. I was able to vary the size of the bounding box within the Windows drivers by selecting "Choose Paper Source by PDF page size". That way I would eliminate the vast white spaces created by putting letter-sized images within an 11 x 17" bounding box, or alternatively, shrinking or masking 11 x 17" images to fit a letter-sized bounding box. With the advanced settings of our printer's drivers, I was able to program the two paper sizes into the print job.
    I can't seem to find a control like "Choose Paper Source by PDF page size" in my Mac OS X v. 10.4 (or 10.5) drivers. Are they absent or am I?

    Mike, it's a production run with lots of copies and lots of pages per copy, so it'd be too labor intensive to be cost effective if there's a high-tech way of doing it.
    That way is to put it on a Windows workstation to gain access to the "Choose Paper Source by PDF page size" control that the MS drivers offer. This sets the bounding box rather than the paper as the interface mistakenly indicates.
    Then use the PCL drivers because of the way Microsoft's PS drivers position the images.
    Make sure to set your letter-sized body pages to 2-sided and, if you can, your Ledger-sized pages to 2-sided, flip on short edge.
    Again, it's a shame that the Adobe/Apple interface doesn't offer the same ability that the Adobe/MS interface offers.

  • Is it possible to buy a book with more than 100 pages?

    I have a wedding album that is 237 photos [reduced from >700!] but I need more than the maximum pages allowed. Any ideas please?
    Grateful thanks, Bob

    http://www.apple.com/ilife/print-products.html
    The maximum possible from Apple is 100 pages, I'm afraid. Check out other vendors?

  • Answers Request -- PDF with more than 600 pages

    Ist that possible?
    At my IE will not do this 150 pages are possible but not more.
    What can I do?
    Regards,
    Stefan

    Check the PDF settings (if any) in your instanceconfig.xml
    You can set a range of values, but the one you're probably looking for is;
    "MaxVisiblePages"
    Although I think the default value is 1000, so I'm a bit confused why it's not working. Give it a go anyway.
    A.

  • Can the new numbers export PDF as more than one page?

    I just upgraded to the new version of Numbers for OS X Mavericks and it seems I can not
    see my document as different pages or even export a PDF as several pages.
    Thanks,
    Alex Neuman

    Hi Alex,
    It took me a while to get my head around the difference between Export to PDF (everything on one page) and Print, where we can 'Print to PDF'.
    Do this:
    Menu > File > Print...
    You will see Print Preview. At the bottom of the panel on the right,
    click on Print. It won't print yet, but will take you here:
    Now we see Page 1 of 4 .
    Click on PDF to go here:
    Choose Save as PDF to a folder of your choice (mine is called Desktop Temp). In Finder, open that folder then double click on the PDF to open in Preview.
    Then Print from Preview.
    Phew.
    Regards,
    Ian.

  • Spool List more than 99 pages to PDF File to Mail

    Hi All,
    I want to convert a big spool list (342 Pages) to PDF file to send it by e-mail.
    I use the following code to convert my spool to PDF file:
    Convert to PDF file*
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = w_spool_id
          no_dialog                = 'X'
          dst_device               = c_device
        IMPORTING
          pdf_bytecount            = gd_bytecount
        TABLES
          pdf                      = it_pdf_output
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings*
      LOOP AT it_pdf_output.
        TRANSLATE   it_pdf_output           USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT  gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    The problem with the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' is when my spool have more than 99 pages. In this case, the FM generate a backscreen job (sm37) to convert my spool and generate a binary PDF spool.
    After this step, the 'FM SO_DOCUMENT_SEND_API1' send an e-mail with the binary PDF File recovered in the spool list but i can't open the file with Adobe Reader because the format is wrong.
    Someone knows how could i convert my big spool list to PDF file to send it by e-mail adress ?
    Thanks a lot for your precious help that i need so much !

    Generate big spool list
    REPORT  ZGEN_SPOOL.
    tYPE-POOLS: slis.
    TYPES: BEGIN OF str_mara,
    matnr TYPE mara-matnr,
    ersda TYPE mara-ersda,
    ernam TYPE mara-ernam,
    laeda TYPE mara-laeda,
    aenam TYPE mara-aenam,
    vpsta TYPE mara-vpsta,
    END OF str_mara.
    DATA: i_mat TYPE TABLE OF str_mara,
    wa_mat LIKE LINE OF i_mat.
    DATA:params LIKE pri_params.
    DATA: days(1) TYPE n VALUE 2,
    valid TYPE c.
    DATA: obj TYPE REF TO cl_salv_table.
    SELECT matnr
    ersda
    ernam
    laeda
    aenam
    vpsta
    UP TO 4999 ROWS
    FROM mara INTO CORRESPONDING FIELDS OF TABLE i_mat.
    TRY.
    CALL METHOD cl_salv_table=>factory
    IMPORTING
    r_salv_table = obj
    CHANGING
    t_table = i_mat.
    CATCH cx_salv_msg .
    ENDTRY.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
    * destination = 'QAS'
    list_name = 'ZTEST_VERTEX'
    list_text = 'TEST'
    no_dialog = 'X'
    immediately = ' '
    expiration = days
    IMPORTING
    * OUT_ARCHIVE_PARAMETERS =
    out_parameters = params
    valid = valid
    * VALID_FOR_SPOOL_CREATION =
    EXCEPTIONS
    archive_info_not_found = 1
    invalid_print_params = 2
    invalid_archive_params = 3
    OTHERS = 4
    IF sy-subrc ne 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    TRY .
    NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
    CATCH cx_sy_nested_print_on .
    ENDTRY.
    CALL METHOD obj->display.
    NEW-PAGE PRINT OFF.

  • Warning: More than 99 pages! --- Make the whole conversion in background.

    Hi all,
    I have implemented the conversion of ALV to PDF. Howvever, if there are too many record, I get this message prompt out " Warning: More than 99 pages! ". Is there way to increase the number of pages being processed in background from spool created? I want to process all the content in background, is it possible?
    Thanks
    Shabir

    Hi ,
    If there are large number of data , then u can split the data into blocks and convert into another pdf file .
    regards,
    Ramya

  • Spool print with more than one page doesn't work

    Hi Experts,
    I need some help.
    I have following code in my report:
    SORT ta_ausgabe BY vstel vkorg_auft fkdat.
      NEW-PAGE PRINT ON .
       LOOP AT ta_ausgabe INTO wa_ausgabe.
         READ TABLE ts_vstel
           INTO wa_vstel
           WITH TABLE KEY spras = sy-langu
                          vstel = wa_ausgabe-vstel.
         READ TABLE ta_vkorg
           INTO wa_vkorg
           WITH KEY vkorg = wa_ausgabe-vkorg_auft.
         WRITE:  wa_ausgabe-vstel.
         WRITE:  wa_ausgabe-vkorg_auft.
         WRITE:  wa_ausgabe-fkdat.
         WRITE:  wa_ausgabe-matnr NO-ZERO LEFT-JUSTIFIED,
           AT 30 wa_ausgabe-maktx NO-ZERO LEFT-JUSTIFIED,
           AT 70 wa_ausgabe-fkimg NO-ZERO LEFT-JUSTIFIED, 
           AT 79 wa_ausgabe-vrkme NO-ZERO LEFT-JUSTIFIED.
         NEW-LINE.
       ENDLOOP.
       NEW-PAGE PRINT OFF.
       COMMIT WORK.
       v_spool_attach = sy-spono.
    As you see the information of the table TA_AUSGABE will be just prined into spool. When I have only information for one page everything
    work fine, but as soon there more information to be printed I cannt open my pdf file with the spool info anymore.
    What could be a reason?
    Please urgent
    BR
    Denis

    Hi Denis,
    The code works for me for printing more than 1 page.
    Pls try giving the spool id manually  in report RSTXPDFT4 and see whether it gets Multi pages in pdf and let me know if you have any issues.
    Rgds,
    K.S.

  • To convert Smart Form output to PDF format and send it via email.

    Hi Friends,
    Could any one please tell me, how to convert the Smart Forms output to PDF format and send it via email to customer. If any one have the code, kindly mail me to [email protected]
    Thanks & Regards,
    John

    Refer the links -
    how to convert smartform into pdf and send through mail
    Smartform as PDF attachment to a mail.
    smartform pdf and mail
    smartform to pdf to mail
    Regrads,
    Amit
    Reward all helpful replies.

  • How to use more than one page to design a form-like report???

    Hi
    I am designing a form-like report. and widening the repeating frame to contain all the page or the window like this page:
    Image: !http://up1.m5zn.com/photo/2008/12/21/07/e728mos12.jpg/jpg!
    Now there is no space at the window to complete designing the report!
    How to make the repeating frame to contain more than one page or one window to complete designing the report?

    change Vertical Panels per Page to 2 (or more as needed) for the Main Section of Layout Model.

  • Re: Can't print more than one page of a PDF

    I have Acrobat and Reader 9.3.3. With either program I can't print more than 1 page of any PDF despite changing settings. What will fix this problem? Thanks in advance for your help.

    Adobe strongly recommends that you should NOT have Acrobat and Reader installed on the same system. They have the bad habit on stepping on each other's files. You do not need both programs to read PDF files.
    You should uninstall Reader and repair Acrobat. I also recommend that you restart after removing Reader and after repairing Acrobat.
    Good luck.
    Ken Friedman

  • When I read a pdf document using Safari I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    When I read a pdf document using Safari on my IPad  I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    Hi snoreaustralia,
    It sounds like you just need to associate the PDF filename extension with Acrobat, rather than Preview. Please see this document from the Microsoft Help for instructions on choosing the default program for opening a particular file type (in your case, PDF): Change which programs Windows uses by default - Windows Help
    Best,
    Sara

  • How do i combine more than 12 pages onto 1 pdf file?

    I need to combine more than 12 pages onto one pdf, How do I do that?

    You can only do 10 at a time, but you could make a PDF from 10 pages, then combine it with the other 2.

  • More than 100 items in Form or Page

    Can Apex allow more than 100 items in a page? I am getting message like
    'Item count exceeds maximum of 100'.
    Even data entered in the form for extra items over 100 is not posted to database.
    Pl help or suggest any workaround.
    I am using HTMLDB 2.0

    Example:
    1. Create the test data
    CREATE TABLE "TEST_TABLE1"
    ("KEY1" NUMBER(10) NOT NULL ,
    "DESC" VARCHAR2(24) ,
    "OPTION1" VARCHAR2(10) ,
    "OPTION2" VARCHAR2(10) ,
    "OPTION3" VARCHAR2(10) ,
    "OPTION4" VARCHAR2(10) ,
    "OPTION5" VARCHAR2(10) ,
    "OPTION6" VARCHAR2(10) ,
    "OPTION7" VARCHAR2(10) ,
    "OPTION8" VARCHAR2(10) ,
    "OPTION9" VARCHAR2(10) ,
    "OPTION10" VARCHAR2(10) ,
    "OPTION11" VARCHAR2(10) ) ;
    INSERT INTO"TEST_TABLE1"
    VALUES (1,'Row 1','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray');
    INSERT INTO"TEST_TABLE1"
    VALUES (2,'Row 2','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red');
    INSERT INTO"TEST_TABLE1"
    VALUES (3,'Row 3','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue');
    INSERT INTO"TEST_TABLE1"
    VALUES (4,'Row 4','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green');
    INSERT INTO"TEST_TABLE1"
    VALUES (5,'Row 5','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow');
    INSERT INTO"TEST_TABLE1"
    VALUES (6,'Row 6','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange');
    INSERT INTO"TEST_TABLE1"
    VALUES (7,'Row 7','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black');
    INSERT INTO"TEST_TABLE1"
    VALUES (8,'Row 8','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory');
    INSERT INTO"TEST_TABLE1"
    VALUES (9,'Row 9','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple');
    INSERT INTO"TEST_TABLE1"
    VALUES (10,'Row 10','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White');
    2. Create a blank page.
    3. Create a report region with the following query.
    select
    "DESC",
    htmldb_item.hidden(1,KEY1) Key1,
    htmldb_item.text(2,OPTION1,10,10) OPTION1,
    htmldb_item.text(3,OPTION2,10,10) OPTION2,
    htmldb_item.text(4,OPTION3,10,10) OPTION3,
    htmldb_item.text(5,OPTION4,10,10) OPTION4,
    htmldb_item.text(6,OPTION5,10,10) OPTION5,
    htmldb_item.text(7,OPTION6,10,10) OPTION6,
    htmldb_item.text(8,OPTION7,10,10) OPTION7,
    htmldb_item.text(9,OPTION8,10,10) OPTION8,
    htmldb_item.text(10,OPTION9,10,10) OPTION9,
    htmldb_item.text(11,OPTION10,10,10) OPTION10,
    htmldb_item.text(12,OPTION11,10,10) OPTION11
    from test_table1
    4. create a save button which branches to the same page
    5. Create a page process that executes the following SQL when the button is pressed:
    -- update Record
    for i in 1..htmldb_application.g_f01.count
    loop
    update test_table1
    set option1 = replace(htmldb_application.g_f02(i),'%'||'null%',NULL),
    option2 = replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
    option3 = replace(htmldb_application.g_f04(i),'%'||'null%',NULL),
    option4 = replace(htmldb_application.g_f05(i),'%'||'null%',NULL),
    option5 = replace(htmldb_application.g_f06(i),'%'||'null%',NULL),
    option6 = replace(htmldb_application.g_f07(i),'%'||'null%',NULL),
    option7 = replace(htmldb_application.g_f08(i),'%'||'null%',NULL),
    option8 = replace(htmldb_application.g_f09(i),'%'||'null%',NULL),
    option9 = replace(htmldb_application.g_f10(i),'%'||'null%',NULL),
    option10 = replace(htmldb_application.g_f11(i),'%'||'null%',NULL)
    option11 = replace(htmldb_application.g_f12(i),'%'||'null%',NULL)
    where key1 = htmldb_application.g_f01(i);
    end loop;
    6. Run the page (This page has 110 items)
    If you have a table with more than 100 fields, you can try something like this:
    Select 1, apex_item.text(1,field1,10,10),
    apex_item.text(2,field2,10,10),
    union all
    Select 2, apex_item.text(1,field11,10,10),
    apex_item.text(2,field12,10,10),
    , field2, field3, field4, field5

  • Hi anyone please help .. i am facing issue with acrobat 11 pro version, in acrobat 7  we are able to compare 2 pdfs which are having more than 1000 pages but in acrobat 111 pro it not possible , if try do so acrobat will unresponsive.. please let me know

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

Maybe you are looking for

  • Why does the Adobe Acrobat X Web to PDF converter icon not show up?

    I installed Adobe Acrobat X yesterday on this work computer, but the Web to PDF converter icon has not yet shown up. I have the icons, and they are functional, in the Mozilla Firefox on my home computer.

  • New Installation CS6 - New PC - Upgrade

    Hey all .. I have been trying in vain to open a support case in order to ask this question but can't for the life of me find where to go to do that. So I thought I'd post in the forum and see how we go. Story is, I originally purchased Adobe Premiere

  • Adding text to a text file problem

    I have used an Apple script to create a text file and I am having problems with it First the script creates a file containing text, as a example "ABCDE" then I enter test to the file, say "12345" and the file now has "ABCDE12345". At this point I run

  • Sequencing a node in Target using XSLT

    Hi, I need to give numbering to a node on the target evertime it occurs irrespective of the any field in the source. How can this be achieved using XSLT? I know this can be acheived using ora seq, but we do not want to touch the DB. My target should

  • Link inside a tabbed panel

    Hi, I am working on odc:tabbedPanel in JSF. I have four tabs in it. In one of the tabs, I have links in the second tab which need to href to other pages and should be shown in the same tab. But it gets refreshed and comes to the first tab. Can anyone