Inbound Stuck Queue in the SMQ2

Hi,
One of the Q got stuck in the Inbound of the CRM system.
It is showing the system status as "Running".IT has been in this staus for the past 2 days.
When I try to activate it is giving Message"The queue is registered and therefore cannot be activated"
The Q is giving Dump Error "Exception condition DELETE_ERROR raised
When I chekced the Bdoc SMW01 the BDOC is in "Yellow Status".
How can i process this queue.

Implement SAP note 758677 for this. This exactly deals with your issue.
This Basically speaks about scheduling 'RSQIWKEX' for inbound and 'RSQOWKEX' for outbound queues.
Also, you need to set the parameter 'QRFC_Restart_ALLOWED' to '1' in the transaction 'SXMB_ADM' -> Integration engine. Its in the runtime dropdown menu.
Note : without this parameter being set this will not work.
Thanks,
Karthik
Edited by: Karthik Rangaraju on Oct 1, 2008 2:13 PM

Similar Messages

  • Inbound stuck queues

    Hi guys,
    There are a few inbound stuck queues in the CRM system with the error SYSFAIL.
    When we checked in smw01 the error is"The transaction getting locked by the user"
    When we manually activate the queues the queue gets processed out.
    But we need to manaully go in every day to reprocess these queues .any idea of automatically reprocessing these stuck queueus.
    Thanks,
    Krishna

    Hi Krishna,
    You can reprocess those queues automatically, but again I would suggest the administrator should manually go and reprocess it as SAP standard don't recomment the autoprocess of the Queues/ BDocs, because this may lead to inconsistency.Again in the end decision is ours but SAP would never take responsibility if anything goes wrong as of SAP standard practice is not followed.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How to check the messages stuck up in the queues.

    hi experts,
    i have implemented the message queues in the EOIO form. if any message is stuck up in the inbound or the outbound queue. where would i will be able to check it.
    i have the answers of checking it up in SXMB_MONI and runtime workbench.
    is there any other way where i can get info about where the message has stuck up
    regards,
    Alpa.

    Hi,
    you could use transactions SMQ1 and SMQ2.
    For more information:
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    Regards
    Patrick
    Edited by: Patrick Koehnen on Oct 22, 2008 2:51 PM

  • Queues stuck in SMQ1 and SMQ2

    Hi,
    In CRM Middleware, I am trying to do some Master Data upload of Sales Orders from CRM to R/3 but a queue  MCEX11 gets stuck on the R/3 side with 1 entry and status NOSEND
    Can you please tellme how to get rid of this? Also how can i avoid distribution locks on a document.
    On the CRM side also certain queues were stuck in the outbound SMQ1 with status NOSEND. How to process these  queues manually?
    I checked note 431345 and other related notes also. Would appreciate if someone can help me on this.
    Thanks.
    Rgds
    Priyanka

    Hi Priyanka,
    To clear the no send status entry, go to R3AS, select the object say for BP (Bupa_main) press enter and then execute, then open R3AM1 enter object name as Bupa_main and select Running and done and execute.
    Now you can open SMQ2 and click on each entry with nosend status and then click on activate queue in the top toolbar, this shld change the status to running and then click on refresh.
    The following is the list of Queue extensions that are used in CRM, all the queues start with these extensions:
    <b>Outbound queues</b>
    CDB*     Start queues for loads CRM -> CDB
    CRM_SITE*     Load queues for Mobile Clients
    CSA*     Send queues of CRM Server Applications
    EXT*     Start queues for loads CRM -> Ext.
    R3AI/R*     Start queues for loads from ERP Backend system
    R3AU*     Load queues CRM -> ERP Backend system
    <b>Inbound queues</b>
    CRI*     Initial load queues CRM -> CDB
    CRM_SITE*      Load queues from Mobile Clients
    R3A*     Load queues ERP Backend  -> CRM
    CSA*     Send inbound queues of CRM Server Applications
    Hope this answers ur query.
    Regards,
    Amit
    Message was edited by:
            Amit Singh

  • Queue Status in SMQ2 = RUNNING, but Stuck.

    I have a queue that sometimes gets stuck in SMQ2 in status RUNNING (for no apparent reason).
    If I activating the queue manually (as suggested in
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm)
    usually solves the problem.
    Therefore, this queue processes messages 24x7 and cannot get stuck for more than 5 minutes.
    Question n1)Is there a way I can do this automatically (scheduling a JOB) (itu2019s a specific queue, that is only used for this single process)?
    Question n2) Sometimes, after activating the queue again, the message continues in status RUNNING, and the only solution is to delete the message and activating the queue manually (when I do this, after processing every message in the queue, when new messages begin to arrive, the queue goes to status READY for a LONG time.) Does anyone knows whats going on?
    obs.: The message is ALWAYS processed successfully, and there is no problem to process it 2 times.  The only thing that cannot happen is STOP the process.
    Thank you.
    At.,
    Bernardo Tavares Braga

    1) I already registered all the queue through sxmb_adm - didn't change anything.
    2) This queue is on SAP PI/XI, but the message goes to SAP ECC.
    Since the process is executed, what I think happens is that the message updates SAP ECC, but somehow it doesn't give a return to SAP PI/XI.
    So SAP PI/XI thinks its still executing.
    Pinangshuk, the MONITOR QRFC_RESTART_ALLOWED is set to value 1(in the Integration Engine configuration - sxmb_admin)
    Also, this enables the restart of stuck queues manually. Is there a way to do this automatically?

  • Help with status of inbound/outbound queues

    Hello SDN XI experts!
    I hope one of you can offer some assistance with an XI issue we have, as we currently have no XI resource on site and we're stuck in dire straits!
    We have had some problems with our inbound and outbound queues in XI, and a search of the net and SDN hasn't helped yet. Basically, if I go in to transaction SMQ1 or SMQ2, I can see that there are files (or do you call them messages?) are building up in our queues with the status READY. To process these files through XI, I am going in to transaction SMQ1 and SMQ2 periodically, and activating the queue. This sets the status to RUNNING, and the files/messages are processed successfully.
    What I'm after is how do I either:
    a) set the queues so that they are always in status RUNNING;
    b) schedule a job to activate the queues periodically; or
    c) is there some other thing I am missing?
    Sorry if this is a bit vague, but I have no experience of XI at all. If I haven't provided enough info, please ask some questions. Anything you can do to help would be great as I'm manually doing this ten times a day and it's getting tiresome!

    Thanks for all your help guys, it's much appreciated as I have ZERO experience with XI...
    I have uploaded a screenshot of SMQR to the web, apologies for the quality, but I only have MS Paint on this desktop:
    http://img405.imageshack.us/img405/7202/smqrws8.jpg
    Luckily, some files have started to queue up again, so I could take some more screen shots! Here is the view of SMQ2:
    http://img166.imageshack.us/img166/7086/smq2mv6.jpg
    And then when I double click a queue, you see this screen with the queue in the status READY:
    http://img248.imageshack.us/img248/3935/smq22ed6.jpg
    Until I go in to SMQ2, double click the queue, highlight it and press activate, the files/messages will just stay in XI. After I press the Activate button on the application toolbar in the third image, the files are processed successfully. i.e. If you go in to SXMB_MONI they have a little chequered flag next to them.
    Thanks for all your time guys, points will be awarded if you can help me out!

  • Queue Probelm in SMQ2

    Folks,
    I have deleted the queues as I was not able to restart, Now the inbound side of XI is not receiving anything, Please tell me what is the issue .
    Manish

    Hi manish,
    If there is no entry in the SMQ2, then it is good, so that message will be processing. ANd there is no message is in Queue.
    But in your case, there may be some other problem.
    Can you check this SAP link-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/df5f3c8dde1c67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/96/8412417301ee6fe10000000a1550b0/frameset.htm
    /people/prasadbabu.nemalikanti3/blog/2006/02/13/configuration-of-a-central-integration-server
    Hope this may give some hints.
    Regards,
    Moorthy

  • My queue not in SMQ2

    HI,
    I am creating one new queue with this weblog
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    I created new table entry in  IDXQUEUE table. But in SMQ2 my that queue is not displaying.why?
    regards,
    Ansar.

    hi,
    did you post any IDOCs via it?
    you can find config info for this IDXQUEUE  in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Which among the two outbound queues has the highest priority?

    Hi guys, pardon me for the following questinos, im just a newbie in XI/PI.
    1. Which among the two outbound queues has the highest priority, XBTA or XBTM?
    2. Can someone elaborate more the difference between the Large outbound queue (XBTM) against the normal (XBTO) and the low (XBTZ) priority queues.
    3. If i have alloted an outbound queue for large messages (XBTM), will the messages going out of this queue affect the other queues (high, normal and low)?
    4. If messages do get stuck in either the inbound (XBTL) or the outbound (XBTM) queue, will this affect the other queues as well?
    Thanks.

    Hi Guys,
    Can anyone help me to solve this issue.
    Regards
    Srinivas.

  • ** How to stop a particular queue completely in SMQ2 tcodes

    Hi,
    I have nearly 6000 messages in  various queues in SMQ2 tcode (Inbound queues). For example,
    XBTO1_0001    1875
    XBTO1_0002    2335
    XBTO1_0002    1770
    Messages are processed slowly. When we tried to stop a queue, only one message is stopped in the queue. Instead we want to stop complete 1 queue. Then, we feel that remaining queues will work fase. So, how to do this ...?
    Kind Regards,
    Jeg P.

    Hi,
    1) Why the queue XBTZ is not displayed in SMQR tcode ? (But, it is* displayed in SMQ2)
    --->are you sure that the queue XBTZ* is active. Because in SMQr you could see the queues which are active and are already registered.
    Re register the queues and make it active.
    Try to make the ragistration of queue "XBTZ*" in SMQR.
    Press directly Registration tab and rgister the queue then deactivate it.
    http://help.sap.com/saphelp_nw04/helpdata/en/59/d9fa40ee14f26fe10000000a1550b0/frameset.htm
    Go to SMQR and check the Scheduler Status i.e first line of the Screen. If it is Wait or any other status, then make sure that all Queues are registered.
    Also.
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    2) If we 'Deregister' the queue, any effect will come for the new messages ?
    If we Deregister the queue then the queue is no longer processed.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/595f3ca0dd9770e10000000a114084/frameset.htm
    thanks
    Swarup

  • Error"XI Error CLIENT_RECEIVE_FAILED.INTERNAL: Queue sto" in SMQ2

    Hi,
    When i am trying to test my JDBC to ABAP Server proxy i am getting the error(XI Error CLIENT_RECEIVE_FAILED.INTERNAL: Queue sto) in SMQ2 please advice me what could be the problem?
    Regards,
    Bhoj

    Hello better you apply LUW on each and every message in SMQ, queues. Else activate and inactivate the messages in the queue by sxmb_adm -> managequeues -> deregisterqueues -> registerqueues -> activate queue.
    And also do if any messages are failed follow the blog to resend the failed messages,
    XI :  How to Re-Process failed XI Messages Automatically

  • Inbound Idocs: Queue Processing (non-stop queue?)

    Hi everyone!
    I have an issue with a File to Idoc interface. The customer would want the IDocs arriving to R3 to be in the same order they were sent from the legacy. From the File Adapter there isn't any problem using the EOIO QoS, and in the IDoc Receiver Adapter I checked the "Queue Processing".
    There is something in the R3 side that the customer doesn't like much and it's about the stop of queue when an IDoc gets in error status: all the subsequent IDocs stay in status 75 ("IDoc received via qRFC").
    I can change the status of the wrong IDoc and then release the stopped queue but: Is there a way to process serialized inbound IDocs avoiding the stop of the queue if an error occurs?
    I'm using PI 7.0 SP30.
    Thank you in advance!

    First, this is not serialization, it's the queuing design EOIO... they are not the same.
    So, since you activated EOIO in the Sender CC it's normal to have such behave (i.e. 75 status)...
    Basically the serialization is not a good fit for these requirements.
    Here is one solution:
    1- Use dynamic queue name (via UDF) to create more parallelism since I dont think you have to queue all the IDOCs in one single queue.
    2- Copy the IDOCs with 75 status to a new IDOCS with 64 (You must have very few)
    3- Use RC1_IDOC_SET_STATUS to change the status of the IDOCS from 75 to something 73
    4- There is  standard report that you have to schedule and restart the queues
    5- Reprocess the IDOCs from steps 2
    The enemy of EOIO design is the user locks in the target system...
    Cheers,
    Fouad

  • Smq1 stuck queue

    Hello,
    we are running sap R3 enterprise which is connected to a crm 5.0 system.every day there are stuck queues in smq1 on status stop.
    the stuck objects are - MASS_CRM_, R3AD_.
    untill they are released manually, other objects and data which suppose
    to be downloaded to the crm system , are stuck
    pressing on the stop error gives the following message - Set by Host
    name: saptst1; Transaction: ; Report:SAPMSSY1
    it appears to be that the queue is stuck when there is massive data
    download/transfer from the R3 to the CRM system
    in our development system we didn't encounter such a problem - the main
    difference is that in the development systems (R3 to CRM) only delta
    load is transfered - not massive data like in the test systems
    please advise
    Regards,
    Moshe

    This happend because , you might be having a request download which is running . Generally when request load happens , all the delata queus will be stopped in SMQ1 of R/3. This is standard procedure. So Pls check if there is any rquest load is happening at that time. One it is down the system will automatically delte the stop and the delta will continue.
    Note: When do a request dowloand and if it stopped by some reason manually, than we need to unlock/delete the stop in SMQ1(R/3) Manually.

  • 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

  • Cursor for update get stuck while running the program

    Dear
    i am using below mention program but work and get stuck. please any idea how can reslove this.
    declare
    l_segment1 VARCHAR (100);
    CURSOR req_number_cur
    IS
    SELECT TO_CHAR (current_max_unique_identifier + 1)
    FROM po_unique_identifier_control
    WHERE table_name = 'PO_REQUISITION_HEADERS'
    FOR UPDATE OF current_max_unique_identifier;
    BEGIN
    fnd_client_info.set_org_context (101);
    mo_global.set_policy_context ('S', 101);
    dbms_output.put_line('testing');
    begin
    OPEN req_number_cur;
    FETCH req_number_cur
    INTO l_segment1;
    IF req_number_cur%NOTFOUND
    THEN
    --do something
    NULL;
    --insert statement
    UPDATE po_unique_identifier_control
    SET current_max_unique_identifier = current_max_unique_identifier + 1
    WHERE CURRENT OF req_number_cur;
    END IF;
    CLOSE req_number_cur;
    end;
    END;
    ---thanks
    appreciate you help.

    Do you realise that this is a flawed approach?
    Performance in a multi-user and multi-process database system is about the ability to do things simultaneously.
    Simple analogy. You have a McDonalds. You have a 100 customers wanting to be serviced. What will be better? Having the customer all queuing in a single long queue to be serviced by a single cashier?
    Or 10 cashiers, 10 queues, and the ability to service 10 customers at the same time?
    It should be very obvious that the ability to service 10 customers at the same time is a lot better than only servicing a single customer at a time.
    Likewise, Oracle can service 1000's of different sessions all inserting data.
    Now you want to create a single queue for all insert transactions - and give each one a unique and sequential identifier. This will literally kill performance. It will turn a 32 CPU server into a 1 CPU desktop as all that extra CPU power can never be used as all the sessions need to get into a single queue and be serviced one at a time.
    Also consider the functionality of your approach. Session 1 gets a 5 unique identifiers as it wants to insert 5 rows. Session 2 gets the next 3 sequence numbers. Session 1 aborts and rolls back its transaction (numerous practical reasons exist for why this can and do happen).
    What is the status now in the database table? 5 numbers are now "missing".
    So despite your severely flawed attempt to enforce serialisation and sequential numbering, it will fail. So why then even contemplate turning the Oracle database from being able to service multiple concurrent sessions at the same time, to a slow single-user/single-process database that can only service a single request at a time?
    The CORRECT approach in Oracle is to use a sequence generator (see the CREATE SEQUENCE command in the <i>SQL Reference Guide</i>). Use it. Do not try a flawed approach that WILL fail and that WILL have a very severe performance impact.

