Spool request error in downloading 4000 pages

Hi all
I have a small doubt regarding the spool request.
In my scenario I am running the transaction FBL3N
in the background and I am getting an output of around 4000 pages.
I need to download it but my Spool request contains only 10 pages
by default.
I changed it to 4000 but it gives the error of memoryoverflow.
I could work by dividing the file into parts say 500 or 1000 but
is there any way out so that I could download all the pages in
one go.
Hope you ppl have got me.
Please respond asap.
Thanks in advance.
Sumit

hi,
you can divide data into different spools in following way:
call function 'GET_PRINT_PARAMETERS'
      exporting
        destination    = 'LOCL'
        copies         = count
        list_name      = 'TEST'
        list_text      = 'Test for multiple spools'
        immediately    = ' '
        release        = 'X'
        new_list_id    = 'X'
        expiration     = days
        line_size      = 79
        line_count     = 23
        layout         = 'X_PAPER'
        sap_cover_page = 'X'
        receiver       = 'SAP*'
        department     = 'System'
        no_dialog      = 'X'
      importing
        out_parameters = params
        valid          = valid.
   IF VALID eq SPACE.
      new-page print on parameters params no dialog.
   endif.
writes data into spool 1.
new-page print off.
      new-page print on parameters params no dialog.
write into spool 2.
new-page print off.
thanks,
anupama.

