SMQ2 queue deletion.

Hello Everyone,
Is there a way to delete the SMQ2 queues in SRM? We have thousands of records and we do not want to delete each queue manually.
Any help to get this?
Regards,
Khushbu.

Hi Kushubhu
See  the following link it may be helpful for you.
Re: Mass Delete of BDocs in SAP CRM system
with regards
Manjunath

Similar Messages

  • Queues deleted from smq2

    Hi
    I have mistakenly  deleted some important queues from SMQ2, now i want to retrive those quesues. could you please provide me the solution..
    Thanks
    SK

    Hi SK,
    I have mistakenly deleted some important queues from SMQ2, now i want to retrive those quesues.
    that's no problem provided that we are dealing with ExactlyOnce queues. When deleting the SMQ2 queue you do not delete the message, but it's registration for asynchronous execution.
    I suppose you already have identified the messages. Simply select them in SXMB_MONI and press the 'Restart' button. This way a new queue entry is generated and pipeline processing of these messages will continue.
    Please note: This procedure also applies to ExactlyOnceInOrder (EOIO) queues, however, by deleting the queues the system has lost all information on the order. Consequently the Integration Server can not re-create the initial order of messages. It is up to you to restart EOIO messages in correct order.
    Best regards,
    Harald Keimer
    XI Development Support
    SAP AG, Walldorf

  • SMQ2 Queue Monitering and stuck up problem

    Hello Experts ,
    Below is the situation
    u2022     An interface is asynchronous In bound in ECC from PI as a PROXY message and the quality of message is EOIO (Exactly once in order) i.e. it has a definite queue.
    u2022     The actual method of the Provider class has the code which posts the data into the ECC system using BAPI.
    u2022     If BAPI is successful the message is successfully passed BUT if BAPI returns an Error an exception is raised (CX_AI_APPLICATION_FAULT) and the errors are logged into Zee tables. After the resolution of errors the xml id is reprocessed using SXI_MONITOR  Tcode
    Concerns
    u2022     As the Message quality type is EOIO  it has a dedicated queue and if the first message in the queue fails  the queue is  in status  SYSFAIL  , as per in tcode SMQ2
    u2022     The status text for the ID in the Queue is - An exception occurred that was not caught.
    u2022     Due to this all the rest of the messages in the queue get stuck up i.e. Scheduled state, unless and until you go to SMQ2 and delete the message with the exception.
    u2022     Expected is that the queue should not stop or not go into SYSFAILT if an application exception is thrown.
    u2022     In our situation the message volume in the queue is LARGE may be 5K message a day.

    Anup Deshmukh wrote:
    Hello Experts ,
    > Below is the situation
    > u2022     An interface is asynchronous In bound in ECC from PI as a PROXY message and the quality of message is EOIO (Exactly once in order) i.e. it has a definite queue.
    > u2022     The actual method of the Provider class has the code which posts the data into the ECC system using BAPI.
    > u2022     If BAPI is successful the message is successfully passed BUT if BAPI returns an Error an exception is raised (CX_AI_APPLICATION_FAULT) and the errors are logged into Zee tables. After the resolution of errors the xml id is reprocessed using SXI_MONITOR  Tcode
    > Concerns
    > u2022     As the Message quality type is EOIO  it has a dedicated queue and if the first message in the queue fails  the queue is  in status  SYSFAIL  , as per in tcode SMQ2
    > u2022     The status text for the ID in the Queue is - An exception occurred that was not caught.
    > u2022     Due to this all the rest of the messages in the queue get stuck up i.e. Scheduled state, unless and until you go to SMQ2 and delete the message with the exception.
    > u2022     Expected is that the queue should not stop or not go into SYSFAILT if an application exception is thrown.
    > u2022     In our situation the message volume in the queue is LARGE may be 5K message a day.
    Why dont you have Fault message mapping , that captures the exception and trigger an alert using the alert framework..
    Best Regards,
    XA

  • SMQ2 Queue sys.failed

    HI all,
    In CRM system SMQ2 queue name  R3AD_ACCOUNTING is getting system failed.
    When iam trying to unlock,activate and Execute those queue entries(5677) its not working i am getting the Message that FUNCTIONAL MODULE DOES NOT EXIT  for this iam deleting the queue entries one by one after checking each one.
    This queues are coming from R3 because of sale/service billing document post. when i check in SMW01 i didnt get any information related to this queue.
    Is it any other way to solve this issue. How to resolve ?
    Do the needful..
    regards,
    shoki.

    HI,
    when i check the queue entries i got the Functional module BAPI_CRM_SAVE,and queue name R3AD_ACCOUNTING, STATUS TEXT says that " Bdoc status failed,Bdoc not found".
    system doesn't have dump errors too.
    I came to know that when ever you get the message "Function module not found for this exception" for Queue entries we can delete that queue entry, but  the problem is i have so many entries, Its not possible check one by one and delete?
    sould i delete this all entries at once? Is it any solution?
    Thanks,
    shoki

  • SMQ2 queue is blocked and messages are in u201Cwaitingu201D status in RWB

    Hello,
    A SMQ2 queue is blocked with XXX data and these messages are in u201Cwaitingu201D state in RWB. 
    What could be the reason?
    Im sure its not because of the space because all the messages which flow after that was there in the directory.
    Regards,
    Mathangi

    Hi Mathangi,
         double click on the queue and click on the first message which will direct to MONI
    --> check what exactly the error is and try to resolve the error accordingly
    if you are unable to do that
    Right click on the first message and save LUV it will be saved in SMQ3
    then unlock the queue and execute again it will process successfully..
    later you can process the message which is saved
    Regards,
    Naveen

  • Undelete in Mass Additions Queue=Delete

    My business user inadvertently deleted all AP transactions from Mass Additions using Tools==>Delete All. The transactions were in queue 'New' but now are in queue 'delete'. Is there a way to put them in the 'New' queue again. No post process has happened as of yet. The trasactions were sent by AP using Mass Additions process.
    Thanks in Advance!
    mtm

    Hi,
    We could find the work around for deletion of assets which are in POST Status.
    We edited the Description of the Asset and saved it again.This way it allowed to Delete the Mass additions which got stuck with POST status.
    Thanks

  • Queuing - Action Blocks (Queue Get, Queue Put , Queue List, Queue Delete)

    Does any one know how to use Queue Get, Queue Put, Queue List, Queue Delete
    action blocks?
    There is neither any help documentation nor any previous queries in the forum for this.
    Thanks and Regards
    Khaleel Badeghar

    Hi Khaleelurrehman,
    1. Put something in your Queue:
       Name: MyQueue
       ID:      4711
       Example:
       - Make a ForNextLoop and use the Link Editor to fill the Queue with 10 entries.
       - Use a Local XML Variable as Message and a Assignment to set the
         Message text. So your Message will be:
         "a Message with the ID " & For_Next_Loop_0.CurrentItem
       - Put the Message and the ID in your Queue using the Link Editor
         ID: 4700 + For_Next_Loop_0.CurrentItem
    2. Replace something in your Queue:
       Just refere to Queue-Name and Queue-ID to replace a Message with the
       Queue-Put-Action.
    3. Get one entry of your Queue:
       Just refere to Queue-Name and Queue-ID to get the Message out of the Queue
       with the Queue-Get-Action.
    4. Get a List of entries from your Queue:
       - Use the Queue-List-Action which will return a xMII-XML Structure with
         DATE and ID.
       - Use a Repeater to loop over the Output of Queue-List-Action.
       - Use a Queue-Get-Action and assign the ID of the Repeater-Output to get the
         Message for the ID.
    5. Delete one Message in your Queue:
       Use the Queue-Delete-Action to delete a Message with a specific ID from
       your Queue.
    6. Delete the whole Queue (or all Messages)
       Use Queue-List-Action + Repeater to loop + Queue-Delete-Action
    Hope this helps.
    Ciao
    Martin

  • Sysfail locks smq2 queue

    Hi,
    We are live with our PI7.1 system as of 11/6 and are seeing serious issues when a data error causes a sysfail for a SMQ2 queue.  At this point the queue is locked for further processing.  We have monitors setup which page us for this situation.  However, we really need to prevent the queue from locking so other messages are sent even when one item is in sysfail status.
    Notes 813209 and 1118297 do not seem to offer any help is this situation.
    Is there a way to prevent the queue from locking due to sysfail status messages?
    Any help is greatly appreciated.
    Regards,
    Rick Taylor

    Rick,
    Check out this blog..
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1371322850DB11715461650132929943End?blog=/pub/wlg/2728
    "For automatic qRfc failure recovery, schedule the report RSQIWKEX to run periodically. This report enables automatically resets the queues. "
    I remember there is a way to put error messages in different queue so that current queue wont b lock anymore...I'll check and let you know.
    Hope this will help.
    Thanks,
    Nilesh

  • Undelete Mass Additions - Queue 'delete'

    My business user inadvertently deleted all AP transactions from Mass Additions using Tools==>Delete All. The transactions were in queue 'New' but now are in queue 'delete'. Is there a way to put them in the 'New' queue again. No post process has happened as of yet. The trasactions were sent by AP using Mass Additions process.
    Thanks in Advance!
    mtm

    Hi,
    We could find the work around for deletion of assets which are in POST Status.
    We edited the Description of the Asset and saved it again.This way it allowed to Delete the Mass additions which got stuck with POST status.
    Thanks

  • TimeOut Exceeded in SMQ2- queue Block

    Hi all,
       I am having an issue with my production  PI BOX. Not sure if there is any solution for this.
    I have some interfaces in PI which expects huge payload data.Sometime the messages are getting failed in SMQ2 with error message " Time Limit Exceeded ". This is not happening with one particular interface message.Sometime teh queue got blocked for one interface and then the other day with some other interface.
    When i tried to resend the same messages by selecting Execute LUW option, all of them have gone through fine. But we cannot do this manually everyday. I just wants to know where exactly the time out parameter has been maintained for pipeline processing.
    The messages are getting timed out in receiver grouping pipeline step.
    I have gone through the =  Michal Blog : 3802 about the time out. But nothing helpful on that.
    Could anyone of you help me out here?

    Hi
      We are using JDBC communication channels for all these interfaces. But messages are failing in SXMB_MONI .ideally it means that messages are still in Integration engine. right?
    It doesn't send teh message to adapter engine
    If we increase timeout level  at adapter level, does it really help? If yes how come? Could you please explian?
    Thanks
    Rajesh

  • SMQ2 queue stops

    Hi,
    I have an integration process that sends a synchronous message (soap adapter) to a receiver system.  After that  the receiver system needs about 5 to 10 minutes to respond to the request. Sometimes this is no problem and the queue of outgoing messages resides in status running.
    However most time the queue stops after some minutes and the only way to go on with processing is to manually unlock the queue in SMQ2.
    Why does this happens? Is there a possibility to restart the queue automatically? Is there a timeout period in queue processing that can be inceased?
    Thank you in advance,
    Daniel

    Dear Daniel,
    In synchronous scenarios running over PI, several communication components are involved where each may lead to a time-out. Such a time-out on one communication component causes the messaging scenario to fail as a whole.
    Various components which may contribut for your queue to fail are:
    Messaging System specific time out, SOAP sender channel time out, and your receiver Adapter time out property.
    There are some pre defined values for them already set in our PI system and these needs to be changed to accomodate the failure case also.
    To give you a lead, In NWA, Go to->Operation Management->Systems-> Start & Stop -> Java Services -> (Under Related Tasks) Java System Properties. Select your adapter type and under properties change the default time.
    For Sender SOAP channel, add u2018Parameter Nameu2019 as: XI.Timeout and in u2018Parameter Valueu2019, give any value in milliseconds.
    Warm Regards,
    Anshul

  • SMQ2 Queues Stuck

    Hello All,
    I have a problem of one of the queues in CRM 5.0 is struck with SYSFAIL error. The queue name is R3AD_MATERIAFAYB401007. When I double click the queue entry I get the error on FM  BAPI_CRM_SAVE with the remote user of R/3. The statustext is is 'Error in Mapping (Details: transaction SMW01)'.
    Does any one knows how to set this queue right ?
    Regards
    Rashit

    Rashit,
    You probably are missing product categories in CRM.
    Follow this process,
    1. Run initial load transaction R3AS for object 'DNL_CUST_PROD1'. Make sure source is 'OLTP' and destination is 'CRM'
    2. Monitor the request load using transaction R3AM1 and make sure it completes
    3. Go to SMQ2 and double click on the Queue in SYSFAIL status. Select the Queue and click on 'Edit' and click on 'Reset Status'.
    4. The Queue should start Running and material should be updated in CRM
    <b>Please award points if it helps.</b>
    Regards
    Haseeb

  • SMQ2 queue

    Hi Experts ,
    We are getting so many queue failure related to complaint , I want to know if there is any report or function module which can give me complaint ID for which the queue failing and the LUW data.
    Thansk & Regards,
    Akhilesh Bhagat.

    Hi Akhilesh,
    the queue name created by the SAP CRM middleware in SMQ2 depends on the configuration of the CRM middleware itself. Therefore, there is no function module available that can provide a complaint ID based on the the queue name. However, usually the queue name consist of some prefix an the ID of the business partner or the ID of the one order object. As an example consider the following queue name:
    CSA_ORDER_0000292963
    It consists of the prefix "CSA_ORDER_" and in this case the ID of an activity (292963).
    If you can't identify the complaint using this approach the easiest way is to debug the failing LUW to find the ID. As you've mentioned that you get a lot of errors in SMQ2 it seems that there is a general error. So I'd suggest to try to identify this error by debugging a few queue. Once you solved the underlying error you can simply restart the queues without the need to analyse every single one of them.
    Best,
    Christian

  • SMQ2 Queue blockedu0085

    Hi All,
    I am having problem with my Queues in XI. For example 10 messages are passing thru my XI system. In the 2nd one gets fails. Remaining 8 messages will be in Queue. We can see in SMQ2 transaction and manually we have to clear the queue in this transaction.
    Is it possible to pass the remaining 8 messages without clearing the queue in SMQ2?
    Thanks,
    Jane.

    hi jane,
    we can repush the rest of the messages.
    go to SMQ2->click on the error queue->click on the message that is causing the error->right click on the message-> click on "SAVE LUW".
    now the message is saved and removed from the queue.
    now go to SMQ3 there you will find your saved message.
    now select the saved message ,right click on that and select "RESTORE LUW".
    so the saved message will be put in a seperate queue for processing.
    this should resolve your issue.
    u need to repeat the process for any message ending with "SYSTEM FAILED".
    remeber to restore saved failed message in SMQ3 if it has anty dependency on the successive messages like "INSERT" message then "UPDATE" message
    Thanks & Regards,
    Rama Krishna

  • SMQ2 - Queue blocked EVENT??

    Hi there,
    I am working on an SAP XI system and was wondering if anyone knows of a way to catch some sort of EVENT when a queue in SMQ2 gets "blocked"? I have looked for a Business Object but now luck......I know I can possible schedule a background job to "poll" the ARFCASTATE table I think? I think the table is something like that.....
    I have also tried to find a user exit / BADI / enhancement spot that I may be able to trigger my own event from.....but no luck yet.....
    Any ideas on how this could be done? I want to trigger a workflow when a queue gets blocked......
    Thanks for the help
    Lynton

    You can write your program using this FM QRFC_LOG_CHECK which will check the queue log. Trigger the event using FM SAP_WAPI_CREATE_EVENT or if you want to just to notify someone, the simple Use FM SO_NEW_DOCUMENT_SEND_API1,if there a specific queue log found. Schedule this report on a periodic basis.

Maybe you are looking for