Spool requests -- select all problems

Good Day all:
I am running into a interesting problem with the SAP Spool.   The Tax Reporter generates several identical tax forms across company codes.   For instance, an unemployment tax form is generated across company codes 1111 to 9999 and one form is generated for each company code within that range.  What's happening is this, when the users "select all" then print, the first company code is showing up on print queue for all of the printed forms.  So for instance there are 20 company codes and the each company code has 1 form.  The first company (1111) will show up in each subsequent print job, even though each form has a different spool number assigned to it.  Wheras I would expect to see  1111 for the first form, 2222 for the next and so on .
So my question is this. If the user chooses to select-all, then how would we go about separating the spool numbers and jobs as they entered the queue?
Thank you in advance for your help.
John

John,
try this, just to make sure that there is no printer issue. after selecting all the spool use 'Print with changed parameters (Shift + F1) (small printer icon) and make sure there is only one copy in the next screen.

Similar Messages

  • Select All problems on an updateable report

    Greetings. I have a problem with the Updateable Report functionality in Apex version 3.0.1.00.07. I'd love to demonstrate the problem, but my account at apex.oracle.com is version 3.2.0.00.27, and apparently, the Updateable Report functionality has been removed from that version. Does anyone know if there's a way to create an Oracle account using older versions?
    My problems, in brief, are that when you have more than one updateable report region on the same page, clicking Select All on either table selects all rows of both tables; and that if both tables have only one row, clicking on Select all does nothing.
    Please see http://docs.google.com/Doc?id=dccf36js_40gmczpddd for a more detailed problem description.
    Any thoughts on how to solve either or both of these problems is much appreciated. Thanks!

    Hi,
    Firstly, you can still create Updatable reports in the latest version of Apex. Create a Report using the SQL Wizard and, when the report region has been created, change the report type.
    Secondly, the checkboxes for both reports are being ticked/unticked together as the javascript being run assumes that there is only one updatable report on the page and, therefore, only one set of "f01" checkboxes. You can get around this by overriding the javascript by adding your own version.
    Create a new region in the Before Footer region of the page and using No Template (so that the region is hidden) and use the following as the source:
    <script type="text/javascript">
    function checkAll(masterCheckbox) {
      var p = masterCheckbox.parentNode;
      while (p.tagName != 'TABLE')
        p = p.parentNode;
      var f = p.getElementsByTagName("input");
      if (masterCheckbox.checked) {
        for (var i = 0; i < f.length; i++) {
          if (f.type == "checkbox") {
    if (f[i].checked==false) {
    f[i].checked=true;
    highlight_row(f[i],i);
    } else {
    for (var i = 0; i< f.length; i++) {
    if (f[i].type == "checkbox") {
    if (f[i].checked == true) {
    f[i].checked = false;
    highlight_row(f[i],i);
    </script>
    I have done this here: [http://apex.oracle.com/pls/otn/f?p=267:82]
    One thing though...  What happens when the user submits the page?  Both reports will have "f01" checkboxes with values starting from 1 and only those that are ticked are submitted with the page.  Thus, a checkbox with a value of 1 could refer to either report.
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

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

  • Creating single spool request for printing all shop floor papers

    Hello PP Gurus,
    We are printing shop floor papers at the time of releasing production order using txn CO02. It creates individual spool request for printing different shop floor papers in the same orders . eg Pick list, goods receipt list etc.
    Is it possible to do the cofiguration setting to create only one spool request for all the different SF papers belong to same order.? If yes, please let me know the steps for customising this.
    Thanks for your help in advance.
    Regards & Thanks
    Rajesh D.

    In transaction OPK8, in forms uncheck the 'New List' check box for the List.
    Regards
    Ramanujan

  • Close spool request

    Hi,
    I have one program, that calls transaction code CIP2. When I run in backgound, it creates spool request but with 0 pages.
    And have the message:
    ERROR => missing close of spool request [rspoooh.c    1173]
    If I run this program without background and calls CIP2, it runs well and no spool is created.
    Any idea how to solve this problem? or close the spool request?
    All ideias are welcome.
    Best regards,
    Anabela Fernandes

    Hi Harsh,
    When my program run in background it is done by one job and run when one event occurs.
    My program calls CIP2 with FM PROCESS_CC2_MESSAGES_PARALLEL. So I can't use the command SUBMIT.
    The spools request are created in backgound.
    I was think to do like: at end of program if sy-batch = 'X' -> Close the pending spool requests. But I don't know how to do it. Any idea?
    Thanks in advance.
    Regards,
    Anabela Fernandes

  • Large number of spool request

    Hi Experts,
    As our daily monitoring procedure, we run the sp01 tcode daily & check the number of elements is less then 20000 or not & also check that no error is there in any spool request.Today it shows the number of spool request element is greater than 20000.The popup box shows "Your selection contains 45443 elements"  .
    Now question is that why the maximum limit is 20000.Now when this maximum limit is exceded should i delete this spool request one by one or is there any other way to delete this report?is there any standard sap job is there to delete this spool request
    thanks

    Thanks all,for your valuable information.
    when  i check in sm36 twhat i found that the standard job sap_reorg_spool is being schedueled on daily basis. This standard job is running successfully in my system daily.Again this job automatically deletes the old spool request,then why i got more than 40000 elements in output controller.
    All suggestions are welcome
    Regards,
    Jitu
    Edited by: Jituda on Aug 12, 2009 1:13 PM

  • Deleting spool requests automatically

    Hi
    We are on R/3 4.7 Enterprise Extn Set 110. I would like to ensure that spool jobs which have printed successfully be deleted automatically. I need some help in getting this done.
    There are some places where I could configure this however I was not sure which would work.
    SU01 / Defaults  / Spool Control / Delete After Output
    SPAD / Admin / Settings / Admin / Automatically delete old spool requests. This has a time limit whic I can set. For instance All .... h
    SP01 / Spool Requests / Select Spool Request / Request Attributes / Spool Attributes / Delete After printing after no errors.
    To me the third one (from SP01) seems just right. But SP01 would show up requests which only belong to me. I would like to ensure that this works for every spool request for every user. How do I go about this? Does this have to be done in IMG? if so how?
    thanks
    ravi

    You need read the Note 16083 - Standard jobs, reorganization jobs
    the SAP_REORG_SPOOL job, also read
    Note 130978 - RSPO1041 - Replacement for RSPO0041
    About :
    But SP01 would show up requests which only belong to me
    dear cleare your user name in Created By and after execute, you will see all in past day , or selected period (it works in ECC, i do not know how it works in 4.7, but i'm think it's are same).
    Regards.

  • User-exit EXIT_SAPLSPOR_001 not executed (filter spool requests)

    Hi,
    The default SAP functionality provided to control the output controller functions via auth. objects S_SPO_DEV, S_SPO_ACT & S_ADMI_FCD does not do what we would like to do.
    There's a user-exit available to implement some additional code: SPOOAUTH / EXIT_SAPLSPOR_001.
    I've activated SPOOAUTH via CMOD and added a record in table TSPOPTIONS (AUTHORITY, value CUSTOM) which was mentioned in the documentation of the function module.
    No other changes were made.
    However, this user-exit is not called when I start trx. SP01.In the selection screen I choose to show all spool request from all users for a specific time period. According to the documentation this should trigger the user-exit.
    Now the funpart begins:
    I've debugged SP01 and found that FM RSPO_CHECK_JOB_PERMISSION contains:
           IF INIT IS INITIAL.                   
             data: v like tspoptions-value.      
             call function 'RSPO_OPTION_GET'     
               exporting                         
                 name                = SPOPT_AUTH
               IMPORTING                         
                 VALUE               = v.        
             if not v is initial.                
    return value of v should be CUSTOM. However it is empty -> skips the user-exit.
    The check in FM RSPO_OPTION_GET contains:
    ALL 'RSPO_CACHE_CONTROL' ID 'AREA' FIELD 'OPTION'           ID 'OP'      
    FIELD 'GET'                
                             ID 'NAME'
    FIELD NAME                 
                             ID 'VALUE'   
    FIELD V.                   
    if sy-subrc ne 0.            
       perform write_trace1 using 'RSPO_OPTION_GET %s failed\n'  name. "#EC NOTEXT                     
       select single value from tspoptions into v where spoption = name.
    Field NAME = AUTHORITY
    Field V    = empty
    Return = 0 -> skips user-exit.
    Have I overlooked something?
    Any help would be welcome.
    Kind regards,
    Mark

    Hi Mark,
    Could be that the option value is being picked from cache/buffer (old value). You can restart the system and verify.
    Also, after putting a break-point in FM RSPO_OPTION_GET, you can edit the value of 'v' in debugger and set it to CUSTOM, just to check whether the user-exit gets executed in this case.

  • Problem : Spool Request 0 does not exist ..

    Hi, I have a report to be converted to PDF format and then download the pdf as a local file. The code are as below.
    My problem is each time i execute my program, it will show me a message saying "Spool request 0 does not exist". Then i wil have to delete that particular code (the code below), activate the program and then copy and paste back the code (the code below from elsewhere) and activate it again. The code i copied is exactly the same, nothing is changed. But i dont want to practice this method everytime i execute my program.
    What are the cause to this problem and how should i solve it ? Please advise me..
    Thanks.
    Extracted Code ****
    *&      Form  print_pdf
    FORM print_pdf .
    STRUCTURES
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1)      TYPE c,
            mi_bytecount     TYPE i,
            mi_length        TYPE i,
            mi_rqident       LIKE tsp01-rqident.
    INTERNAL TABLES
      DATA: mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      CONCATENATE 'c:\EEOReport-' sy-datum '_' sy-uzeit '.pdf' INTO mc_filename.
    Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = space
          copies         = '1'
          list_name      = space
          list_text      = space
          immediately    = space
          release        = space
          new_list_id    = 'X'
          expiration     = '1'
          line_size      = 132
          line_count     = 65
          layout         = 'X_65_132'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = mstr_print_parms
          valid          = mc_valid.
      IF mc_valid <> space.
        NEW-PAGE PRINT ON PARAMETERS mstr_print_parms NO DIALOG.
        NEW-PAGE PRINT OFF.
      ENDIF .
    Make sure that a printer destination has been set up
    If this is not done the PDF function module ABENDS
      IF mstr_print_parms-pdest = space.
        mstr_print_parms-pdest = 'LOCL'.
      ENDIF.
    Explicitly set line width, and output format so that
    the PDF conversion comes out OK
      mstr_print_parms-linsz = 132.
      mstr_print_parms-paart = 'X_65_132'
    Find out what the spool number is that was just created
      PERFORM get_spool_number USING sy-repid
                 sy-uname
        CHANGING mi_rqident.
    Convert Spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = mi_rqident
          no_dialog                = space
          dst_device               = mstr_print_parms-pdest
        IMPORTING
          pdf_bytecount            = mi_bytecount
        TABLES
          pdf                      = mtab_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
          OTHERS                   = 12.
      CALL FUNCTION 'DOWNLOAD'
        EXPORTING
          bin_filesize = mi_bytecount
          filename     = mc_filename
          filetype     = 'BIN'
        IMPORTING
          act_filename = mc_filename
        TABLES
          data_tab     = mtab_pdf.
    ENDFORM.                    " print_pdf
    *&      Form  get_spool_number
    FORM get_spool_number  USING    P_SY_REPID
                                    P_SY_UNAME
                           CHANGING P_MI_RQIDENT.
    DATA: lc_rq2name LIKE tsp01-rq2name.
      SELECT * FROM tsp01 WHERE  rq2name = lc_rq2name
      ORDER BY rqcretime DESCENDING.
        P_MI_RQIDENT = tsp01-rqident.
        EXIT.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR P_MI_RQIDENT.
      ENDIF.
    ENDFORM.                    " get_spool_number

    Hi.. i've added this line
      submit (sy-repid) to sap-spool without spool dynpro
                                             spool PARAMETERS mstr_print_parms
                                             and return.
    added before
    *-- Find out what the spool number is that was just created
      perform get_spool_number using sy-repid
                 sy-uname
    It will keep going back to my selection-screen unless i click the back button. when i click on the back button it will only convert the pdf file and it can be converted succesfully. Is there any way where i can modify the code so that it wont return to the selection-screen again and again when i click one execute ??
    Please assist... i need this urgently.. thanks

  • An error occurred when processing the spool request.  (Possibly due to memory problems)

    Hi SAP,
    My backgroud job is failing with log as shown below
    Job started
    Step 001 started (program ZMRS0065, variant SUS
    Step 002 started (program ZDRS0090, variant SUS
    Step 003 started (program ZFRS0305, variant SUS
    Step 004 started (program ZFRS0300, variant SUS
    Access error
    Job cancelled after system exception ERROR_MESSAGE
    An error occurred when processing the spool request.  (Possibly due to memory problems)
    Kindly help out in this issue
    Regards
    Mohammed

    Hello Mohammed,
    Have you seen any error in your SM21 system log and developer trace of spool work process
    during that time?
    The maximum size when create spool is 2GB.Pls also check if you are creating a spool
    larger than it.
    Best Regards
    Jie Bai

  • Problem in converting Spool Request into PDF format

    Hi,
      I am facing problem to convert spool request (which store output of sap script) in to PDF format. Actually I have converted it with function module 'CONVERT_OTFSPOOLJOB_2_PDF' and it is working properly but the problem occurs where the BOLD fonts are used. I am unable to see the Text/Address where i have used Bold Font in script (PDF FORMAT). Even though in (SPO1) spool request shows every thing perfectly (along with Bold Font). It will great if you could suggest me something.
    Thanks,
    Pradeep

    Hi Pradeep,
    Use ,
    Closing the Sapscript, we save data (OTF) in a table
    CALL FUNCTION 'CLOSE_FORM'
    TABLES
    otfdata = t_otfdata
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    OTHERS = 5.
    DATA: BEGIN OF t_otfdata2 OCCURS 0.
    INCLUDE STRUCTURE solisti1.
    DATA: END OF t_otfdata2.
    Move OTF data to another table with lenght 255
    LOOP AT t_otfdata.
    CONCATENATE t_otfdata-tdprintcom t_otfdata-tdprintpar INTO t_otfdata2.
    APPEND t_otfdata2.
    ENDLOOP.
    Convert OTF format to PDF
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    format_src = 'OTF'
    format_dst = 'PDF'
    devtype = 'PRINTER'
    FUNCPARA =
    len_in = len_in
    IMPORTING
    len_out = len_out
    TABLES
    content_in = t_otfdata2
    content_out = t_pdfdata
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    Have a look at Progs. RSTXPDF4 and RSTXPDFT2 for converting the Spool to PDF.
    Regards,
    Raj
    Message was edited by: Rajasekhar Dinavahi
    Message was edited by: Rajasekhar Dinavahi

  • Display all sales order's smartform output in one spool request

    Hi,
    If suppose user has given sales order number from 01 to 14 then the output of all sales order should come in one print priview of spool request. How to do it?
    Please help.
    Thanks in advance,
    Rgds,
    Madhuri

    Hi Madhuri,
    Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.
    Hope this will help you.
    Regards,
    Vijay

  • Problem in Spool Request

    Dear Friends,
    I developed a smartform for customer it prints last form twice.
    means suppost if i give 1 to 10 customers it is giving 11 forms( 1,2,...10,10) it prints tenth form twice.
    Another problem is.. at spool request(sp01) i able print only 10 forms.
    it is showing that only page 1 to 10 of 17 displayed.
    Can anyone give me the suggestion

    Hi Anurag,
    Please refer below link
    http://wiki.sdn.sap.com/wiki/display/ABAP/Copies(duplicate,etc.)
    it is showing that only page 1 to 10 of 17 displayed.
    This is because the display area is too small.
    Solution : To increase the display area, choose "Goto -> Request Display  -> Settings". Note that this will use more main memory and may cause the transaction to terminate.
    Please click on F1 help on the above message in SP01 to read more about it.
    I hope this will help you.
    Regards,
    Rahul Mahajan.

  • All Labels in the Smartform  should be printed under one spool request ?

    Hi All,
    I need to print the labels with some data .At a time I have to print 10 labels with the same Spool request. I have required data in one internal table .I am looping the internal table and printing the label.In this case every time control leading to Print prview, and when i click on PRINT button then only It is leading to the Spool.For each print it is creating a new spool .
      But My requirement is , I need all the labels should be printed under only one spool .And I can see the print preview only once , and  if I click on print  button 10 labels(depending on the records in internal table) should be printed .Cotrol should not come again to the Print popup .
    Thanks,
    Suresh Kumar D.

    Hi,
    As per your requirement, if you want to print 10 labels, in same spool request, design your smart form like that,
    I mean design 10 labels in your smart forms.
    I hope this is easy solution.
    Regards,
    Sreenu.

  • Problem with Spool requests

    Hello ,
    Some spool requests are completed with status "Completed(Problem)". When we check the output Request Logs find below things :
    Print request processing log
    The host spool is reporting errors
    This request may not have been printed. Status unknown
    Most important attributes of spool request
    Request number 43899
    When we checked we are getting printouts fine but still in status we are getting completed with problem in Red mark.
    Can anybody tell abt this confusing situation why we are getting status in sP01 like this.
    Thanks
    Anju

    Hi,
    What is your OS?
    File = /usr/sap/SID/SYS/DVEBMGS00/data.
    UNIX:-
    check the file system status whether it is full (100%)
    Then increase file system thorugh OS level.
    Windows:-
    Check your hard disk of file system.
    Regards,
    Srini Nookala

Maybe you are looking for

  • Flash Cs4 crashes every time I try to add an image.

    Every time I try paste an image from anywhere in the flash file (all scenes) it crashes. I also cannot export to .swf. I tried saving the file with different names in different locations and did not work. I also have no corrupt font (tried looking fo

  • Data mapping in pdf forms

    I've created a simple PDF form and an interface for it. I've binded the context to a few text fields and everything seems to work as intended. The problem I'm having at the moment is that I would be requiring the short description of the data value,

  • Production Order - Trigger won't Auto Refresh

    2007A PL49 - Just upgraded from 2005A I have the following query set in a UDF on the Production Order. SELECT T1.PriceAfVAT FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.ItemCode = $[$-6.0.0] and T0.DocNum = $[$-32.0.0] The qu

  • How can i recover my pic From my old phone since this is my new phone

    HiHow can i recover my pic From my old phone since this is my new phone

  • Missing Presets in AME CC

    Hi, I'm hoping someone can help. The H.264 and Mpeg presets have suddenly stopped working. They are still visible in the drop down menu but when I try to apply them I get this error message [..\..\src\Command_Duplicate.cpp-202]. The last three digits