Spool request generated twice

Dear all,
I'm facing a very strange behavior while printing sales order confirmation from va01
in SAP ECC5.0.
I've got access sequences and condition records in order to print out immediately the form at saving, based on sales org/doc type.
Among 3 different doc type, only one is wrongly output twice when saving, without any explanations : no messages number set up in communication no TDCOPIES , output type set up ok and so on...
I really check around the whole things to find out a potential reason of this but without success.
Other doc type call same smartforms and print program but correctly issue only one output.
Where else could I look on to?
Please advice.
Regards.

i know the table for spool request :  TSP01
But how should i link it to background job name ?
i want the link between background job name and spool request generated by it......
TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..

Similar Messages

  • WHICH TABLE STORES SPOOL REQUEST GENERATED BY BACKGROUND JOB ?

    Background job is generating multiple request.
    i am not able to find the table which stores all the spool request for a particular background job.

    i know the table for spool request :  TSP01
    But how should i link it to background job name ?
    i want the link between background job name and spool request generated by it......
    TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..

  • How to know the spool requests generated from my program?

    hi
         I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
    Sathish. R

    Hi ,
    The system field sy-spono contains the spool numbers .
    If you have such requirement, you can create one custom table with fields :
    spool no, program , date , time
    whenever you run ur program update this table ,
    with system fields . spono , sy-repid , sy-datum and sy-uzeit .
    Thaks .

  • Spool request not generated in SP01

    Dear Experts,
    I try to print the invoice and later check the Spool request in SPO1 i didn't find any spool request generated there
    what would be the issues and how i will fix it ??
    thanks

    Dear All Friends,
    Thanks a lot for your replies.
    I found below part which solve my issue.
    Goto VF02/03 >> Issue output >> Print options >>>> Tick mark for release after output here remove the tick mark you will see the spool request generated other wise immediately spool request will delete becaues of that tick mark.

  • Link between spool request & abap program

    Hi all,
    I m looking for the link table between a spool request and the corresponding job and abap program.
    I want to select all spool requests generated via een job via een abap program.
    Some suggestions?
    Thanks in advance,

    Hi,
    Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
    The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
    Spool requests can be viewed via tcode SP01, the number will be there, programatiically it is sometimes populated in the system field SY-SPONO.
    It will take input parameters through the selection screen variants and process the code normally as foreground when we are writing the output to list it will generate the spool.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Why is it important to monitor SP01 or the Spool Requests?

    Hello Guys,
    Part of my tasks is to monitor the SAP systems we are handling but I would like to get the concept of the need to monitor SP01 such as if there are errors what is the impact in the system? In the spool work process etc?
    Can you help me through?
    Thanks,
    Jennah

    Hello,
    Normally you won't need to monitor SP01, cause many times the amount of spool requests generated is too large and lets say you do wish to monitor only those spools which had an error still its better to check this in SM21 as it would have more details about what went wrong.
    To keep your TEMSE database (spool database) healthy, I would rather monitor and run transactions and execute menu options of the following.
    SP12 -> Temse Data Storage -> Consistency checks
    SPAD -> Administration -> Check Consistency
    As deepak noted, you can schedule standard cleanup jobs SAP_REORG_SPOOL to perform regular cleanup.
    Start transaction SM36 and click on the standard jobs button, this would take you to a screen where you can schedule standard jobs.
    Select the job related to SPOOL and schedule it with the required parameters.
    Here is the list of Standard Basis jobs that you should have in your systems.
    http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a7ede505211d189550000e829fbbd/frameset.htm
    Regards,
    Siddhesh
    Edited by: Siddhesh Ghag on Jun 20, 2008 12:06 PM

  • Retention of the current spool request

    Hi,
    I have a question. I need to save the spool request generated for this week from a weekly batch job for few more days(ONLY FOR THIS WEEK). The current batch job that generates this spool request has a retention period of 8 days, I do not want to change its propeties in general. I just want to change it for this week since we have to keep this spool for slightly longer time
    How can I do this?
    Thanks,
    VG

    Hi,
    GO to SP01.
    Select the spool no.
    Check the line for which you want to retain the spool. Select the 'Request Attributes' [ hat like icon].
    There set the "Deleted On" date..or delete the date.
    regards,
    Subramanian

  • 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

  • System is not generating a spool request for Dep.?

    Hi,
    When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message
    "!! This processing can only be carried out as background processing !!
    But when I go to (Jobs Overview screen) see the spool request system is not generating the spool request and Please help me out what's wrong is happening and what shall I do.
    It is a new company code for the first time we are running the dep.
    Thanks in advance...
    Regards
    Nitin

    Dear Nitin,
    Refer Following threads
    fiscal year change has not yet
    AFAB - Not posting
    AFAB - Not posting
    Regards
    Saurabh

  • Long time for generating spool request for smartforms

    Hi,
    I'm have designed a  smartforms for printing a Receipt form. It takes about 1 minute for generating spool request after pressing the PRINT button in PRODUCTION Server only.
    The Code i used is below
    CALL FUNCTION lv_fname
      EXPORTING
          p_belnr                    = p_belnr
          p_bukrs                    = p_bukrs
          p_gjahr                    = p_gjahr
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 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.
      Please help me out to sort this issue.
    Thanks,
    Ramesh
    Edited by: Rameshkumar Raamasamy on Mar 4, 2012 6:21 AM

    Hi Rameshkumar,
    you may look at the code sections of your smartform: If you have a lot more data in production than you have in development, it is especially important to use a fully specified primary key for any SELECTs.
    You may also ask your basis people to check if any performance warnings have been recorded with database system. This happens quite frequently that growing database tables cause problems when table spaces are not properly assigned or table sizes are not maintained adequately.
    Regards
    Clemens

  • Spool Request Not being Generated.

    HI,
    when ever a PO is delivered as O/P spool request is not generated.
    if we choose LP01 as printer Spool is being generated. if client printer or LOCAL printer is selected spool
    is not generated. is there any settings to be done for generating the SPOOL request?
    i need to get the O/P as well as i need to view the O/P in Spool also... please help me on this.
    Regards,
    Dinesh R

    Hi,
    go to SPAD-->check the spool setting generally for some outputs the if you check delete spool after output
    then the spool will be deleted once the print is taken.
    remove the setting ..
    or go to t-code SU01 -->Under spool control -->remove the check mark for Delete after Ouput.
    Regrds,
    Prabhudas

  • Name of the program generating the spool request

    Hi,
    i want to know the name of the program due to which a particular
    spool request has been generated
    thanks

    Hi Anirudh,
    Is this what you are looking for:
    Re: Finding the Background job name from Spool request number
    Regards,
    Swarna Munukoti

  • New Spool Request not generating

    Dear All,
    I have seen print preview of one PO and taken print which has created a spool request.
    Another PO also I have seen the preview and taken print, but it has added to previous spool request as second page.
    My problem is I need to generate new spool request for each PO. Where do I need to do setting for this. Pls guide.
    Rgds
    Srini

    Hi Srinivasan,
    In the print program, try setting the parameter TDNEWID  to  'X'.
    Following link can help you ..
    Stop the combining of spool request to an existing one

  • Spool Requests are not generated in SM37

    Hi Freinds,
    in sp01.. there are 2 spool requests were generated for one standard prg.
    example : the spools requests are 1 and 2.(assume)..
    im sm37 .. it is showing 2 spool request only .. not 1 st spool request.. what is reason behind this??
    BUT I WANT 2 SPOOL REQUEST WHRE THE SAME 2 SPOOL REQUESTS ARE GENERATED IN SP01.
    IT IS POSSIBLE.. ANY SETTING ARE THERE IN SM37?
    regards,

    check the job steps... did u schedule the job or set it to start immediately
    in sm37 on the top, select ur job name and hit on step to see whats wrong in it..

  • Spool request not generated in smartforms printing

    Hii all,
            I have smartform, which was printing properly in QA server and few days back when i tried to get print from Production Server, it is not generating spool request. and in QA also it is not having same as on date.
    is there anythng to check from ABAP side or there is a problem of Basis.?
    kindly give soln for points .
    - Maharshi

    hi Maharshi,
    Gimme some what clear picture abt ur problem.
    What exactly the problem in QA server.
    I mean when it is working properly and when it is not?
    and what Function Modules u have used ..?
    and i wanna know is there any other print forms are working or not. if the other are working, it is not BASIS problem.
    Regards,
    Naveen

Maybe you are looking for