Maybe you are looking for

  • My dv4 1225dx problems

    i have a dv4 1225dx and have had many problems. i have a hdd die and so i replaced it. 3 months later, this hdd is dieing. i checked the temps and the hdd runs at 55 c when idle and the cpu is 80c when idle. it constanltly turns off due to heat and t

  • Ironport Filter blocking pdf pages on Ipad

    We have a customer who is using a Cisco Ironport filter. When they attempt to view a pdf webpage (pages created in HTML display fine) using an IPad the page will not display. However, when we assign a static IP that bypasses the filter the pages disp

  • 2007 Macbook Pro 17" problem

    I have a late 2007 Macbook Pro 17", not sure how but my permissions are all screwed up and I am unable to fix them, so basically I can't use the app store to upgrade or get software updates I need.  Permission repair doesn't seem to fix them? Is ther

  • Repeating a script for an advanced action

    I've created and advanced action for a click button. The properties are if the textbox is empty (v_null) to display a failure messge, if not display a correct message. The advanced action is working perfectly but it won't repeat it's self. So for exa

  • Nomad Jukebox Zen Xtra - Rescue Mode v1

    Im looking for any soultion that wont resolve in me loseing all of my musicThis is the only thing that comes up when i start my Mp3________________________Rescue Mode v.3---------------------Boot v.2 HW v0.0.. Clean Up2. Format All3. Reload OS4. Rebo