Cleaning spool requests - report RSPO1041

Hi experts,
We're using SRM 5.5 and we've scheduled the reports
- BBP_GET_STATUS_2 ( every 2 minutes)
- CLEAN_REQREQ_UP
As a consequence, in the SPOOL we are having many requests.
In order to delete the spool requests, we have one job for the report RSPO1041, which is defined to delete spool requests from report bbp_get_status_2. In addition, we have 2 more jobs to clean the spool, using the same report RSPO1041, but with a generic variant.
However, those jobs are not being successfully cleaning the spool, as the spool requests are not being deleted.
So, my question is, is there any reason for the report bbp_get_status_2 generate spool requests?
And if it is really necessary, is there any other way to clean the spool? Or there is any other reason to the RSPO1041 is not cleaning the spool requests as it should?
Many thanks.
Best regards,
Andreia Nascimento

- BBP_GET_STATUS_2 ( every 2 minutes)
- CLEAN_REQREQ_UP
Normally CLEAN_REQREQ_UP doesn't generate any spools, BBP_GET_STATUS_2 does and it does have the reason to generate spool as you would want a comprehensive report on the synchronization between SRM and R/3 documents.
In order to delete the spool requests, we have one job for the report RSPO1041, which is defined to delete spool requests from report bbp_get_status_2. In addition, we have 2 more jobs to clean the spool, using the same report RSPO1041, but with a generic variant.
Why having multiple jobs for the same purpose? I would just schedule one job that manage the cleaning of spools with a desired variant for report RSPO1041. And there should not be a reason for it not to be cleaning up accordingly, unless the job itself is not running into the status "finished". Having multiple jobs involving report RSPO1041 with different variants also increases the complexity for your tracking of its effectiveness.

