Reprinting using same spool request

Hello Friends,
  We have a business requirement to reprint of the SAP documemt (delivery, packing list etc).   We have a output procedure attached to each SAP document, during the document process, system triggers the output and issues a output for the physical printer assigned to device. 
Now we have a requirement to re use the output to print on other physical printers, it mean when a spool is generated from the first time , then by using the same spool request Number instead regenerating the new spool, we need to generate output from different physical printers.
Please suggest how this can be possible -
1.  How we can reuse the same spool for reprinting
2.  How to communicate system to print in different physical printers using existing spool
Appreciate your
Best Regards,
Goutham

Hello
1. How we can reuse the same spool for reprinting
You can, but, provide you have Value for authorization (TSP01SYS-RQAUTH) to do so.
In general, reprinting of spools is avoided.
Instead you can add again the output type manually and execute.
2. How to communicate system to print in different physical printers using existing spool
But, you can't do this.
Again same suggestion, instead you can manually add the output type & provide the printer details in the transaction doc and execute.
Regards
JP

Similar Messages

  • How do you preview using a spool request number

    How do you preview using a spool request number?
    I have an application in which I have accumulated the results from several smartforms into one spool request. I have the spool request number, and am printing it using function RSPO_RPRINT_SPOOLREQ.
    I need to be able to preview the contents of the spool request before printing. I can not preview when generating the smartforms, as that involves several previews, and I need to preview once only per spool request.
    I have been trying to use RSPO_RDISPLAY_OUTREQ but it dumps immediately (line 47) with field symbol <FTSP01> not assigned.
    Suggestions?

    *With no faction module "COM_SE_SPOOL_DISPLAY", try this simple code, you can display the form *type spool (you also can put the code in a function module):
    REPORT  ypl_test_display_spool MESSAGE-ID zm_print.
    PARAMETERS: rqident LIKE tsp01-rqident,
                            rqdocty LIKE tsp01-rqdoctype.
    *--- there may be more types need to separate..., so use case...
    CASE rqdocty.
      WHEN 'OTF' OR 'SMART'.
        PERFORM display_form.
      WHEN OTHERS.
        PERFORM display_others.
    ENDCASE.
    *&      Form  DISPLAY_FORM
          display form type spool...
    FORM display_form.
      DATA: wstr_otf_control TYPE itcpp.
      DATA: wtbl_buffer TYPE TABLE OF soli WITH HEADER LINE.
      DATA: wtbl_otf TYPE TABLE OF itcoo WITH HEADER LINE.
      DATA: wstr_retcode LIKE itcpp.
    *--- return spool raw data
      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
        EXPORTING
          rqident              = rqident
        TABLES
          buffer               = wtbl_buffer
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          OTHERS               = 8.
      IF sy-subrc <> 0.
        MESSAGE s013 WITH text-001.
        EXIT.
      ENDIF.
      LOOP AT wtbl_buffer .
        wtbl_otf-tdprintcom = wtbl_buffer(2).
        wtbl_otf-tdprintpar = wtbl_buffer+2.
        APPEND wtbl_otf.
      ENDLOOP.
    *--- some data to pass to this parameter, may not need...from SP01...
      wstr_otf_control-tdcopies = 1.
      wstr_otf_control-tdappl = 'TX'.
      wstr_otf_control-tddest = 'LOCL'.
      wstr_otf_control-tdpages = 0.
      wstr_otf_control-tdnoprint = 'X'.
      CALL FUNCTION 'DISPLAY_OTF'
        EXPORTING
          control = wstr_otf_control
        IMPORTING
          RESULT  = wstr_retcode
        TABLES
          otf     = wtbl_otf.
      IF wstr_retcode IS INITIAL.
    *--- message...
      ENDIF.
    ENDFORM.                    "DISPLAY_FORM
    *&      Form  display_others
          display other types, may more types needed to separate...
          you can refer current version of SAP report RSPOLST2
    FORM display_others.
      CALL FUNCTION 'RSPO_DISPLAY_SPOOLJOB'
        EXPORTING
          rqident              = rqident
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
        MESSAGE s013 WITH text-001.
      ENDIF.
    ENDFORM.                    "display_others

  • Use of Spool request

    Dear All,
    Sorry for posting some basic questions. But I am not clear in basics of this topic.
    Please explain me some basics about Spool request.
    1. When the spool will be generated, how to identify in the delivery that, some spool got generated for those output types in the Deliver?
    2. Is the spool generation printer oriented? For example, if I have only Dot matrix printer, is it possible to generate Spool?
    3. In the Delivery, if I have 5 Similar output types (LD00), does it generate 5 different Spool or 1 Spool?
    4. In the Delivery, if I have 5 Different output types (LD00, LD01, LD02, LD03, LD04), does it generate 5 different Spool or 1 Spool?
    3. After the Spool generated, in SP02, how to identify the particular spool which is generated for a particular output? For example, I need to identify the output LD00 for a particular Delivery, is that possible?
    4. How to identify the Spool retention period?
    Regards,
    Mullairaja

    1. When the spool will be generated, how to identify in the delivery that, some spool got generated for those output types in the Deliver?
    Via the status of the output type.
    2. Is the spool generation printer oriented? For example, if I have only Dot matrix printer, is it possible to generate Spool?
    It is triggered via the output type.
    3. In the Delivery, if I have 5 Similar output types (LD00), does it generate 5 different Spool or 1 Spool?
    5, per each output type, doesn't matter whether it is the same output type.
    4. In the Delivery, if I have 5 Different output types (LD00, LD01, LD02, LD03, LD04), does it generate 5 different Spool or 1 Spool?
    5 different spools
    3. After the Spool generated, in SP02, how to identify the particular spool which is generated for a particular output? For example, I need to identify the output LD00 for a particular Delivery, is that possible?
    You cannot identify the deilvery however, by maintainting the output as the 'spool request name' or 'suffix1' or suffix 2' in the output condition record you may identify the output type in SP02.
    4. How to identify the Spool retention period?
    It is set at OS level. cant tell from spools.

  • What is main use of spool request

    hi,
    help me.

    hi
    Output request to the SAP spool system. In ABAP programs, spool requests can be opened with the statements NEW-PAGE PRINT ON and SUBMIT TO SAP-SPOOL . During a spool request, the system processes the print list of the current program. When the spool request is opened, the system determines print parameters that can no longer be changed. An internal mode can not managed more than one spool request at a time.
    thanks
    Sachin

  • 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

  • Add the output from two documents on to a single spool request

    Hi All,
      I have a situation where the Remittance output using transaction F110 goes to a spool request which triggers VF31 transaction to ouput invioices, these invoices go on to a separate spool. My requirement is that all the invoices related to the Remittance should print in the same spool request after the Remittance output? Is there any method that this can be done? Would an example be possible?
    Regards,
    Puneet P.

    Hi Puneet,
    do you have access to the print program, I mean, can you change it when the open_form function is called (depends on customizing settings for this transactions)? If so, you can change the ITCPO-TDNEWID. This will cause to print the next output into the former opened one. So you first output has ITCPO-TDNEWID = 'X', the second ITCPO-TDNEWID = ' '. Then they will be merged into one.
    Cheers,
    Stefan

  • How to print two alv lists in one spool request

    Hello,
    I have made a report which has one alv list based on CL_SALV_TABLE and a message box displayed in a splitter container based on SBAL. In dialog mode everything is fine.
    If I run the report in batch mode, I have put the alv table to
    list_display = abap_true.
    For printing the messages I am using FM BAL_DSP_LOG_PRINT. It has this nice parameter
    i_s_list_append = abap_true.
    Unfortunatly the messages are not appended to the alv list, nor are they in the same spool request.
    I think the system will put it only into the first spool request, when the name, the printer, the number of prints and the format are the same and of couse, if the spool request is still open for appenfing (which it is).
    The name and the format are not the same in my case. So I tried to set the name to TEST using the print options of the FM
    ls_print_options-print_ctrl-pri_params-plist = 'TEST'.
    But unfortunately it is not working. No changes to the name, when I run the report in batch mode.
    Who has experiance with that? Why are both lists not in the same spool request? Are my findings right? Why isn't the name changed?
    Thank you for your help,
    Peter

    do 2 times
    perform write_form.
    end do.
    for header u can give condtion in form.
    use if condition in the editor...
    this will help u...
    Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Regards
    Anbu
    Edited by: Julius Bussche on Jul 17, 2008 7:01 PM

  • Wht is a spool request explain me in detail?

    Hi I want t know what is a spool request and wht is a spool request number
    explan me   thanking u
    cheers

    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.
    Output request: From the point of view of the SAP spool system, an output request outputs the print data of a spool request to a particular output device.
    Multiple output requests may exist for a single spool request. Each represents an instance of the output of the same spool request. Each of these output requests may have different attributes, such as the target printer or number of copies.
    By differentiating between spool request and output requests, the spool system provides a means of storing the data temporarily.
    Please check this link for more information.
    http://help.sap.com/saphelp_erp2004/helpdata/en/64/c6c13b48c37855e10000000a114084/frameset.htm
    Regards,
    Ferry Lianto

  • Smartform internal_error when merging forms into 1 spool request

    Hi,
    I have 2 smartforms - a letter and a certificate. The user has the option to print either one of these forms or both, per employee. I'm using 1 spool request.
    As soon as I call the second smartform there is an INTERNAL_ERROR. Why does this happen and how do I solve the problem?
    Please refer to the code sample below:
    loop at i380.
    make sure the spool is not closed
      control_parameters-no_open = 'X'.
      control_parameters-no_close = 'X'.
      AT FIRST.
       control_parameters-no_open = ' '.  
      ENDAT.
      AT LAST.
        control_parameters-no_close = ' '.
      ENDAT.
    call smartform 1
        call function 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
                  formname           = 'ZLETTER'
             IMPORTING
                  FM_NAME            = FM_NAME
             EXCEPTIONS
                  NO_FORM            = 1
                  NO_FUNCTION_MODULE = 2
                  OTHERS             = 3.
        if sy-subrc <> 0.
          WRITE: / 'ERROR 1'.
        endif.
         CALL FUNCTION FM_NAME
                 EXPORTING
                      CONTROL_PARAMETERS = control_parameters
                      OUTPUT_OPTIONS     = output_options
                      USER_SETTINGS      = ' '
                      pernr              = i380-pernr
                 IMPORTING
                      JOB_OUTPUT_INFO    = otf_info
                 EXCEPTIONS
                      FORMATTING_ERROR   = 1
                      INTERNAL_ERROR     = 2
                      SEND_ERROR         = 3
                      USER_CANCELED      = 4
                      OTHERS             = 5.
            IF SY-SUBRC <> 0.
            endif.
    second smartform - certificate
        call function 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
                  formname           = 'ZCERTIFICATE'
             IMPORTING
                  FM_NAME            = FM_NAME2
             EXCEPTIONS
                  NO_FORM            = 1
                  NO_FUNCTION_MODULE = 2
                  OTHERS             = 3.
        if sy-subrc <> 0.
          WRITE: / 'ERROR 1'.
        endif.
         CALL FUNCTION FM_NAME2
                 EXPORTING
                      CONTROL_PARAMETERS = control_parameters
                      OUTPUT_OPTIONS     = output_options
                      USER_SETTINGS      = ' '
                      pernr              = i380-pernr
                 IMPORTING
                      JOB_OUTPUT_INFO    = otf_info
                 EXCEPTIONS
                      FORMATTING_ERROR   = 1
                     <b> INTERNAL_ERROR     = 2</b>                  SEND_ERROR         = 3
                      USER_CANCELED      = 4
                      OTHERS             = 5.
            IF SY-SUBRC <> 0.
            ENDIF.
    endloop.
    I cleared output_parameters, output_options and otf_info when calling form ZCERTIFICATE but this does not solve the problem. When ZCERTIFICATE is called seperately, there is no problem.  The forms should be printed directly without conversion to PDF.
    Your help will be appreciated.

    Hi,
    In the loop AT Last is in wrong place. May be that could be the reason for your problem. Then the second call to samrt from is will be working on a closed session.
    regards
    austin
    Message was edited by: Joseph Austin Prabhu Paulthas

  • How to print Spool requests for cheque printing sequentially

    Dear All,
    I am making vendor payments and printing cheques using F-58. It automatically creates a spool requests at the end of the transaction. When i complete all my payments and go to SP01 for viewing spool requests, the last request appears at the top of the list.
    If i select 3 consecutive requests and print them at a time, the last request gets printed first on the first cheque number and the first request gets printed on the last cheque number.
    This results in anomaly in the cheque number assigned in the system and the printed cheque as the last payment is printed on the first cheque.
    I am using dot matrix printer with  page format fixed for cheque specifications. The cheques are printed properly as per the format except the order of printing.
    Kindly let me know how to print multiple requests sequentially from the spool requests list such that the spool request number printed matches with the serial cheque numbers.
    Regards,
    SAP_2009

    Hi,
    I understod your issue.
    Whenever you posted multiple payment documents, and after that if you want to take cheque printouts sequentially by using more spool requests.........there is a way to sort out this issue.
    1) Select all of your spool requests and click on Sort in ascending Order (CtrlShiftF5) and click on Print directly (CtrlShiftF8). By doing this you will get the cheque printouts sequentially according to your payment document sequence.
    Hope this will help you
    Assign ********, if it solved your problem.
    Thanks,
    Srinu

  • Spool requests are being sent the the B9 printer queue.

    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.

    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.

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

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

  • Notification spool request & pdf

    what is spool request,Whenever i create notification through QM 01 & wants to take print out of 8D report,I needs to click spool request option in order to take PDF later on,Pl explian.
    How to take PDF of notitfication 8D report so that It gets mailed to vendors or Internal Deptt.sometimes after taking printout Its spool not gets generated in SAP QM.
    Pl Guide.

    A 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.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c3/cc154219fce12ce10000000a1550b0/content.htm
    Customization:
    In QCC0--->Quality Notifcation >Notification Processing>Additional Notification function>Define Action box>Select the notification type->click on activity>click on 8D report & check the
    Function module used inside isit: QM06_FM_TASK_CREATE_8DREPORT
    Also check the FM's
    QM06_FM_TASK_CRT_8DREPORT_PDF
    QM06_FM_TASK_REQ_8DREPORT_PDF
    QM06_REQ_8D_REPORT_FOA_PDF
    QM06_REQ_8D_REPORT_STEP2_PDF

  • Spool request explanation

    Hello Experts
    Please tell me what is a spool request???
    Thx
    Verroz

    A 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.
    Also Refer
    http://www.allinterview.com/showanswers/71855.html
    SAP document itself can explain you very well
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/24/ece847a9d511d1a9e40020af00b7e5/content.htm

Maybe you are looking for

  • Save filled form as read only

    I have created a form that will be filled in  and saved with the new input.  Once saved, the filled form will be emailed to other people. Is there a way to save this as read only? Or a setting that makes sure whoever opening the email cannot still ed

  • Events on lockscreen?!

    Hi there, I'm searching for an App, that shows my events on lockscreen, like WindowsMobile powered Smartphones use to do it... Is there an App that does this? I already searched for a long time but found nothing... Sincerely Leon07

  • Kernal panic while using iTunes.???? gulp....!

    Ok aloha I was running along smoothly in iTunes after I moved all my music from my iTunes library from my powerbook and in the middle of a song about 5 to 10 mins after this the system crashed to a Kernal panic screen. I cannot start up when I restar

  • Table Name needed Transaction History

    Hi all, I have a custom transaction type, which has leading Transaction Category - "Business Activity". When I look at document in IC center according to my custom transaction type I see that document header has tab Transaction History and there I if

  • If i update itunes will i lose my apps and contacts and the other contents?

    if i update itunes will i lose my apps and contacts and the other contents?