cancel
Showing results for 
Search instead for 
Did you mean: 

Document on the queues

Former Member
0 Kudos

Hi

we have recently installed the SAP 7.0.. just been wondering like if any one document on how to set up the queues and what are main points we need to be considered while configuring the queues..

SV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1) clear the queues in SMQ2,first try to activate them,if that doesn't work them delete them

2)You may need to re-register your queues.

Follow SXMB_ADM -> Manage Queues -> Deregister Queues

Afterwards, re-register the queues and activate from the same screen

3)Only use SMQ1 (outbound queues) and SMQ2 (inbound queues) if re-registering doesn't fix it. You will need to give the queues sometime to get activated so be patient.

4)From SXMB_MONI go to Queue ID of the message, a click here shall take you to qRFC monitor.

if the messages are stuck, you should see an entry indicating number of messages stuck in the queue.

a double click on the entry shall take you to detailed list.

if the messages are stuck because of any error (other than queue not registered etc for e.g. a message failure) then the first message shall show you that.

if indeed you find a message stuck in the queue then the way is to delete the stuck message (DONT DO THIS IN PRODUCTION SERVER without being sure of what does this mean for that particular process !!) and unlock the queue from previous screen.

5)Go to smq2 and execute F8. Then it should come as Nothing was Selected.

If any queues are present then open a queue.if the status is SYS ERROR check the entries,right click on the status text and give save LUW.This brings queue to READY. .

GoTo-> Qin Scheduler: check for the scheduler status to be inactive->Edit-> Activate Scheduler: status frm inactive to starting to wait.Now the queue will be RUNNING.U can see the entries in the queue moving.

Now go to SMQ3, right click on the queue and give Restore LUW.

6)this basically means tht message is waiting in the queue.

in sxmb_moni go to queue Id column and double click on the entry .It will take u to SMQ2.Check the status of the queue

If its SYSFAIL or STOP then double click on it and try to correct the error.After correcting the error send the message again.Also check whether the Queeu is Registred in transaction SMQR.

7)Select your queue form the sxmb_moni, you will reacht he QRFC monitor.

Here you will see some lock figures on the , Select on the 'Unlock Queues'. Activate your queues once again.

This is if your data is correct and queue is stuck. You should only delete the queue if it has errored out due to incorrect data and you need to urgenetly process the rest of the data in the queue.

If you drill down one step more than selct the error message and on the menu select edit-->Save LUW.

Answers (0)