Skip to Content

Message strucked in Queues

Hi Experts,

An Important Bank transaction message is strucked in a Queue and it is not able to restart and can't delete it.How can I process it.Any Help would be appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 22, 2012 at 11:07 AM

    Hi Shaik,

    Please check the status of the queue, it may be stopped.

    The XML messages stuck up in the queue are freed by unlocking queues. Please find the step by step procedure to check the message which is stucked in a queue and unlock it.

    Step 1: Run t-code: SXMB_MONI 

    Run t-code ‘SXMB_MONI’ in the R/3 system, which sends data to PI to get the following screen.


    Step 2: After executing the above screen as shown above, we arrive at the

    Monitoring screen for XML messages to be sent to PI. The message with ‘Green’ colored flag shows the messages are in the queue and are thus scheduled for further processing. Also you can ‘Refresh’ or ‘Restart’ messages as shown in Red Color. 


    Step 3: If we scroll to the right for a row, then we find the Queue ID as shown below. 


    Step 4: Click on the Queue ID to take you to following screen.


    Step 5: Again drill down to Queue Name – XBTS0005 to take you to following screen .Our main objective is to unlock the queue for the XML messages.


    Here, click on the Unlock Button (RED Square) in the above picture to free the XML message stuck up in the queue. 

    Step 6: Now you can see the change in the status of the XML messages again in the SXMB_MONI.


    It’s changed to Checkered Flag. 

    Please Check the queues using transactions SMQ1 (outbound)/SMQ2 (inbound). Resolve the displayed errors. You can cancel the messages from SXMB_MONI. Execute LUW if necessary and avoid deleting entries manually.

    Best Regards,


    Capture.JPG (37.1 kB)
    C2.JPG (39.9 kB)
    c3.JPG (46.9 kB)
    c4.JPG (32.7 kB)
    c5.JPG (24.2 kB)
    c6.JPG (46.6 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Sep 06, 2012 at 07:36 AM


    >>>it is not able to restart

    why ?

    do you see any error ? have you tried debugging it from the queue to see what's wrong ?


    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member shaik valli

      Hi ,

      Just double click on the message in Queue and it will direct you to Error message in SXMB_MONI.

      There you check the error details and try to debug and then resend the message.



  • Sep 06, 2012 at 07:59 AM

    Hi Shaik,

    If you open the message in side the queue you can see for what reason queue has been stuck.

    go to SXMB_ADM then try to activate the queue whether it is allowing or not.



    Add comment
    10|10000 characters needed characters exceeded