Skip to Content

ABAP Report to restart queues automatically

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Dec 07, 2008 at 06:37 AM

    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!

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Dec 07, 2008 at 06:18 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 08, 2008 at 03:26 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 08, 2008 at 04:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded