How to clear Spool ?

Hi,
I hve a report to download an PDF(1 pg doc)  invoice. It also generates a spool request.
When the invoice is printed through this program, it creates a pdf file with multiple (same) pages.
The number of duplicate pages is proportional with the no . of times the pgm is executed.
Is this a spool issue ? Will this issue get resolved if the spool is cleared...?
If yes..how to clear the spool everytime ?
Please help.
Regards,
Amruta K.

check this thread : *how to clear Spool Logs*

Similar Messages

  • *how to clear Spool Logs*

    Hi guys
    I am using sap ecc6.0 OS Suse Linux 10 DB:DB2  .    Still yesterday all of my users are taken printouts without any errors,but yesterday onwords printers are not working in sap.even one user also unable to tkle printouts.Suddenly all printers are not working in sap ,for word,excel the printers are working only for sap printers are not working,i think spool logs are full how to clear the spool logs can any one help me in this regard your help is much appretiated.

    Refer to Note 16083,
    you need to schedule job SAP_REORG_SPOOL in your system
    That will delete all old spool logs
    Rohit

  • How to Get Spool ID after PO release. (To send PDF for ext E-mail)

    Hi Experts,
    I am new to Email sending from SAP.
    I am facing a big problem from many days. I am in a new support project.
    I have a issue that when ever a PO is released from ME23N or ME28 it should send a mail to vendor.
    This is working fine in Development including delivery report or failed report back to approver...
    I dont know where is PRD and who is doing that,
    But my support manager says that only some PO's are sent to vendors not all...
    everytime they approve only some emails sent to vendors...!
    But every PO is same and for same vendor's...
    Even failure & delivery messages are missing for (sent failed email's)
    But after all I observed only one thing that we have a select statement....
      DATA:  GS_RESULT TYPE ITCPP.  
      DATA : L_DATE(9).
      DATA : BEGIN OF LT_TSP01 OCCURS 0,
              RQIDENT LIKE TSP01-RQIDENT,
              RQCRETIME  LIKE TSP01-RQCRETIME,
              DATE(8),
              TIME(8) TYPE N,
              END OF LT_TSP01.
      SELECT  RQIDENT RQCRETIME  FROM TSP01 INTO CORRESPONDING FIELDS OF
                           TABLE  LT_TSP01  WHERE RQCRETIME LIKE L_DATE
                                            AND   RQIDENT EQ GS_RESULT-TDSPOOLID.
      IF SY-SUBRC =  0.
    (All Email sending code)(including delivery & failure delivery)
    Endif.
    So I suspect it is not picking up the Spool request from this Table TSP01 or may be not updated to this table.
    I have searched in SCN, I have seen may E-mail Codings
    But every one says to get Spool- ID & Convert to PDF,,,
    My Question is How to get Spool ID correctly and tell me how it is updated. when a PO released by ME23N or ME28.
    please any one clear my doubt as I am completely helpless here.
    Thanks in advance,
    Dunlop.

    Hi,
      Is it a SMart form.....
    If it is a smartform, then Smartfom interface itself has a spool id parameter....
    you can directly het that from this parameter...
        CALL FUNCTION "FMa Name'
          EXPORTING
            control_parameters = wsl_control
            output_options     = wsl_outpt
            user_settings      = ''
            wtg_itemdetails    = tl_itemdet
             wtg_vttp              = l_vttp
          IMPORTING
            job_output_info    = sl_spooldet
          EXCEPTIONS
            formatting_error   = 1
            internal_error     = 2
            send_error         = 3
            user_canceled      = 4
            OTHERS             = 5.
        IF sy-subrc <> 0.
        ENDIF.
    The inporting parameter sl_spolldet will have the Spool id.
    and you fetch by, using the below mentioned way..........
        READ TABLE wsl_spooldet-spoolids INTO wsl_wa_spool INDEX 1.
          IF sy-subrc = 0.
              Convert it into PDF using 'CONVERT_OTFSPOOLJOB_2_PDF'
              then attach it and send a mail.....with all properties set such as Delivery report....
          endif.
    If you have any issues, please let me know........
    Thanks & Regards,
    Vamsi

  • How to clear completed reminders in iCal

    Has anyone figured out how to clear completed (checked done) reminders in iCal?

    Joe,
    That clarifies the question for me. Go to iCal>Preferences>Advanced and make your choices:

  • How to find Spool number for a 2 steps background job.

    Hi All,
    How to find spool number (and also the background job name ) for a 2 steps background job.
    in the table TBTCO i can see step numbers but i dont get the spool number. Is there any link between TBTCO and TSP01.
    Also after getting the spool number i need to drill down on ALV report. I hard coded the spool number and was able to drill down using BDC and call transaction but when i press back button it is not returning to the ALV report.
    Thanks,
    Shiva.

    Which one creates the spool? (first one I guess)
    What kind of spool? (WRITE, sapscript, smartform, pdf...)
    Do you use special statements like NEW-PAGE, or other things?
    Are you sure that the spools are generated by these jobs? (did you compare the spool generation times and job run dates to be sure...)

  • How to clear text fields when the user navigates back to the screen

    Hi,
    Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
    My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
    Thanks

    This code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
    As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.containers.FormItem;
          import mx.controls.TextInput;
          import mx.events.IndexChangedEvent;
          import mx.core.Container;
          private function clearSreen(evt:IndexChangedEvent):void{
            var view:Container = tn.selectedChild as Container;
            for each(var child:Object in view.getChildren()){
              if(child is FormItem){
                var subchild:DisplayObject = child.getChildAt(0);
                if(subchild is TextInput){
                  TextInput(subchild).text = "";
        ]]>
      </mx:Script>
      <mx:TabNavigator id="tn" resizeToContent="true"
        change="clearSreen(event)">
        <mx:Form id="frm1" label="View Number One">
          <mx:FormItem label="First name:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Last name:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
        <mx:Form id="frm2" label="View Number Two">
          <mx:FormItem label="Address1:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Address2:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="City:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="State:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Zip code:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
      </mx:TabNavigator>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • How to clear vendor open items with customer open items in APP?

    Hi Experts,
    Our vendor is our customer - in this scenario how to clear vedor open items against customer open items. I have defined vedor is customer means I have given customer number in vendor master record, selected chek box 'clear with customer'.  Still problem is not solved, hence I am requesting you to help me in this regard.
    Thank you very much,
    Regards,
    Ganesh.

    Hi
    In FBCJ after payment you have clear manually vendor balance in F-44.
    If you want SPL GL in FBCJ then write a Substitution .
    1. step 001 - Special G/L Substitution
    2. Prerequisite - Transaction code = 'FBCJ'
    3. Substitution posting key -- Exit (need help from abap) exit name
                                              G/L Exit (need help from abap) exit name
                                              Special G/L Ind Exit (need help from abap) exit name
    you can't do this without ABAP help
    Best Of Luck
    Tanmoy

  • How to clear vendor open items if vendor invoice currency and payment currency different

    Hi All.
    How to clear vendor open items through f-44 if vendor invoice currency is EUR , payment currency is USD  but local currency is INR
    while clearing through f-44 system showing error as "to large for clearing clearing is not possible"
    I checked all configuration, configuration wise no problem
    BR.
    Chandra

    Hi Chandra,
    You chose any one of the currency i.e. EUR/INR/USD for clearing in F-44. After selecting line items for clearing, system will show a difference. Click on over view button and manually write off the difference by selecting any one account i.e. dummy or small diff.account, after that click on process open items then system will show the difference 0 and simulate the document, here system will post gain/loss exchange GL postings along with other line items. After save the document, manually pass journal entry to dummy account and gain/loss account. I have explained clearly in the below example.
    Invoice is in USD - 1000 & INR - 60000
    Payment is in INR - 60000
    Now I am going to clear these in INR currency in F-44 on 31.03.2015. On this date the exchange rate for USD is 60.10. At the time of clearing system will post the below entry
    Vendor A/c Dr 60000 (invoice)
    Vendor A/c Cr 60000 (Payment)
    Gain from exchange rate A/c Cr  100 (60000 - 60100)
    Small diff.write off A/c (or) Dummy A/c Dr 100
    After done the above posting, we have to pass below manual JV in FB01
    Gain from exchange rate A/c Dr  100
    Small diff.write off A/c (or) Dummy A/c Cr 100
    Regards,
    Mukthar

  • How to clear the open documents in case if document currency and local curr

    Hi,
        Can anyboday advise how to clear the open document of a particular vendor for a particular company code. Here the issue is that balace is netted to Zero in the document currency but not in the local currency. The document was posted in Currency CAD and the local currency is GBP.
    When i check the FBL1N, there is it showing net balance is ZERO, but document is still in open
    status. I tried using Transaction code F-44, but it is not allowing me.
    Can anyboday advise how to perform this. Points will be awarded.
    Regards,
    Sree.

    Hi,
    In the Company code global parameters(OBY6),select the check box "NO FOREX RATE DIFF.WHEN CLEARING IN LC"
    and try clearing again.(You can have a F1 help on the check box to see what exactly it is).
    Hope this will resolve
    Assign points if useful
    Thanks
    Aravind
    Edited by: Aravind Aitipamula on May 22, 2008 1:36 AM

  • How to clear vendor open documents

    How to clear vendor open documents, I had previously tried to clear the documents in PRD with transaction F-44 and I get the following message.
    X. Ex.rate diff.accts are incomplete for account 00015080 currency CAD

    You can clear using the t code F-44 which is manual or by using F.13 which is automatic.
    The error you are getting is with refernce to a transaction between your Local currency and Currency "CAD"
    Maintain a transalation ratio and the exchange rate. Here the system also looks for a exchange loss or gain on such conversion also. Map those accounts and you will be clearing the transaction.
    If you are using automacti clearing you need to decide on the link(Common feild)  between the DR open item and CR open item and these open items after having this as a refernce can be cleared automatcially in F.13.
    Hope you understood.
    Reward points if useful.
    sarma

  • How to clear UWL items ?

    Hi,
    We are having so many entries or pending tasks in UWL of each user .
    How to clear them ? And I did not find any delete or remove button by selecting any entry .
    How to delete those entries one by one and all entries at once ?
    Thanks,
    Surya

    Hi,
    I hope you should clear them in workflow of backend .
    consult workflow forum
    Remove from transaction SWIA, choose logically delete on the highest
    level
    Koti Reddy

  • How to clear GR/IR account when criteria is not matching

    Hi All,
    I have issue in clearing GR/IR account done by F.13.  Criteria field XREF3 in Criteria 3 given is not matching in WE and RE, so I cannot clear, this happend to once particular GR/IR only.
    So how to clear this GR/IR when Criteria is not matching.
    Syam

    Hi,
    You can clear it manually using F-03. In that T-Code it is a manual clearing and not automatic clearing...so you can select any line items you want to clear, only thing is that their balance should be Zero.
    Regards,
    SAPFICO

  • How to get spool along with e-mail or FAX

    Hi,
    I have a requirement where i have to produce a spool even i go for e-mail or FAX option when the script is triggered.
    I am using a standard program where it is coded to have either of the option. i.e. either we have to go for a printer or e-mail or FAX.
    Could any one suggest me how to get spool along with e-mail or FAX option.
    Thanks in advance.

    Hi,
    check this:-[http://help.sap.com/saphelp_nw04/helpdata/en/a5/28d3b9d26211d4b646006094192fe3/frameset.htm]
    hope u'll get some idea.
    Regards,
    Sneha.

  • How to clear Autocomplete text in Jquery.

    Hi All,
    I have implemented a Autocomplete text item using jquery.Every thing looks fine, but when we clear the country the corresponding state should be cleared.
    Here is the code, can any body hep me out where and how to clear the values.
    <script type="text/javascript">
    $( function() {
        $("#P16_ENG_CTRY").autocomplete({
            source : function( request , response) {
                            data = getCountry(request.term);
                            response( data );
            focus  : function(event , ui){
                        event.preventDefault();
    function getCountry(key)
       document.getElementById('P16_ENG_CTRY')=='';
       var ajaxRequest = new htmldb_Get( null , '&APP_ID.' , 'APPLICATION_PROCESS=GET_COUNTRY' , 0);
       ajaxRequest.add( 'G_MX01' , key);
       ajaxResult = ajaxRequest.get();
       return ((ajaxResult.length>0)? ajaxResult.split( '~' ):null);
    $( function() {
        $("#P16_ENG_STATE").autocomplete({
            source : function( request , response) {
                            data = getStateJ(request.term);
                            response( data );
            focus  : function(event , ui){
                        event.preventDefault();
    function getStateJ(key)
    document.getElementById('P16_ENG_STATE')=='';
          var ajaxRequest = new htmldb_Get( null , '&APP_ID.' , 'APPLICATION_PROCESS=GET_JSTATE' , 0);
              ajaxRequest.add('G_MX01',document.getElementById('P16_ENG_CTRY').value);       
              ajaxRequest.add( 'G_MX03' , key);
              ajaxResult = ajaxRequest.get();
       return ((ajaxResult.length>0)? ajaxResult.split( '~' ):null);
    $( function() {
        $("#P16_ENG_CITY").autocomplete({
            source : function( request , response) {
                            data = getCityJ(request.term);
                            response( data );
            focus  : function(event , ui){
                        event.preventDefault();
    });Thanks,
    Anoo..

    Thanks VC for a quick turn around, i have made changes like this which wroks fine but when i click the event outside then it is clearing the list fo state.
    Is it possible to clear when i had tried to remove the country manually the sate should clear at at time insted of click the event.
    <script type="text/javascript">
    $( function() {
        $("#P16_ENG_CTRY").autocomplete({     
            source : function( request , response) {
                            data = getCountry(request.term);
                            response( data );
            focus  : function(event , ui){
                        event.preventDefault();
            change : function(event,ui) {
                     if ($('P16_ENG_CTRY').val()==null || $('P16_ENG_CTRY').val()==""){
                  $("#P16_ENG_STATE").val('');}}  
    Thanks,
    Anoo..

  • How to clear UNB table in the payroll result?

    Hi,
    We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup.
    I see the below table "UNB table" in the last payroll result. "UNB - Unbalance table used for tax retrocalculation" .
    I think we are getting the above error because of this UNB table, can anyone help me to how to clear this table?
    When we run the regular payroll, no tax is being deducted.
    Please help
    Saurabh

    Hi Arti,
    Thanks for your reply!!..
    Seeing your reply, it gives me bit confidence to crack the existing problem, however, I'm still not clear with your answer... let me explain you the problem-
    1. Employee was given 350,000 though Taxable Bonus WT with regular pay check
    2. Later it came to know- out of the above amount, 75000 was Grossup amount
    3. So in next payroll run, they entered -75000/- in regular Taxable bonus WT and +75000 in Grossup WT and also they deleted one IT210 record of GA tax authority which was wrongly created; and ran the payroll
    4. Since then, in next payroll period- No tax is being deducted, so we are creating IT221 infotypes with Tax wagetype
    5. If we are running the Grossup wage, payroll error- The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted.
    While running the regular payroll, overpayment Wagetype is being generated.
    Now, I saw this UNB table is created and the below wagetype are there in the UNB table-
    WT /5UT amount 0.00
    WT 5430 amount -75000
    WT 0200 amount 12500 ( Monthly salary)
    WT 4530 amount 350000
    Now I am thinking, if we are deducting tax through IT221,if we clear this UNB table, our problem might get resolved
    It will be a great help for me if you can tell-
    1. how to check, claims process is implemented or not?
    2. I have good HCM experiece but this claims process is very new to me- pls guide me how to do that
    Waiting for your reply, thanks in advance
    Saurabh Garg

Maybe you are looking for

  • Changing preview panel transparency background in Adobe Bridge CC

    Can the background color showing transparency in the Adobe Bridge CC preview panel be changed from the default black to white?

  • My ipod touch will not update or restore

    So everytime i try to restore or update my Ipod Touch 4th gen 4.3.2 to 5.1.1 it says The Ipod could not be restored. An unknown error occured (3194). I looked up the error and did everything it said to but i still get the same error. Any help? Thank

  • Slow Page Draws

    Ok here is the problem when ever I add a SELECT statement to my code it just gets slower and slower. Without the SQL statement it takes less than 1 second to draw the page, with the statement it is taking over 3 seconds. For every Sql statement I add

  • Voodoo3 3000 driver for Solaris 8 IA

    Hi, I am looking for a 3dfx-Voodoo3 3000 AGP 16MB driver for solaris 8. Target computer : AMD K7 Tunderbird CPU whit ASUS A7V133 M.B. Thanks in advance Regards Flavio Azra

  • Serial Number In AR Invoice

    Dear Experts, I Have one Issue related to serial Number in AR Invoice.i have created one crystal report for AR invoice.we require serial number in AR invoice. Scenario:       Item Code    Quantity    serial number 01)  FFP001        8             IC4