MEssages Stuck in SMQ2 - Automation of moving error msgs

Hi ,
We face a lot of issues with messages getting stuck in SMQ2 and blocking all other messages.
Right now we Save the LUW and move it to SMQ3
but is there an automated way/ configuration to move the errore messages to a seperate queue.
Thank you.

Hello Arvind,
Check SAP Note 441269.
You can monitor your queues and apply some automatic reaction when appropriate.
Maybe it can be useful.
Regards,
Diego Estanguini Gabriel

Similar Messages

  • Messages stuck in SMQ2

    Dear All,
    I have configured a scenario Mail to PROXY Asynchronous. Process is working fine But every time transaction happen all messages are stuck in R/3 - ECC .
    A  developer needs to release these messages manually using SMQ2. what is the reason for this to happen every time ? Is there an alternative to skip this manual work ? 
    Below are the further details for the configuration done.
    PI Mail Adapter (Sender )
    Quality Of Service (Exactly Once)
    Transport Protocol (POP3)
    Poll Interval (1min)
    XI Adapter (Receiver)
    Transport Protocol - HTTP

    Tharu Fdo,
    Please check also below T-codes in ECC:
    1.ST22-->ABAP Dump Analysis ,ABAP runtime errors(Proxy  Code)
    2.SM66-->(Background job is executed using one or multiple SAP work processes in sequence or in parallel dependent on program function and design and SAP work process is a limited critical system resource for performance like CPU and memory-Have a look at action column and identify any long running Sequential read/Direct read/insertion/updating).
    3.ST12--remove the lock entries.
    Mutti

  • Proxy messages are stucked in SMQ2.Can I pass these msgs in separate queue?

    Hi Guys,
    File >PI>ABAP proxy. (ECC)
    Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are high priority and they should not stuck in the queues in ECC.
    The problem is some of the messages of this interface are getting stucked in queues (SMQ2) by colliding with other low priority messages which are failed due to some data issues.
    Is there any way I can separate these high priority messages into separate custom queue and process them?
    Do I need to this in ECC or PI?
    Thanks
    Deepthi

    Hi,
         As Debashis has already said, use message prioritization in PI to handle your requirement.
    For SAP NetWeaver PI 7.0, navigate to SAP NetWeaver 7.0  SAP NetWeaver 7.0 Library  SAP NetWeaver Library  SAP NetWeaver by Key Capability  Process Integration by Key Capability  SAP NetWeaver Exchange Infrastructure  Runtime  Integration Engine  Prioritized Message Processing.
    For SAP NetWeaver PI 7.1 (including EHP 1), navigate to SAP NetWeaver  SAP NetWeaver PI/Mobile/IdM 7.1  SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1  SAP NetWeaver Process Integration Library  Function-Oriented View  Process Integration  Integration Engine  Prioritized Message Processing.
    For more details about message prioritization within the Advanced Adapter Engine, please refer to SAP Help Portal http://help.sap.com, and navigate to SAP NetWeaver  SAP NetWeaver PI/Mobile/IdM 7.1  SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1  SAP NetWeaver Process Integration Library  Function-Oriented View  Process Integration  Process Integration Monitoring  Component Monitoring  Prioritizing the Processing of Messages.

  • R/3 -- RFC -- XI Message stuck in R/3 SM58 with error "invalid date"

    Hello,
    we have a scenario where we send a message via RFC from R/3 to XI and further on to a file. Everything is setup according to blog 1438 and most of the time it works fine. But sometimes the messages get stuck on R/3 side in SM58 with error "program ID not registered". I can then execute the LUW and it starts working immediately. One strange thing is that the time in SM58 for that message is in the future and there is a comment "invalid date". The R/3 system is a 4.6b and XI is SP16.
    Can someone explain why the time is in the future for this message only and is this probably the reason that it hangs?
    Thanks for your help.
    /Michael

    I should maybe also add that we now schedule a job every 5 min to push on the "hanging" entries in SM58 -  as a workaround so to say.

  • Messages stuck in SMQ2 Inbound Queue.

    Scenario: File->XI->Proxy
    When I put 50 files at the same time in a directory, channel is configured Exactly Once in Order and we have created queue with the name GATQUEUE. The messages are picked up from directory and sent one by one to BPM process. 31 messages out of 50 poccesed succesfully but 19 of them get stuck in the queue always. Though GATQUEUE is released lately but they are stuck in 'XBQO$PE_WS90000013' queue. This is seen in SMQ2 Inbound Queue.
    Could you please tell me how to release this message which are already stuck and what bit of configuration required so that it works for 1000s of files/messages at a time?
    Thanks
    K

    Hi Kiran,
    Just add the below parameter in XI tcode : SXMB_ADM
       Execure Integration Engine and Configuration.
      Click on Specific Configuration, go to change mode
       Click on New entries
      Category : MONITOR
      Parameter :QRFC_RESTART_ALLOWED
      Current Value : 1
      Save.
    Regards,
    Venu.

  • Automatically restart messages stuck in smq2

    Hi,
    I am having a problem that messages are getting stuck in the inbound queue and I need to manually restart it.
    I have searched on this and have found that RSQIWKEX job can be used for this. I have tried testing it but the messages are still stuck in queue. It is having the status as SYSFAIL. Is it not possible to restart messages having this status?
    The error which is there for SYSFAIL is Time Limit exceeded.
    Please help me to restart such messages automatically which I am now doing manually.
    Thanks and regards,
    Siji Anup

    Hi ,
    Pasting below the content of st22
    The program "CL_XMS_PERSIST================CP" has exceeded the maximum
    permitted uninterrrupted
    runtime and has therefore been terminated.
      The system profile contains the maximum runtime of a program.
      When this time limit has been exceeded, the program is terminated
      to make way for other users who may be waiting.
      In the case of a work area, this means that
      - endless loops (DO, WHILE, ...),
      - database accesses producing an excessively large result set,
      - database accesses without a suitable index (full table scan)
      do not block the processing for too long.
      The maximum runtime of a program is limited by the system profile
      parameter "rdisp/max_wprun_time". The current setting is 1800 seconds. After
       this limit has
      been exceeded an attempt is made to interrupt the SQL statement running
      or to tell the ABAP processor to interrupt the current program. A
      maximum of 60 seconds is then waited. If after this time the program is
      still active then the work process is restarted.
    Thanks and regards,
    Siji

  • Reprocessing Messages stuck in AE/IE

    Hi ,
    If a message gets stuck in the Adapter Engine due to an error, say, due to, the target application is down. After the target application is up , when the next message comes in , i want the current message plus the previous message(s) also to be processed. rite now i dont see this happening , a manual restart from RWB is what i do . Now Is there a way to auto restart these messages stuck ?
    Thanks in advance
    Saravana

    Hi Roberto , i ve answered based on my understanding , hope it helps
    > 1) When this kind of situation occurs; are  the
    > messages automatically stored/queued on XI?
    > 1a) Does this apply for both asynch/synchr
    > communication?
      If its EO/EOIO , they are definitely stored. For Synch scenarios , my understanding is that your source application will timeout without getting a response from middleware, now you chk this, if timedout, then send the request again
    >
    > 2) Is this an automatically procedure built-in on XI,
    > or do you need to configure it somewhere in the
    > integration engine?
      The QOS(Quality of Service) you choose will determine the behaviour in XI.
    > 3) When the receiver system is again available, are
    > the queued messages then automatically sent to the
    > receiver system or do you nedd to start this process
    > manually?
       No , you need to schedule RSXMB_RESTART_MESSAGES , refer note 813029 . For messages stuck in Adapter Engine, select the errored out messages in MDT , reprocess them(this was a suggestion for a note we raised to SAP)
    cheers
    Saravana

  • Messages Stuck in ECC SMQ2

    Hello Experts,
    I have a scenario like File system to PI to SAP ECC 6.0 in Asynchronous mode.
    Messages are successfully processed in PI.
    Issue:-
    In Server Proxy Method, I have used the ABAP Information message statement (Message with TYPE I). When this statement is being executed at runtime, that particuler inbound message is getting stucked in SMQ2 with status as SYSFAIL.
    Each Such Failure entry in SMQ2 having the Error Text same as Message Text of the ABAP Statement.
    For Example: 'No Data Found from Table1'.
    Due to this, messages from the other interfaces also get stucked.
    please suggest me for handling the INformaiton messages in ABAP coding and also for Automatically restarting the queues.
    Thanks & Regards
    Jagesh

    Hi,
    Thanks.
    What abt the Infomraiton messages already in use, can't we use them in Server Proxy method?
    Regards
    Jagesh

  • Proxy messages are stucked in SMQ2 as scheduled status

    Hi,
    I am doing File(FCC) >PI 7.0>ABAP proxy. (ECC) Scenario.
    Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are getting stucked in queues (SMQ2)  in ECC. My message is not having much data , it is very less in size.
    And there is no messages in Queue.
    I register all queues in SMQR in PI and ECC.
    Does I need to do any activity in ECC or PI? What could be a problem. Please suggest .
    Thanks
    Ayub

    Hi Venkata,
    Thanks for very quick replay.
    Are the messages stuck with any error?--> First I can see the Green Color Flag as scheduled status, I open the message I can see there is no error message.Bt when I have look at end of the message in SXMB_MONI at Q.Status , I can see Message Has error
    In SMQ2 -->
    Cl. Queue Name               Entries    Status   Date 1     Time 1   NxtDate           NxtTim                  Sender ID                        Wait for queue
    200 XBTR0009                         1  SYSFAIL  24.02.2012 10:53:34 24.02.2012 10:53:34      R3DEVQA_RDV_01
    And when I double click the XBTR009 I can see the below message :
    Cl.       User                  Function Module                 Queue Name                Date        Time                       StatusText
    200  ALEREMOTE    SXMS_ASYNC_EXEC                 XBTR0009                  24.02.2012  10:53:34  Screen output without connection to user.
    This are status of the messages. Please help me.
    Regards,
    Ahmed

  • Messages getting stuck in SMQ2

    Messages get stuck in SMQ2 with the Error msg "SQL error on database occurred when accessing a table".
    This is happening on PI system 7.11 SP04 with Max DB version 7.7.06.07.
    This typically happens when sending messages from one BPM to another although it has more of a random pattern.
    A corresponding dump is also seen in ST22.
    The dump details are as below:
    Runtime error : DBIF_RSQL_SQL_ERROR
    Exception : CX_SY_OPEN_SQL_DB
    Database error text : Invalid numeric value for parameter/column (10)
    Internal call code : "[RSQL/UPDT/SWFRXIHDR ]"
    Any help is highly appreciated in resolving this issue.
    Regards,
    Murali Narayanan

    > The dump details are as below:
    > Runtime error : DBIF_RSQL_SQL_ERROR
    > Exception : CX_SY_OPEN_SQL_DB
    > Database error text : Invalid numeric value for parameter/column (10)
    I would update the kernel (plus the database interface library lib_dbsl) to the latest patchlevels and try again. If the error persists I'd upgrade the database to the latest patchlevel. If it still doesn't work I'd open an OSS call (BC-DB-SDB).
    Markus

  • Message Stuck in Queues SMQ2

    Hi All.
        We are having a production issue where now and then, we have message accumulation which is visible in SMQ2. Messages accumulates upto 10000 in the queues. Most of the times the queues are outbound queues XBTO* and the status of the message is in "Scheduled for outbound processing".
        There are no regular patterns in them, in terms of, when it occurs.
       Any clue could be of great help.
    Thanks
    Vedavyas

    Hi,
    Regarding your error you just follw the below points:
    if you face Blocked Queues (SYSFAIL), Incoming Messages are blocked then follow the steps
    1.)     Go to SMQ2 (qRFC monitor) and execute
    2.)     If there is a queue not moving, double click on queues ‘til you see the status. SYSFAIL due to error – move to the right to see the error text
    If error is due to cache not refreshed:
    1.)     Go to transaction SXI_CACHE and check if CACHE is not up to date In this case, CACHE contents are up-to-date.
    2.)     If CACHE is not up to date, click Refresh   before refreshing the cache just in case someone else already did it. If still not up to date, click “Start Delta Cache Refresh” in “XI Runtime Cache”.
    If CACHE is already up to date as seen above, proceed to next steps.
    3.)     Then, go back to SMQ2. Unlock the queue that is in SYSFAIL. To do this:
    a.)     Choose the queue that is in SYSFAIL.
    b.)     Click unlock icon
    4.)     Then, double click in the queue name ‘til you go to the user.
    5.)     Double click on the user to go to the message in error
    6.)     Select the one in error
    7.)     Click restart   and refresh   to see if the message will be processed successful.
    If error text is due to JCo failure (Java connector)
    -     When J2EE is already up, do the following:
    1.)     Just go inside the queue in error ‘til you go to the user.
    2.)     Double click on the user to go to the message in error.
    3.)     Click/Choose the message in error (just going to the right for the error message, it is JCo failure related)
    4.)     Restart   the message (retaining the trace level)
    6.)     Check for the status of the XML if it is now processed.
    7.)     Then, click F3 or back   ‘til you go back to the queue in SYSFAIL.
    8.)     Then, reset status of the LUW of the queue in SYSFAIL.
    After that, it could be seen that queues are now in RUNNING status.
    If helpful reward points pls
    Thanks & Regards,
    Venkata Nagesh B

  • Emails not sending, "stuck" in the outbox and no error message

    I have been trying to send emails for a few days now and they will not send. They go to the outbox file and then the don't leave. There is no error message and my POP account, .mac account, and the smtp.mac.com are all working correctly. I can still receive mail. The emails don't get sent to the draft file.

    What does “my POP account, .mac account, and the smtp.mac.com are all working correctly” mean? Which account has the problem? Those accounts are clearly not working correctly if you have this problem...
    What does “The emails don't get sent to the draft file” mean? Which messages would you expect to be moved to Drafts and as a result of doing what?
    I assume that the account is "online", i.e. Mailbox > Go Online appears disabled (grayed out), right? If that's the case, try this:
    1. In Mail, move any messages waiting in Outbox to another mailbox (e.g. Drafts), to avoid losing them.
    2. Quit Mail.
    3. In the Finder, go to ~/Library/Mail/Mailboxes/.
    4. Locate Outbox.mbox and move it to the Trash.
    5. Open Mail. A new (empty) Outbox.mbox will be created automatically. Check whether the problem is fixed.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Messages are stuck in SMQ2

    Hi,
    Our messages are stuck in SMQ2, and I think this is due to high volume of messages. I have configured the IS to allow the QRF_RESTART_ALLOWED to 1, and scheduled the RSQIWKEX job to run periodically. But, the messages are still stuck in SMQ2.
    Does anyone know what are the next steps we should look into to solve this problem?
    Any help is greatly appreciated.
    Thanks,
    Karma

    Just try - go to SXMB_ADM->Manage Queues and Deregister all the Queues. Then go to SMQ2 and try to activate all the queues by selecting the each lines and with activate button.
    Then re-register the queues in SXMB_ADM and chek it..
    Problem may be because of workprocess related. Also check transaction ST22 for if any dump in XI box.
    btw what is the scenario ? Is it because of huge message processing ?
    Regards,
    Moorthy

  • I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    Please refer:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
    Regards,
    Ashutosh

  • ABAP Outbound Proxy: some messages stuck in CRM system

    Hi all,
    we've a strange issue with a ABAP Outbound proxy we've generated in our CRM 5.0 system (asynchronous interface).
    Sometimes messages stuck in the CRM system. They are in status 'Scheduled' (green flag) in SXMB_MONI in the CRM system. When I have a look at the corresponding queue, there's no message within. Status in SMQ1 and SMQ2 is fine, too. All queues are registered. When I reprocess such a message manually in SXMB_MONI in CRM with the restart button, they're sent fine to XI.
    Please note: it's NOT a general issue with that outbound proxy. In most cases the messages are sent immediately, just in some cases the messages stuck and I don't know why.
    Is it possible to restart such messages automatically? I just know the report RSXMB_RESTART_MESSAGES, but that one just restarts messages in Error status. But the ones we have aren't in error status so they cannot be selected with that report.
    Any idea where could be the problem / we should check?
    BR
    Holger

    On which SP r u working correctly. May be an SP upgrade could help.
    Regards,
    Prateek

Maybe you are looking for

  • I cant delete Mozilla History file. I follow all the guidelines but it will not delete it

    My Mozilla keeps all the History even up to past June and it will nto let me delete them no matter what i do. I follow the process described below but it will nto work. Even when i open the History pane on the left side, it will not let me delete the

  • Error in FCC

    Hey guys i m doing a very simple File content conversion scenario and getting this error when i test the mappin using the payload generated in SXMB_MONI.     Cannot produce target element /ns:MT_FILEOUTPUT/Record/Row. Check xml instance is valid for

  • Web page hosting on Windows 7

    I am using Home Control Assistant to control lights in my house. HCA uses a web page to allow other computers in the house to control devices. I am unable to access  the webpages since installing Windows 7. I have enabled the port 9955. I am unable t

  • What is light framework page?

    hi, what is light framework page? how is it different from a default framework page. what does the term light actually mean? many places light is used for example in teh case of mastheadiview. light masthead also sthere.... Thanks in advance.....

  • Where to buy a S12 power adapter, and any cheaper option?

    I enjoy using my new Lenovo S12 ION, but getting tired of bring the power adapter to workplace everyday. So I was thinking of getting an additional power adapter. Where can I buy one? And is there any cheaper option (knowing that genuine Lenovo one i