Similar Messages

  • Spool request Error

    HI Experts,
                    MOst of the time Users encounter Spool Request Error while giving printouts. So for that Ihave to manualy delete sppol requests from SP01. Is there any where I can Schedule Programm where I set parameters to delete spool requests before reaching its maximum limit. Urgent.
    Thanks.
    Khan

    Hi Khan,
    Try this FM RSPO_R_RDELETE_SPOOLREQ.
    Have a look in this post
    How I set the auto delete old spool request
    Regards,
    Satish

  • HotNews correction for Y2010 spool request error available

    Dear gurus,
    I became aware of [SAP Note 1422843|https://service.sap.com/sap/support/notes/1422843] which has affected all my systems's spool request reorg jobs.
    It is currently release and patch level independent, so you will all be affected by it as well.
    You can verify this via entries in table SP01 field RQDELTIME = 2099*
    As a kernel patch might take a while (also to download, install, test, etc...) there is a workaround attached to the note until you get there.
    Cheers and best wishes for the new years until 2099..
    Julius

    > ...and the variant provided in this note 1422843 doesn't clean at all....
    Yes, it does not "clean" the spool requests out of the system - it corrects the deletion date symptom so that your reorg job will pick them up again. Dependent on your config, this might take a few days to become "cleaned", as they were before as well.
    Another option is to reorg the spool requests based on the creation date alone. This works fine for "smaller" systems and will protect the spool overflow and number range problem. It will however not correct the other less critical symptoms, so applying the kernel patch at some stage soon is recommended anyway.
    Cheers,
    Julius

  • Graphical Display of spool Request Errors

    HI,
    Can someone help me where I can find the more details for the following processing Category when we graphical display of spool request in SM37
    1) Not Relevant
    2) Inappropiate Status
    3) Error

    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm

  • Enquiry Spool Request Error

    Greetings.....
                        During T code of VA11 (change Enquiry ) while issueing OUtput , i m getting the error as '
    Value of spool attribute  cannot be changed.
    Message no. SSFCOMPOSER033
    Diagnosis
    The spool attribute  has the value . This cannot be changed within the spool job. You tried to change the value in .
    System Response
    Error message.
    Procedure
    Do not change the value of this attribute.
    Please suggest How to resolve it ..............

    Dear PP,
    Please consult with your BASIS-ADMIN; as this is not an SD-Error.
    Alternatively, You may post your query in to:
    [Forum: SAP NetWeaver Administrator|SAP NetWeaver Administrator;
    Best Regards,
    Amit

  • Additional pages in multipart spool requests.

    Hello,
    does anybody also encountered the problem, that for some printers additional pages between the files of a multipart spool request are printed? The page just contains @PJL. It occurs with our own printouts and also with FP_TEST_00.
    Device type is HPLJ4.
    In addtition, we want to use a stapling functionality on another printer, but that printer does treat the multipart print as one printout. So the stapling is by part and not by spool request, It may be the same cause.
    Any idea?
    Kind regards
    -Jürgen-

    Please go through the below links, that might help you....
    http://h30499.www3.hp.com/t5/Black-and-White/PJL-Errors/td-p/4082827#.U2t_otIW1Ns
    http://forum.support.xerox.com/t5/Printing/Extra-page-with-PJL-info-is-printed-with-every-print-job-on/td-p/266
    Naveen.

  • SCRIPT: all first pages has one spool request

    Hi Friends,
    i've copied the program RFFOUS_C and form F110_prenum_chk as  'Z"
    My requirement is given below,
    Bottom of the bond sheet has cheque and top of the page has remittence details(line item, per page has 20 line item)
    If the remittence details is exceeds in the first page then it goes to the second page(now its working fine)
    if the user gives the bulk cheque printing then all the first page should print under one spool request and all the second page should print another one spool request.
    Is it possible in ZRFFOUS_C program. if it is possible where we can change the logic.
    Thanks in advance,
    Vallamuthu.M

    Sure it is possible. If the title, prefix and suffix and suffix2 are same, printouts go to the same spool.
    The rest is just a bit of thinking and clever usage of START_FORM and END_FORM.

  • Spool request missing for Payment run

    Hi SAP gurus,
    I have executed one payment run, 87 payment orders have been generated.  When i saw the spool request, it shows only 34 pages, rest other pages are missing.  Even, system is showing status of spool as "waiting".  I thought, it might be completed in few hours, already 1 day has been passed but no change.  I generated spool couple of time but it always stuck at 34 page.
    Can you please let me know, how can i print rest 43 remittance advice??? I would also like to know the cause of this error.
    Many thanks for your quick response.
    Regards,
    SATVIR SINGH

    1. Check your variant in F110 (Have you restricted the vendor numbers in your variant on parameters) - Last tab on F110
    2. If not, then in your spool, from menu bar, select:
    Go to ==> Display Requests ==> Settings
    Check the from page to to page. (Make to page as 999).
    Ignore any warning messages.

  • PO spool request

    hi experts,
    We faced PO printout problem during our Go Live. We have implemented SAP with new Plant/Company.
    For all PO forms in existing company are printing fine, but for this new company, we are trying to print PO but it only goes with the spool request no.
    Next problem, all PO is saving under 1 spool request no. so when you open the Spool request, all PO store in 1 spool.
    can any tell me, what is this problem came from? set-up or from smartforms?
    thanks in advance.
    regards,
    Maia

    Hi,
    Spool Request- As per my knowledge u require spool request no to download the PO in Acrobat format. In messages only we do the settings
    Goto messages- communication method- specify logical destination -tick print immediately- in SAP cover page select X Print and go to further data select despatch time - 4 send immediately save ur PO and and come out and go back to the PO and again click messages- go prcessing log u will get spool request no.
    Check the above settings that u have made properly ornot.
    ok

  • HTTP 400 Bad Request Error

    Application Express 3.1.1.00.09
    We have some users who are experiencing what appears to be a browser problem in one of our APEX applications.
    When clicking on any button that does an insert or update to the database some users get an HTTP-400 Bad Request error message. The database does not get updated and anything they click on after that shows that message. In most cases we have been able to restore the user’s browser to the default settings and the issue is resolved. However, we were not able to isolate which browser setting is causing the issue. We have seen the issue in IE 6, IE 7 and IE 8.
    Here’s the error we see in the Apache server error log (minus the date time stamp and IP addresses):
    mod_plsql: /pls/ax_tastest/wwv_flow.accept HTTP-400 Invalid name
    Does anyone else have a solution for this? Know what's causing it?

    HTTP 400 Bad Request Error from APEX 3.1.1.00.09.
    We were able to determine that only PCs which had the Google toolbar installed were getting the HTTP 400 Bad Request Error from a particular page in one of our applications. Further testing revealed that turning off the ‘auto-fill’ feature of the Google toolbar would prevent the error from occurring and the application would behave normally. We were able to identify a specific item on the page that was the root cause. The item was using the type “Text area with HTML Editor” which has been deprecated. We changed the page item type to “HTML editor standard” and this has resolved the issue with or without the Google Toolbar and auto-fill feature enabled.
    Summary:
    •     Browser setting: Google toolbar enabled with auto-fill enabled.
    Apex page item of type: ‘Text area with HTML Editor’.
    When a user clicks on a button in the page, that executes a page process, it results in HTTP 400 error.
    •     Browser setting: Google toolbar enabled with auto-fill disabled.
    Apex page item of type: ‘Text area with HTML Editor’.
    When a user clicks on a button in the page, everything goes through correctly and there is no error.
    •     Browser setting: Google toolbar enabled with auto-fill disabled or enabled.
    Apex page item of type: ‘HTML Editor Standard’.
    When a user clicks on a button in the page, everything goes through correctly and there is no error.

  • Spool Request Change

    Hi SAP Pros,
    Could somebody help me in regards to CHANGE THE SPOOL REQUEST NAME FOR THE COVER PAGE TEXT FIELD IN THE OUTPUT: COMMUNICATION METHOD SCREEN TO READ "ORDER ACKNOW FOR PO#"  AND THEN TO INSERT PO# FIELD (VBKD-BSTKD) FOR OUTPUT TYPES: BA00, BA01, & BA02 FOR COMPANY CODES 1000, 2000, & 3000 RESPECTIVELY. Presently there it is setup for external medium 5 and we need it for 1 ( printouts). Am a functional consultant, please let me know to communicate with Dev team to get  job done. Thanks a lot in advance.
    Greetings
    Raji

    Hi,
    in the initialization tab write the coding and change the parameter OUTPUT_OPTIONS-RQPOSNAME as you required.
    If NAST-KSCHL = 'BA00' or
                               'BA01' or
                               'BA02'.
    concatenate 'ORDER ACKNOW FOR PO# '  VBKD-BSTKD into OUTPUT_OPTIONS-RQPOSNAME  seperated by space.
    endif.
    Thanks,
    NN.

  • Saving spool request  in PDF format  using background job

    Hi,
    We have some important jobs which create spool requests. My requirement is to save those spool requests either on front end  or on application server in pdf format. I tried with  program RSTXPDF4 but i can save those files only when pdf conversion is done online and I want it to run in background  as some of the spool request have more then 3000 pages and also i'm not looking for ABAP development.
    It is fine with me to save it in text format but some of the spool request have around 3000 pages and  i cannot save the whole request in one shot using option system->list->save->local file
    It is appreciated if someone has any alternative for the above one.
    Regards,
    Chaitanya

    Hi,
    Just check Is it solve your purpose... When you are creating background jobs mention your email / user id as spool list recipient...
    I think you will recv. the spool output in the mailbox in pdf
    Edited by: Mrinal Das on Jan 3, 2011 2:37 PM

  • Generate spool request and PDF

    Hello Friends,
    I have the below requirement in Scripts.
    I need to generate spool request and also download the form as pdf simultaneously.
    I can able to generate spool request and able to download as PDF separately, but I want to do both in a single open_form is it possible?
    Regards.
    Krishna.

    Copy and Paste following code in a Z program type executable:
    REPORT ZRSTXPDFT4 LINE-SIZE 80.
    Read spool job contents (OTF or ABAP list) and convert
    to PDF, download PDF
    B20K8A0IKH replace WS_DOWNLOAD with GUI_DOWNLOAD
    SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-015.
    SELECTION-SCREEN SKIP.
    PARAMETERS:
      SPOOLNO LIKE TSP01-RQIDENT.
    SELECTION-SCREEN SKIP.
    PARAMETERS :  DOWNLOAD AS CHECKBOX DEFAULT 'X',
      P_FILE LIKE RLGRAP-FILENAME DEFAULT 'C:\temp\file.pdf' NO-DISPLAY."#EC NOTEXT
    SELECTION-SCREEN END OF BLOCK B.
    DATA OTF LIKE ITCOO OCCURS 100 WITH HEADER LINE.
    DATA CANCEL.
    DATA PDF LIKE TLINE OCCURS 100 WITH HEADER LINE.
    DATA DOCTAB LIKE DOCS OCCURS 1 WITH HEADER LINE.
    DATA: NUMBYTES TYPE I,
          ARC_IDX LIKE TOA_DARA,
          PDFSPOOLID LIKE TSP01-RQIDENT,
          JOBNAME LIKE TBTCJOB-JOBNAME,
          JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
          IS_OTF.
    DATA: CLIENT LIKE TST01-DCLIENT,
          NAME LIKE TST01-DNAME,
          OBJTYPE LIKE RSTSTYPE-TYPE,
          TYPE LIKE RSTSTYPE-TYPE.
    TABLES: TSP01.
    DATA : RETFIELD TYPE DFIES-FIELDNAME.
    DATA : SPOOL TYPE HELP_INFO-DYNPROFLD.
    DATA : BEGIN OF ITAB OCCURS 0,
            SPOOL TYPE TSP01-RQIDENT,
           END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR SPOOLNO.
      RETFIELD = SPOOLNO.
      SPOOL = 'SPOOLNO'.
      SELECT RQIDENT FROM TSP01 INTO TABLE ITAB."#EC CI_NOWHERE
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          RETFIELD               = RETFIELD
      PVALKEY                = ' '
       DYNPPROG               = SY-REPID
       DYNPNR                 = SY-DYNNR
       DYNPROFIELD            = SPOOL
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
       CALLBACK_PROGRAM       = SY-CPROG
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        TABLES
          VALUE_TAB              = ITAB[]
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    START-OF-SELECTION.
      SELECT SINGLE * FROM TSP01 WHERE RQIDENT = SPOOLNO.
      IF SY-SUBRC <> 0.
        PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
         'Spoolauftrag existiert nicht'(003).
        EXIT.
      ENDIF.
      CLIENT = TSP01-RQCLIENT.
      NAME   = TSP01-RQO1NAME.
      CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
             EXPORTING
                  AUTHORITY     = 'SP01'
                  CLIENT        = CLIENT
                  NAME          = NAME
                  PART          = 1
             IMPORTING
              CHARCO        =
              CREATER       =
              CREDATE       =
              DELDATE       =
              MAX_CREDATE   =
              MAX_DELDATE   =
              NON_UNIQ      =
              NOOF_PARTS    =
              RECTYP        =
              SIZE          =
              STOTYP        =
                  TYPE          = TYPE
                  OBJTYPE       = OBJTYPE
             EXCEPTIONS
                  FB_ERROR      = 1
                  FB_RSTS_OTHER = 2
                  NO_OBJECT     = 3
                  NO_PERMISSION = 4.
      IF OBJTYPE(3) = 'OTF'.
        IS_OTF = 'X'.
      ELSE.
        IS_OTF = SPACE.
      ENDIF.
      IF IS_OTF = 'X'.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
            EXPORTING
              SRC_SPOOLID                    = SPOOLNO
              NO_DIALOG                      = ' '
          DST_DEVICE                     =
          PDF_DESTINATION                =
            IMPORTING
              PDF_BYTECOUNT                  = NUMBYTES
              PDF_SPOOLID                    = PDFSPOOLID
          OTF_PAGECOUNT                  =
              BTC_JOBNAME                    = JOBNAME
              BTC_JOBCOUNT                   = JOBCOUNT
            TABLES
              PDF                            = PDF
            EXCEPTIONS
              ERR_NO_OTF_SPOOLJOB            = 1
              ERR_NO_SPOOLJOB                = 2
              ERR_NO_PERMISSION              = 3
              ERR_CONV_NOT_POSSIBLE          = 4
              ERR_BAD_DSTDEVICE              = 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.
        CASE SY-SUBRC.
          WHEN 0.
            PERFORM BD_TEXTBOX_MSG(RSTXPDFT) USING 80
             'Funktion CONVERT_OTFSPOOLJOB_2_PDF erfolgreich'(001).
          WHEN 1.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Kein OTF- und kein ABAP-Spoolauftrag'(002).
            EXIT.
          WHEN 2.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Spoolauftrag existiert nicht'(003).
            EXIT.
          WHEN 3.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Keine Berechtigung zum Lesen Spoolauftrag'(004).
            EXIT.
          WHEN OTHERS.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Fehler bei Funktion CONVERT_OTFSPOOLJOB_2_PDF'(005).
            EXIT.
        ENDCASE.
      ELSE.
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
            EXPORTING
              SRC_SPOOLID                    = SPOOLNO
              NO_DIALOG                      = ' '
          DST_DEVICE                     =
          PDF_DESTINATION                =
            IMPORTING
              PDF_BYTECOUNT                  = NUMBYTES
              PDF_SPOOLID                    = PDFSPOOLID
          LIST_PAGECOUNT                 =
              BTC_JOBNAME                    = JOBNAME
              BTC_JOBCOUNT                   = JOBCOUNT
            TABLES
              PDF                            = PDF
            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.
        CASE SY-SUBRC.
          WHEN 0.
            PERFORM BD_TEXTBOX_MSG(RSTXPDFT) USING 80
             'Funktion CONVERT_ABAPSPOOLJOB_2_PDF erfolgreich'(006).
          WHEN 1.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Kein OTF- und kein ABAP-Spoolauftrag'(002).
            EXIT.
          WHEN 2.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Spoolauftrag existiert nicht'(003).
            EXIT.
          WHEN 3.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Keine Berechtigung zum Lesen Spoolauftrag'(004).
            EXIT.
          WHEN OTHERS.
            PERFORM BD_TEXTBOX_ERR(RSTXPDFT) USING 80
             'Fehler bei Funktion CONVERT_ABAPSPOOLJOB_2_PDF'(007).
            EXIT.
        ENDCASE.
      ENDIF.
    download PDF file ***********
      CHECK DOWNLOAD = 'X'.
      IF NOT ( JOBNAME IS INITIAL ).
        PERFORM BD_TEXTBOX_VAR2_MSG(RSTXPDFT) USING 80
         'Konvertierung per Hintergrundjob'(008)
         JOBNAME
         JOBCOUNT.
        EXIT.
      ENDIF.
      PERFORM DOWNLOAD_W_EXT(RSTXPDFT) TABLES PDF
                                       USING P_FILE
                                             '.pdf'
                                             'BIN'
                                             NUMBYTES
                                             CANCEL.
      IF CANCEL = SPACE.
        DATA: S(80).
        S = NUMBYTES. CONDENSE S.
        CONCATENATE S 'Bytes heruntergeladen in Datei'(009)
          INTO S SEPARATED BY SPACE.
        PERFORM BD_TEXTBOX_VAR1_MSG(RSTXPDFT) USING 80
                                          S
                                          P_FILE.
      ENDIF.
    Regards,
    Jeet K Bhatt

  • Abap run time error while downloading from spool

    Hi,
    Please find the error as an attachment when a user is trying to download data from spool.
    Please Guide me solution..
    Thanks in advance..
    Reagrds
    Aravind.

    Hi Aravind,
    It could be due to overflow of  your spool count.Try to check it first or if possible delete some old spool requests from the system by execution of standard report RSPO1041.
    After that try to re run the same & take a sample printout to check again.
    Regards,
    Gaurav

  • Downloading spool requests

    I have a requirement to download 1600 pages of spool request instead of printing it.
    The issue we have is the timeout when we are downloading it from SP01.
    Is there anyway i can download from SAP to a local file either in excel or as a PDF file.

    Hi Vijay,
    You can download the spool to file at SP01 -> Mark the spool request to download the click on Spool request -> Forward -> Save to local file
    If the request time out you can increase parameter rdisp/max_wprun_time but this will require a system restart and probably once you have downloaded the file you'll need to return the parameter value to the previous one as it can potentially cause performance problems if left with large value.
    regards
    Juan
    Please reward with points if helpful

Maybe you are looking for