Similar Messages

  • Spool Requests in Waiting not getting deleted by RSPO0041 or RSPO1041

    Hello Experts,
    We are currently running report RSPO0041 in our system to delete old spool requests, this report is running fine and deleting other spool requests except in status "waiting".
    I have also done test run with RSPO1041, but even though the requests in the status waiting are not getting deleted. The only option I have is to delete it by SPAD.
    The issue I have is that, the output device is not defined for a set of users, due to which their requests are picking up Frontend printing which is not possible which is the cause large number of requests are going in status waiting.
    We are not in a position to define output device for such users. 
    My question here is: Do we have any other option in above reports to include the spool with status waiting?
    Your valuable advice needed. Thanks in advance.
    Regards,
    Amit

    Hi Amit,
    What is the option you are selecting in both of these reports? Make sure you have selected "in processing" and "without output request" in rspo1041 with the corresponding dates, then I am sure it will get deleted.

  • How to create the multiple spool requests for a single report.

    Hi gurus,
                     I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
    now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
    And one more question is can we create a spool request for a report which is running in online.
    waiting for inputs frm gurus.

    Hello,
    As per my knowledge for creating new spool id you will have to set
    output_options-tdnewid = 'X'.
    and then using
    job_output_info-spoolids
    create a pdf using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Rachana.

  • Creation of spool request for a report without selection-screen.

    Hi Experts ,
    I need to create a spool request for ALV Grid report which is not having any selection-screen , after pressing F8 it will directly display the ALV Grid out put.
    Can any one help me how to run the above report in background which is not having selection-screen?
    Thank you & Regards.
    Rajasekhar.P

    HI,
    At transaction SE38 click Program -> Execute -> Background.
    Regards
    Sudheer

  • Spool Request Display Report

    Hello,
    Pleasure to be part of this community and ask the first question.
    I have created a report and probably, that report is going to be scheduled to run weekly.
    I want to understand how I can create a job and spool request display report for this program. I have found some information from this forum about SM36/SM37 T-Code and spool request display. However, I think I am not able to get the whole scenario of how it is going to work.
    If someone can give me an idea, that would be great. Practical examples will be appreciated.
    Regards,
    Udit

    I am assuming you will be scheduling this job manually and not programmatically.. The process is as follows..
    Goto SM36
    Enter a Job Name
    click on START Condition butto and click Date and Time button
    you will see a button PERIODIC VALUES appeared below.
    Click and select WEEKLY as you have indicated, SAVE it.
    Enter date and time so that it starts on that time and is scheduled everywk at that time
    You can enter NO START AFTER in case you want to restrict this.
    Then Click STEP
    You can enter program name variant and also select Printer specification
    And that should do the trick..
    Hope this helps

  • Find report input from spool request

    hi,
    i have spool request in sp01 for some zreport output which was ran in background.
    but how can know the report input which was given by user and ran report.
    please help me out.

    Hi Jony,
    in sm37 first check the status of ur job ,
    if it is active means ongoing
    finshied means over
    if it is finished then u double click on th job
    then click on the button job log
    then u can see spool request number
    now go to sp02 and click on ur spool request number
    cheers,
    Hema.

  • Automatic of deletion of Spool requests

    Hi,
    Scheduled job SAP_REORG_SPOOL is running every night on our Production system. 
    Yet this morning we discovered our Spool database was full.
    I've checked note 64333 and confirmed that the following parameter is set:
    c_def_pexpi   like pri_params_pexpi   value '8
    And yet still our spool files are not being automatically deleted.
    Could anyone offer any advise on what I can check to try track down the problem please?
    Thank you.

    Hi,
    As of the beginning of the year 2011, the report RSPO1041 no longer deletes spool requests. The job log contains a message stating that the factory calendar cannot be read.
    Please follow the SAP note number 1532398..
    As per the above note " The factory calendar used in the variant of the report RSPO1041 is invalid. As of January 1, 2011, this problem will occur more frequently because the factory calendars delivered by SAP in 1996 become invalid on December 31, 2010."
    Please follow the instruction...
    1. Use transaction SCAL to change the validity of the factory calendar.
    2. After you implement the corrections contained in the above note, the report RSPO1041 responds as follows in the error  It uses all of the days and not just all of the working days of the factory calendar to calculate whether or not a spool request is to be deleted.
    After you implement the above said note, the report RSPO1041 will also no longer terminate in the background because it tries to delete its own spool request.
    Regards
    Bhuban
    RKFL

  • Deletion of Spool Request

    Hello,
    My spool is full Could i delete old spool request if i deleted is there any impact on system ??/
    the spool request now reached into 31,901  so what steps i have to take please guide.
    Regards
    Deepak
    Edited by: DEEPAK Somvanshi on Jul 6, 2010 6:35 PM

    Hi Deepak,
    1. Check whether background job SAP_REORG_SPOOL with the report RSPO0041/RSPO1041 is running properly or not.
    2. If running properly, Goto t-code SP01, enter from and to dates for "Date Created" and execute. Spool requests get displayed. Select any one spool request and check the request attributes(F8). If you're able to see date under "deleted on" as either 12/31/2099 or 01/01/2100, this is due to kernel problem. For this you've to apply the new kernel as per the below note.
    Note 1423484 - Wrong date on cover page for spool requests
    Hope this would help you.
    Thanks & regards,
    Mogileeswar

  • How to send as an email the spool request?

    Dear Experts,
    My last post was Email background schedule report to gmail or yahoo mail .
    I got solution but it's work as a notification which we can say the after report run it triggers mail that report is completed as this time.
    But i required the thing how to send a spool request of a report  as an email attachment.
    it will be in .xls or .pdf or xyz format.
    It was the additional task which was required by my organization.
    I also want to know the following things.
    1. what is sap default configuration and system behind it.
    2. what the things abaper have to check.
    3. what is bcs_examples & where do i found these bcs_example8.
    Please guide me to explore my knowledge.
    Thanks & regards
    Nayan Lad
    Note for moderator : Sir, I will close request at 2:30 pm today onward, so please do not lock it.
    Moderator Message: All your questions can be answered by searching.
    Edited by: kishan P on Nov 13, 2010 3:29 PM

    need solution..

  • Spool request internal error

    Dear All,
    When I am executing a report in background using tcode se38, I am not able to view the output of the report from the spool request .
    When I try to view the contents of the spool request, It simply gives a message
    as follows :
    Request 74837 in system PRD : internal error
    00000040/ in spooler.
    Please advice me on this issue.
    Thanks
    Gaurav

    hello Gaurav,
    it is coming because the columns in spool is exceeding the SAP defined limit of 255. Either you need to create a device type with columns greater than 255 or else use the OSS note: 186603. It has a simple report <b>ZRSPOSHOWLIST</b>  that you need to create in your system. I created this report and now whenever i have such errors I use it to view the spool.
    regards.
    Ruchit.

  • SM37 - Graphical display of spool request in Hebrew

    Hello,
    I'm running a report in background. When I look at the spool request display
    the header display in hebrew from left to right instead right to left.
    when I'm running online I don't have a problem. I enter the session in hebrew.
    does anyone have any idea ?
    thanks,
    Michal

    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

  • How to delete the spool request number

    HI Masters,
                My program creates a spool request. And i want to delete that spool request number? How to delete that??
                  Thanks in advance.

    hi
    good
    The program are RSPO0041 or RSPO1041.
    This is handy whenever you encounter a user who managed to create a lot of spool requests which are choking your system.
    Deleting them with SP01 will be too slow and you will get time out if it exceed the online time limit specify by your basis people.
    <b><REMOVED BY MODERATOR></b>
    thanks
    mrutyun^
    Message was edited by:
            Alvaro Tejada Galindo

  • Is there any FM to generate spool request for error log of a background job

    Hi,
        I am going to create a program to create deliveries and do PGI. This program will be assigned to periodic background job.Now whatever  errors are generated in program i have to send the error log to spool request.Is there any FM for generating spool request with this error log  or how can this be done? Kindly provide sample code if possible.
    Thanks.
    Nimish Dongare.

    Hi Nimish,
    How are you doing, This is Shreekant working as ABAP developer, I sow your post in sdn forum, I have a similar requirement like I am changing the delivery taking some data from a flat file which is coming from other system and do PGI. If any error occurs during this process I need to capture it and present it as a report or create log file.. whichever is easier.
    Please can u help me how did u achieved this functionality for your requirement?.. pls. can u share some details.
    If u don mind, can u give me ur email id to communicate.
    Thanks,
    Shreekant

  • Converting spool request into multiple pdf formated documents

    Hi Guys,
                 I am designing a report with several pages of output and running it in background.
    Is there a possibility to convert each page into an separate pdf format document ?
    If I use ALV report as output, if its more than page, do I face any issue with pdf conversion.
    Thanks

    Check the Following code, This might be helpful:
    form rstxpdft4 using filename.
    * Read spool job contents (OTF or ABAP list) and convert
    * to PDF, download PDF
      data: download  value 'X'.
      data: lv_filename like rlgrap-filename.
      lv_filename = filename.
      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.
      select single * from tsp01 where rqident = gt_rq-rqident.
      if sy-subrc <> 0.
        write: / 'Spool request does not exist', gt_rq-rqident
                color col_negative.
        exit.
      endif.
      client = tsp01-rqclient.
      name   = tsp01-rqo1name.
      call function 'RSTS_GET_ATTRIBUTES'
           exporting
                authority     = 'SP01'
                client        = client
                name          = name
                part          = 1
           importing
                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              = gt_rq-rqident
                  no_dialog                = ' '
             importing
                  pdf_bytecount            = numbytes
                  pdf_spoolid              = pdfspoolid
                  btc_jobname              = jobname
                  btc_jobcount             = jobcount
             tables
                  pdf                      = pdf  .
      else.
        call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
             exporting
                  src_spoolid              = gt_rq-rqident
                  no_dialog                = ' '
             importing
                  pdf_bytecount            = numbytes
                  pdf_spoolid              = pdfspoolid
                  btc_jobname              = jobname
                  btc_jobcount             = jobcount
             tables
                  pdf                      = pdf
    *************** download PDF file ***********
    v_filename = lv_filename.
    *  call function 'WS_DOWNLOAD'
    *       exporting
    *            bin_filesize            = numbytes
    *            filename                = lv_filename
    *            filetype                = 'BIN'
    *       tables
    *            data_tab                = pdf
    *       exceptions
    *            file_open_error         = 1
    *            file_write_error        = 2
    *            invalid_filesize        = 3
    *            invalid_type            = 4
    *            no_batch                = 5
    *            unknown_error           = 6
    *            invalid_table_width     = 7
    *            gui_refuse_filetransfer = 8
    *            customer_error          = 9
    *            others                  = 10.
    *  if sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  else.
    *    gv_count = gv_count + 1.
    *  endif.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        BIN_FILESIZE                    = numbytes
        FILENAME                        = v_filename
        FILETYPE                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    *   WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *   SHOW_TRANSFER_STATUS            = ABAP_TRUE
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = pdf .
    *   FIELDNAMES                      =
    Thanks.

  • Spool requests are being sent the the B9 printer queue(RSNAST00).

    Hi gurus,
    has anyone found a fix for this issue? i'm currently experiencing the same issue and would like to know how i can fix this..
    Spool requests are being sent the the B9 printer queue. Most spool requests are for one page, when there are spool requests for multiple pages these spool requests take longer to create, in the meantime, other spool requests that are single pages are going to the printer queue. This creates and "out-of-vendor-order" issue during printing.
    The out of vendor order sequencing creates a significant level of work effort for the business users to resort the printed copies in order to prepare the documents for mailing. A change is required to eliminate this manual effort.
    Development has indicated an enhancement could be made to the RSNAST00 program where only those print jobs for application "MR" with transmission "1" (for print) would be gathered in groups of "X" number of documents to create one spool, prior to creating the spool, a check would be made to see if the next document was for the same vendor, if so the next document/s would be included in the same spool, when a new vendor was found, a new spool would be created.
    To temporarily fix the issue the jobs have been placed on "no execute" and the support team is identifing the chargebacks and RTV created during the week, manually running the RSNAST00 program in groups of 500 - 800 documents, ensuring all doucments for a vendor a sent in the same spool request.

    Post Author: Stephen@Azzu
    CA Forum: General
    Nobody know the answer to this one? Stephen@Azzu:Here's a good one...I'm using Crysal Reports XI (fully service packed) and the reports I have created are being used in a VB.Net application. I have no problems whatsoever in printing the reports, everything is fine. However, when the report is sent to the printer, the printer queue displays 'document' as the, err, document name. I'd like it to say something more relevant, such as the document number the user selected.So I've tried setting the ReportDocument.Name but wait, it's read only!? How about the summary info? No change. Filename? No change either. I've browsed the internet, searched the knowledge base and found nothing. So my question is this...How do I get the printer queue to display an appropriate name for my document?Stephen

