cancel
Showing results for 
Search instead for 
Did you mean: 

How to Unlock Queues automaticallly

Former Member
0 Kudos

Hi,

We have a peculiar problem in SMQ2 (inbound queue) of R/3 system, which is having inbound XML proxy messsages.

The queues are getting locked without messages failing in 'SYSFAIL' or any other errors.

Hence client transaction via inbound proxy happens only when we manually unlock the queue and reprocess the messages.

I have tried using/testing the function module 'SXMS_UNLOCK_QUEUEID' in a standalone mode after locking a queue myself to see whether it unlocks the queue.

But strangely it does not. I dont know why.

Kindly let me know whether we can automatically UNLOCK the queue with a program scheduled periodically or by a configuration setting.

Thanks,

John

Accepted Solutions (0)

Answers (4)

Answers (4)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Locking this thread as it is a duplicate -

Regards

XI/PI Moderator

drosadeoliveira
Explorer
0 Kudos

Did you try to Register and Activate the queues using the transaction SXMS_QREG? You need to do this in your R/3 system too.

Regards,

Daniel Rosa.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

You can use the APIs such as lock, unlock, activate, or ask for queue state.

take a look to this

http://help.sap.com/saphelp_nw04/helpdata/en/3b/befa40badbf46fe10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/19/bffa40badbf46fe10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/ad/7b623c6374a865e10000000a11402f/frameset.htm

also, desregister and register the queues again in sxmb_adm-->Manage Queues.

Edited by: Rodrigo Alejandro Pertierra on Oct 1, 2010 11:58 PM

Former Member
0 Kudos

Hi , John.

/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

Regards,

Carme.

Former Member
0 Kudos

Hi,

Tthe link does not say anything about UNLOCKING the queues.

I do not want to restart the queue entry, I just need to unlock them.

Thanks,

John

former_member209575
Contributor
0 Kudos

Hi,

You can set below paramter in sxmb_adm as 0 along with the report given in above blog.

if any queue is in error, the above report will make the status again in READY status

Parameter QRFC_RESTART_ALLOWED

The parameter defines whether it is permitted to restart processing of a failed message in the qRFC monitor (transaction SMQR). If it is not permitted, an error occurs in the runtime.

0 - Restart of a message in qRFC monitor not permitted

1 - Restart of a message in qRFC monitor permitted

Regards

Pradeep PN

Edited by: Pradeep P N on Oct 1, 2010 3:41 PM

Former Member
0 Kudos

Hi,

RSQIWKEX & RSQOWKEX is for restarting the queues entries when messages fail.

But my question is different. I need to know how to 'UNLOCK' the queues.

Queue entries are getting locked withhout an error. This is the problem I face.

(RSQIWKEX & RSQOWKEX is already scheduled in our XI system)

Any help is apppreciated.

Thanks,

John