Reg spool request generation autamatically from iw32

Hi
We are having the below problem.
A service order is created with reference to notification...
So whenever any components are added in iw32,immediately a spool is generated with the following message.
Data statistics Number of
Records passed 1
Typ Ite Message text
000 Notification 300001261 is assigned to order 4002992
How to avoid this spool generation?...It is creating many number of entries in sp01.and user has to go and delete all the records..
This spool issue is only generated when a service notification has two service orders created..i.e a repair service order and a normal field service order which is without a sales order using notification.
So if sames notification is used only then it gives spool message saying service notification no is already assigned to first service order...
Also we are not getting this error in PED client.Only in peq300/production.
Is it do with some settings in list editing of any report or configuration
Kindly confirm
Regards
Swetha

Issue is closed as there was a bug in the user exit written in Service order

Similar Messages

  • Disabling spool request generation for a purchase order

    Hi,
    I have a requirement as follows :
    In ME22n, according to standard configuration for a purchase order whenever the indicators 'Deliv. compl' or 'invoice flag' is checked or unchecked and saved, a spool request is generated. This spool request can be viewed in messages tab of PO.
    My requirement is to disable the spool request generation on change of the above mentioned indicators.
    I have found a user exit 'EXIT_SAPMM06E_016' which is triggerred on clicking on 'SAVE' of PO.
    I am unable to find the field or structure with which i can disable the generation of spool request.
    Your help is much appreciated!
    Thanks & Regards,
    Richa Aggarwal

    Richa,
    you can replace 101 with your routine number. who said you cannot? in NACE, output procedure
    the code in 101.
    FORM KOBED_101.
      LOOP AT XNAST WHERE KSCHL EQ KOMT1-KSCHL AND
                          OBJKY EQ MSG_OBJKY   AND
                          AKTIV EQ SPACE       AND
                          VSTAT EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK SY-SUBRC NE 0.
      SY-SUBRC = 4.
      CHECK ( KOMKBEA-DRUVO EQ NEU OR KOMKBEA-DRUVO EQ AEND ).
      CLEAR SY-SUBRC.
    ENDFORM.
    *       FORM KOBEV_101                                                *
    FORM KOBEV_101.
      LOOP AT XNAST WHERE KSCHL EQ T683S-KSCHL AND
                          OBJKY EQ MSG_OBJKY   AND
                          AKTIV EQ SPACE       AND
                          VSTAT EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK SY-SUBRC NE 0.
      SY-SUBRC = 4.
      CHECK ( KOMKBEA-DRUVO EQ NEU OR KOMKBEA-DRUVO EQ AEND ).
      CLEAR SY-SUBRC.
    ENDFORM.
    so you can copy the code from these forms, and keep them before your code in your custom routine,.. like:
    FORM KOBED_901. "==> i am creating a new VOFM routine 901 here
      LOOP AT XNAST WHERE KSCHL EQ KOMT1-KSCHL AND
                          OBJKY EQ MSG_OBJKY   AND
                          AKTIV EQ SPACE       AND
                          VSTAT EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK SY-SUBRC NE 0.
      SY-SUBRC = 4.
      CHECK ( KOMKBEA-DRUVO EQ NEU OR KOMKBEA-DRUVO EQ AEND ).
      CLEAR SY-SUBRC.
    "==> from here add your code.
    data:lv_subrc type sy-sibrc.
    if xyz NE asdasd "==> your validations..
    lv_subrc = 4.
    endif.
    sy-subrc = lv_subrc.
    ENDFORM.
    *       FORM KOBEV_901                                                *
    FORM KOBEV_901.
      LOOP AT XNAST WHERE KSCHL EQ T683S-KSCHL AND
                          OBJKY EQ MSG_OBJKY   AND
                          AKTIV EQ SPACE       AND
                          VSTAT EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK SY-SUBRC NE 0.
      SY-SUBRC = 4.
      CHECK ( KOMKBEA-DRUVO EQ NEU OR KOMKBEA-DRUVO EQ AEND ).
      CLEAR SY-SUBRC.
    "==> from here add your code.
    data:lv_subrc type sy-sibrc.
    if xyz NE asdasd "==> your validations..
    lv_subrc = 4.
    endif.
    sy-subrc = lv_subrc.
    ENDFORM.

  • Reg - Spool Request #

    Gurus,
        If I print the different PO Documents, it take same Spool Requst number.  I need different Spool Req # for different PO Documents.
    Any Authorisation or Config settings...
    Pls advise...
    Regards
    Rajesh.

    Hai,
    First select the Printer from which you need to print the PO's from SPAD, then try to print something from that printer for example: SPAD -- Printer name (double click) -- Now you will be inside the printer definition -- then goto Utilities -- For Device types -- Test data (ABAP) -- In the next page input the Printer name which you are going to print from and then go down to the 'additional parameter' section and click on 'Force new spool request' and save.
    This will help you in creating the new spool numbers for every print through that particular printer.
    Hope this helps.
    Regards,
    Yoganand.V

  • Problem with spool request generation in Dialog program

    Hi,
        To give the spool and print functionality in dialog program i have used the function module code like below -
    call function 'GET_PRINT_PARAMETERS'
          exporting
               mode                   = ' '
               in_parameters          = ls_pri_params
          importing
               out_parameters         = ls_pri_params
               valid                  = lv_valid
          exceptions
               archive_info_not_found = 1
               invalid_print_params   = 2
               invalid_archive_params = 3
               others                 = 4.
       IF lv_valid <> space AND sy-subrc = 0.
             SUBMIT (sy-repid)
                    USER SY-UNAME TO SAP-SPOOL
                    SPOOL   PARAMETERS ls_pri_params
                    WITHOUT SPOOL DYNPRO.
    But the problem is, if it is list then we can easily get the print function, since i am using the above code in the dialog program screen 9000, program is giving dump like....
    Incorrect program type with SUBMIT.                                                                               
    What happened?                                                                               
    The current ABAP/4 program "SAPMYXXXXXX" had to be terminated because              
    one of the statements could not be executed.                                                                               
    This is probably due to an error in the ABAP/4 program.                              
    You attempted to start a program not intended for this purpose.                      
    I know that i should not use submit statement for dialog program, but what is the solution for this.
    Thanks in advance..

    Did you check the F1 help of SUBMIT. if not give a try.Submit cannot be used on Module pool programs. it is used for Report(executable ) programs.

  • Simple Request - How Do I Print a Spool Request in 3.1i?

    Here is the scenario:
        I have created an FI Misc Credit Memo for a customer who wants a hard copy of the document. Using transaction code FB12, I generate a correspondence. Then using transaction code F.64, I attempt to print the document. This generates a spool request with a number like 86,007.
    From there I go to system>services>output control which takes me to the spool request screen. From there, I am missing the next step.
    This screen has fields for:
    Spool request number (attempted number given when spool request was generated - 86,007, field only fits 5 characters so comma has been excluded)
    Spool request name ( I think this is my problem as I have no idea where to find this)
    User name (field is populated)
    From date  (field is populated)
    Client  (field is populated)
    Output device (have entered desired printer name)
    Format (usually self-populates once a successful print request is entered)
    Title (unnecessary field I believe)
    Recipient (unnecessary field)
    Department (unnecessary field)
    No one on our staff has been able to help me with this issue so I've turned to the community. I am an end user (Tax Analyst) who possesses little technical knowledge. My apologies. Thank you in advance for any help given!

    Hello,
    remove values from all the fields in the selection screen and enter only your spool number. The Execute wiht 'F8' and if the spool request is found, with the "printer" push-button you can print it.
    Best regards,
    Andrea

  • Generate spool request from an invoice

    Hi,
    I'd like to know is there any function module to generate an spool request from an invoice document generate previously by VF01 (VF04) SAP transaction code.
    I'd like to generate on demand a spool request over an invoice previously generated by SAP
    Anyone knows if it is possible?
    Thanks

    The billing process included the spool generation runs perfectly by stantard SAP funciontality.
    But I'd like to generate a spool request whenever I want for an invoice previously generated and printed.
    You know that for space requirements the spool request are deleted periodically, but I want to generate a spool request for an invoice, which spool request was generated and deleted. This behaviouir is reclaimed for a system process so, it's not possible to regenerated the spool request using the funcionality incluided in SAP by VF02, VF31 transactions code.
    I need a function module or something like that, so import and invoice document number and export and spool request.
    Thanks in advance,

  • Generation of Spool Request in F110 automatic payment progrm transaction

    Hi All,
    I am facing a problem of spool request for t-code F110.
    for other transactions like F-58 and FBZ5 the spool request is getting generated.
    but not for F110 t code.
    I am creating a variant for each bank that I am using in F110.
    Seperate cheque printing forms have been customised for the client. One of them is given as default in the FBZP settings. For that particular bank whose cheque printing form has been defined as default in FBZP, I am not specifying the alternate from in the Varint settings for F110. For all other banks I am specifying the Details in the alternate form in the variant for F110
    But still spool request is not getting generated post the print command is given.
    Kindly provide a solution
    Thanks and Best Regards
    Kedar

    Hello
    I think you need to Unflag the print immediately in the variant.
    Thanks
    Assign points if useful

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Restrict people to see only spool requests from one group of users

    I would like to restrict people to see only spool requests from one group of users defined somewhere inside role.
    I am playing with S_SPO_ACT authorisation object but with no positive result,
    Please help

    There is a note  Note 119147 - Spool: Authorizations (https://service.sap.com/sap/support/notes/119147)
    Object for "Selection authorization for spool requests" is S_ADMI_FC where "Operation authorization" use S_SPO_ACT
    Regards

  • Function module which can print from spool request ?

    Hi ,
    Is there any function module which can print from spool request ?
    Regards
    pabi

    I think NO.
    You have to take print from SP01.
    Amit.

  • Converting OTF data from script to Spool Request

    Hello,
    Is there any way to convert OTF data into Spool Request.
    Actual scenario is for the Order Acknowledgement form they have configured the output type for Print Medium and here the spool is generated through Close_Form . Based on the spool no they are converting the spool to PDF and then placing a copy in the Unix Directory.
    They have also configured the form for Fax Medium , but here in the close_form they are getting the Fax number instead of spool number. As this way it just Fax the output to required destination , user require a copy of the output should be converted to PDF and then it has to be placed in Unix directory as it is happening for print medium.
    The problem here in the close form for first  case , i can see the spool id but in the second case that is not happening . So only OTF data is available with me. So is there any way where i can pass OTF data get spool id . So that if i have spool id rest will be taken care by my existing logic.
    I Appreciate your valuable inputs.
    Thanks,
    Subash

    Check this code snippet.
    data : it_spool      TYPE STANDARD TABLE OF rsporq     ,
                         it_pdf        TYPE STANDARD TABLE OF tline      ,
                         v_objtype     TYPE rststype-type   ,
                        v_name        TYPE rststype-name  .
    *&      Form  find_spool_request_id
    FORM find_spool_request_id.
      CALL FUNCTION 'RSPO_FIND_SPOOL_REQUESTS'
        EXPORTING
          allclients          = '320'
          datatype            = '*'
          has_output_requests = '*'
          rq0name             = nast-dsnam
          rq1name             = '*'
          rq2name             = '*'
          rqdest              = 'LOCL'
          rqowner             = sy-uname
        TABLES
          spoolrequests       = it_spool
        EXCEPTIONS
          no_permission       = 1
          OTHERS              = 2.
      IF sy-subrc <> 0.
        MESSAGE i000 DISPLAY LIKE 'E' WITH text-002.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " find_spool_request_id
    *&      Form  convert_spool_to_pdf
    FORM convert_spool_to_pdf .
      READ TABLE it_spool INTO wa_spool INDEX 1.
      v_spoolno = wa_spool-rqident.
    *Get Spool request attributes
      SELECT SINGLE *
        FROM tsp01
        INTO tsp01
        WHERE rqident EQ v_spoolno.
      IF sy-subrc <> 0.
        MESSAGE i000 DISPLAY LIKE 'E'
                          WITH text-003 v_spoolno text-034.
        LEAVE LIST-PROCESSING.
      ENDIF.
      v_client = tsp01-rqclient.
      v_name   = tsp01-rqo1name.
      CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
        EXPORTING
          authority     = 'SP01'
          client        = v_client
          name          = v_name
          part          = 1
        IMPORTING
          objtype       = v_objtype
        EXCEPTIONS
          fb_error      = 1
          fb_rsts_other = 2
          no_object     = 3
          no_permission = 4
          OTHERS        = 5.
      IF sy-subrc <> 0.
        MESSAGE i000(zz) DISPLAY LIKE 'E'
                           WITH text-003 v_spoolno text-034.
        LEAVE LIST-PROCESSING.
      ENDIF.
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = v_spoolno
            no_dialog                = ' '
          TABLES
            pdf                      = it_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
            OTHERS                   = 12

  • Generate Excel file Automatically of Spool Ouptut from Spool request

    In 4.6C version how do i code to download Excel file of spool output from its spool request number?

    hi
    please if u know this ans pls send me...........
    but think like this .......
    it will create seperate image for u
    Regards Prasad
    Edited by: EV prasad on Nov 26, 2008 4:55 AM

  • Process Spool Request from RFC

    We are creating an Output in a Delivery with a bapi from a Remote system. The Output is created successfully, but do you have any ideas how to print this output from a remote device?
    Is there a RFC to convert this into PDF? If so, how do we process this.
    I appreciate any help.
    Thanks -

    Hello Brijo
    Maybe this can help you?
    Create Spool Request Number for Smartform?
    Best regards
    Thomas

  • How to get data from OTF spool request number

    Hi all,
            How to get OTF Data from the spool request number (OTF)?
            How to create spool request from the OTF Data?
    Regards,
    Sunil Kumar

    Hi,
    Check this links:
    http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm
    Sending Mail from SAP
    https://wiki.sdn.sap.com/wiki/display/sandbox/SendMailwithPDFAttachment?showChildren=false#children

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

Maybe you are looking for

  • Payment Instruction Output

    Hello Guys, My client want their payment instructions output in USD not in local currency. Payment Instruction is an output we generate. When we run our payment run and take to bank to transfer money to our vendors account. Have configured F as outgo

  • On which API the JVM is based

    Well I am new to Java, but I am a .NET developer. I am sure that .NET is a wrapper for the WinAPI32 on Windows, but what about Java? Is the Java VM also a wrapper for the WinAPI running on Windows or is it built up by different technolgies. If it is

  • How to add password to catalog?

    I wont to add my girlfriend photos to my n73 but i don't wonna that my parents or brother to see it.So i wondering is there any way to add password to catalog.Is there any soft that i cna download or buy?

  • How do I view only movies available for rent on ITunes?

    I only want to see the library of movies available for rent, is there a way to select that search?  I do not wish to purchase and don't want to click through movies trying to see which are available for rental and which are not.

  • RSS Feeds on Podcast(not working)

    I use Go daddy as my host not .mac which I am starting to believe is the cause of the problem. http://www.johnnyjungle.com/JungleRadio/JungleRadio.html is my page that I am having problems with so you can see for yourself....does anyone know why the