cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Report to restart queues automatically

former_member191528
Participant
0 Kudos

Hello,

We are facing the issue of needing to restart the smq1,smq2 and trfc queues to restart messages failed in PI. We really appreciate if anyone could provide us with an ABAP program which restarts these failed messages automatically. We wanted to know if anyone has implemented a solution to deal with this issue.

Thanks.

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

SudhirT
Active Contributor
0 Kudos

Hi Kiran,

Have you tried with these reports:

· RSARFCSE: Restart an LUW (background job)

· RSARFCEX: Restart tRFC LUWs (background job)

· RSQOWKEX: Restart QOUT qRFC LUWs

· RSQIWKEX: Restart QIN qRFC LUWs

Thanks!

former_member191528
Participant
0 Kudos

Thank you for your reply. I wanted to know if there is a single program where we can schedule all these reports so that it will check at regular intervals if any of the queues are blocked and if so restart them. Also are there any programs written to execute the same.

Thanks.

Kiran

SudhirT
Active Contributor
0 Kudos

Hi kiran,

you can schedule these background jobs in SM36 but these will be executed in the defined time interval.before that if the queue is locked than it will hv to wait for the scheduled execution of time so better to set the job interval frequently.

thanks

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Kiran,

As per as my knowledge, When ever queues are struck in SMQ1& SMQ2 , first we need to check the error, the error its shows the queues (or) any particular message is failed in queue, the remaining messages(processing after error message queue) are also in struck in queue.

In this time first u need to check the error and depends upon the priority of the message is important we will wait for some time (or) prirority is low first u delete the particular error queue and processing the remaining messages.

for this particular error queue we can process again in SXI_MONITOR,in SXI_monitor we check the particular error queue and select the 'Restart' option, again the message is processing.

Regards,

Sateesh n

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

RSXMB_RESTART_MESSAGES is the report to resend the error messages automatically.

Register your queue againto solve your stuck queue problem again and again.

Go to SXMB_ADM -> Manage Queues -> Register Queues

Run the report RSXMB_REGISTER_QUEUES and register the queues

Run the report RSXMB_RESTART_MESSAGES for restarting ur messages

Former Member
0 Kudos

Hi,

All the reports you need, are on this link: http://help.sap.com/saphelp_nw04s/helpdata/en/25/bcfa40badbf46fe10000000a1550b0/frameset.htm

Regards,

Pavel Sheynkman.