Maybe you are looking for

  • S-Video/Composite Adapter?  WHERE??

    I'm more than a little irritated that Apple has removed the TV adapter from the store without posting an "out of stock" or "coming soon" or "discontinued" notice. The Mini's page still sports a picture of the non-existent item, complete with a link t

  • Are these Seagate 2TB drives compatible in my Mac Pro Quad Core 2.66 GHz?

    I still have an Apple Mac Pro "Quad Core" 2.66 that was introduced August 7, 2006. I currently have 4 of the following Seagate internal hard drives installed: ST3750640AS SEAGATE BARRACUDA 7200.10 - HARD DRIVE - 750 GB - INTERNAL - 3.5" - SATA-300 -

  • Personal Value List in automatic F4 Help

    I have created an input field in my web dynpro view. For the underlying data element I have created a search help in the dictionary, and in the context, I have selected "search help = automatic". Now, i get a F4 help for the input field for free, whi

  • ASA 8.2 8.4 9.1 possible with no downtime as we run active/standby?

    Hello, We have 2 x ASA 5520s (with 2GB mem) in active/standby mode, they also include the IPS modules. The current firmware is 8.2 and I was wondering if it is possible to upgrade these firewalls with no downtimes?  In the past I have upgraded the st

  • Context menu

    I just want to add my own custom context menu item and remove or hide all the default menu items, how will it be possible. please give me entire code for this requirement as early as possible. waiting for ur reply. Thanks