cancel
Showing results for 
Search instead for 
Did you mean: 

Reactivating queues in /sapapo/cq or smq1/smq2

Former Member
0 Kudos

Dear SAP specialists !

Sometimes the queues by some reason get different error statuses and stop, so I always should manually reactivate them in such transactions as /sapapo/cq , /sapapo/smq1 , /sapapo/smq2

Please, could you share, how I can schedulle an automatic reactivation of queues coming from another synchronized system (currently in my case there is a connection between R/3 and APO system).

Thank you in advance,

Best regards,

Kirill Nepomnyashchiy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ladies and gentlemen,

I thought it would be interesting for you.

I discovered the functional modules/programs for reactivating, deleting etc. (even depending on different queue statuses).Please, read this and you won't have issues with the queues:

http://help.sap.com/saphelp_scm50/helpdata/en/21/5c5f3ca0dd9770e10000000a114084/frameset.htm

Best regards,

Kirill Nepomnyashchiy

srinivas_krishnamoorthy
Active Contributor
0 Kudos

These look again to be tRFC related. Which report are you finally intending to use to reactivate the SYSFAIL or other blocked queues ?

I am not sure if report /SAPAPO/RCIFRESTART or RSTRFCI0 will help, but is worth giving a try as well. I did find that manual reactivation uses the following FMs

TRFC_QIN_GET_FIRST_LUW

TRFC_QIN_EXECUTE_CHECK_LUW

QIWK_CHECK_REGISTER

QIWK_GET_ALL

TRFC_QIN_OVERVIEW_STATES

Former Member
0 Kudos

Hi, actually I want queues with all the types of blocking to be reactivated. I tried to use the FMs and programs from the link above and it really works.

Best regards,

Thank you for cooperation,

Kirill Nepomnyashchiy

Former Member
0 Kudos

Hi Kirill.

I checked it. Works OK.

Dmitry

srinivas_krishnamoorthy
Active Contributor
0 Kudos

Try scheduling report RSARFCEX regularly in the background. Atleast the TRFC calls will be executed.

Former Member
0 Kudos

Thank you,

but I need qRFC to be reactivated.

Best regards,

Kirill Nepomnyashchiy