Unable to cancel/reprocess Messages of status 'HOLD'

Hi all,
I m working on a EOIO Scenario. So System Error mesages blocked further processing of messages and all successive mesages after the failed message went to 'HOLD'. So I canceled the 'System Error' message.Its status changed to 'Cancelled with Error'. But when i tried to cancel/resend the next message on HOLD , I m getting the below error message.
Admin action: Setting the message status to 'failed' failed, due to: java.lang.Exception: Predecessor not in final state..

Hi,
Holding is the state of an EOIO message that cannot be delivered until its predecessors have been delivered.
When a message runs on an error during the processing, all other messages in the same queue will not be processed until the error is fixed or the erroneous message is cancelled from processing.
So look into RWB under message monitoring for those messages which are in error,  try to fix the problem and resend or cancel the message to release the queue.
After you have resent or cancelled the message all other message will be processed immediately.
Regards,
Sarvesh

Similar Messages

  • How do I process messages with status = "Holding"

    Hi,
    How do I process messages with status = "Holding" from the RWB-Message Monitoring - Adapter Engine?
    I did a quick scan for records with errors in the same queue (ConversationID), but could not find any.
    I tried to cancel the one with the smallest sequential number, but I got the error - "Unable to cancel 1 of 1 messages; update the status"
    Please help.
    Thanks
    Sudheer

    Hi,
      "Holding comes into play when ur scenario is having multiple inbound interfaces and you checked "Maintained order at runtime"in interface determination in ID. Suppose  message will hit first inbound interface once it is successful then it will hit second inbound interface. If first inbound interface fails then most of the message will be in "Holding" status depends upon XI AF queues ID.
    I did a quick scan for records with errors in the same queue (ConversationID), but could not find any.
    You will not find bcoz of AE archiving settings.
    Try to check the with business guys, whether they need the order of processing. If not the case try to Uncheck the box "Maintain Order at runtime".
    Regards,
    Rao.Mallikarjuna

  • Message in status 'holding' without reasonable reason

    Hi all,
    I will explain this 'X file' problem.
    We have an scenary between an R/3 --> XI --> R/3
    The communication it's between an interface with .txt file; No conversion to XML, XI only does 2 steps at Interface Determination:
    1º Writes in an FTP destination with Communication Channel Filereceiver
    2º Executes an RFC who charges that file in a table at destination.
    The interface sends between 100 and 200 files by day. At least 2 / 4 by day stays in status 'Holding'. These files are similar to another Succesfull messages.
    At Integration Server, and SXMB_MONI, all logs are OK. But in Adapter Engine from RWB i see this log (For File CC and RFC CC):
    2007-12-11 15:53:41     Success     Message successfully received by messaging system. Profile: XI URL: http://xixsap:59000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-12-11 15:53:41     Success     Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-12-11 15:53:41     Success     Message successfully put into the queue.
    2007-12-11 15:53:41     Success     The message was successfully retrieved from the receive queue.
    2007-12-11 15:53:41     Success     The message status set to HOLD.
    If we make a "Resend", the message tries to be delivered again and sets to Hold.
    If i resend the same file from original /out directory, it's processed fine.
    Thanks in advance for your help
    Message was edited by:
            Federico Martin
    Message was edited by:
            Federico Martin

    Hi Federico,
    Holding is the state of an EOIO message that cannot be delivered until its predecessors have been delivered.
    When the quality of service of the messages is exactly once in order (EOIO) and  messages are delivered in the same sequence that they were sent from the sender system. For that reason a sequential number is assigned to the message.
    When a message runs on an error during the processing, all other messages in the same queue will not be processed until the error is fixed or the erroneous message is cancelled from processing.
    To solve the problem it is necessary to
    1.find the message which blocks the queue.
    2.If there are a huge number of messages in your system you search for the lowest sequential number in the queue.
    3. If you know the name of the queue that is stuck, you can add the queue name as additional filter criteria. Click on Show Additional Criteria.
    4. Enter the queue name to the field Conversation ID and set the parameter Quality of Service to Exactly Once in Order.
    5. To be able to see the sequential numbers in the message monitor, you configure the table columns.
    6. Add Conversation Id (that is the queue name) and Sequential Number to the table columns.
    7. Scroll the window right to see the new columns. Sort the sequential number ascending (the upper triangle).
    8Now the erroneous message is the first message in the display. You can look at the error reason, try to fix the problem and resend or cancel the message to release the queue.
    9. After you have resent or cancelled the message all other message will be processed immediately.
    You have of course to make sure, that the next message in sequence does not run on error too.
    **Pls: Reward with Points if helpful **
    Regards,
    Jyoti

  • Purging EOIO messages with status "Holding" at the adapter level in XI.

    Hi,
    I want to purge a set of messages (some 800) with status "Holding" at Adapter level in RunTime Workbench. I have gone through the blog "/people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework which explain the way to reprocess the messages which are stuck in EOIO so that the rest in queue are processed but is there a way to purge a large number of messages in a EOIO queue which are holding for long, at the adpater framework level thorugh some option in Runtime workbench or Visual Administrator of J2EE server on which XI is running ?

    Hi Gourav,
    What do you mean by delete files from folder.
    I have this problem and I can't get rid of the messages that are stuck in the adapter engine. 
    If I need step 3.  how is that done?
    Thanks.

  • Program to cancel xml message with status error or schedule ?

    Hi,
    Any program that can cancel xml message base on period. because i have about 100 thousand unuse xml message that accidentaly generated. because it is too long if i need to cancel 1 by one.
    Regards
    Fernand

    Hi All,
    I already try this program below :
    RSXMB_CANCEL_Message - cancel the meesage with errors.
    RSXMB_CANCEL_NO_COMMIT_MSG -cancel the message processing for messages without commit.
    RSXMB_CANCEL_NOT_REST_MESSAGES - Cancel Xi messages with errors that cannot be restarted
    but then no result selected. i need to select manual those message and cancel using cancel button.
    please advise.
    Thank you and best regards
    Fernand

  • Message struck in adapter engine with status Hold

    Hi,
    In intergaration engine all messages are processed, I have checked SMQ1, SMQ2 (no message is struck in queue)
    where as messages struck in adapter engine with status Hold, I have checked this in RWB. How to resolve this?
    Regards,
    Krishna

    Hello,
    Below is some information on how to resolve this type of issue:
    1 - In the RWB, expand the tray for "Configure Table Columns" - by clicking on a square at the right end of this heading.
    2 - Check the checkboxes for "Serialization Context" and "Sequence Number". These should then appear in the table columns as well.
    3 - Add the Serialization Context to the Extended Filter Criteria. Search the messages in status HOLD based on this new additional criteria.
    4 - Sort the messages in ascending order based on the Sequence no.
    5 - Check the predecessor message of the first message in status "HOLD"
    Based on the following status for this predecessor messages, the actions that can be taken for the HOLD messages are:
    a - Predecessor is in Failed State/System Error : Cancel/Resend the
    first message in status HOLD after this. Then the remaining messages
    can be cancelled/resent.
    b - Predecessor is in DLVD state(delivered state) : First Holding
    message can be resent/cancelled followed by the others.
    c - Predecessor is in NDLV(Non-Delivered Status) : Check why the
    predecessor message failed and correct the reason for the failure.
    Then resend the predecessor message and then cancel/resend the
    remaining HOLD messages. Alternatively, you can directly try
    resending this NDLV predecessor message and see if it goes. If it
    goes, then the remaining HOLD messages can be resent/cancelled.
    Another option could be to cancel this NDLV predecessor message so
    that it goes to FAILED state and then cancel/resend remaining HOLD
    messages.
    Regards,
    Sarah

  • Delete records in status holding on Adapter Engine

    Hi all
    We are running on XI 3.0 and Netweaver 04 with SP20 installed
    I had a problem with a lot of message in status holding on Adapter Engine (develoment system)
    I'm not able to restart (resend) or delete this message. I had look around on SDN and in SAP notes, and only found a lot of old stuff, but nothing there can solve my problem
    This are a snapshoot of the error log
    Success Processing child message of multi-message with message ID 3aa40608-c251-4845-209c-d327ba444b7c
    Success Using connection JMS_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    Success Message successfully put into the queue.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to HOLD.
    Success Admin action: Trying to redeliver message.
    Success The message status set to TBDL.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to HOLD.
    Success The message status set to TBDL.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to HOLD.
    Success Admin action: Trying to fail message.
    Error Admin action: Setting the message status to 'failed' failed, due to: java.lang.Exception: Predecessor not in final state.. Success Admin action: Trying to redeliver message.
    Success The message status set to TBDL.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to HOLDError Admin action: Setting the message status to 'failed' failed, due to: java.lang.Exception: Predecessor not in final state..
    Success Admin action: Trying to redeliver message.
    Success The message status set to TBDL.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to HOLD
    Kind regards
    Kim

    Hi,
    Change the combination in message monitoring, this time chose Ingegration Engine & Database combination and if you have messages in holding then try to cancel them but first find and delete the system error messages if any.
    If you get success here then change back the combination to Adapter Engine & Databse and then try to delete it again.
    I am sure that it is possible coz same problem was there with me and then after doing some R&D I was able to delete them.
    Regards,
    Sarvesh

  • Message status "Holding" - Message monitoring adapter framework

    Hello,
    We have some messages with the status "Holding" in a queue in the message monitoring in the adapter framework.
    Normally you have to restart the first message of that queue. The message with the status "system error". Unfortunately this message is not available anymore because it is older than 30 days and the retetion period is 30 days.
    I already read the blog about "[How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1887311350DB01819286872323159351End?blog=/pub/wlg/3566]"
    The blog does not mention what to do when the first message (sequential number) is not available anymore.
    Is it possible to restart the messages in the queue in that case?
    Thanks
    Kind regards
    Frank

    Unfortunately this message is not available anymore because it is older than 30 days and the retetion period is 30 days.
    I assume that the message was deleted.....in this case the next message in the queue will be blocking the queue....so try resending this message....even the blog mentions that you either solve the error or cancel the message....so now start from the second message....if possible solve the error for this message....if not possible to resolve then cancel it so that rest of the queue gets processed
    From the blog:
    Now the erroneous message is the first message in the display. You can look at the error reason, try to fix the problem and
    resend or cancel the message to release the queue.
    Regards,
    Abhishek.

  • File adapter problem - message in RWB HOLDING msg status

    Problem in XI File adapter recver comm channel.Getting msg in RWB Adapter Engine HOLDING status.
    1. No explaination in RWB Details tab, of why status Holding.
    2. File does not get created, because of Holding status.
    3. Cannot  Resend or Cancel in RWB the message.
    <b>Sometimes the msg goes through and other times does not and is stuck.</b>
    File Adapter Parms set as:
    Connection Mode:  Per File Transfer
    Transfer Mode: Text
    File Adapter setting  Max concurrency = 1 would that have anything to do with it?
    File Construction Mode:Create
    Put Name: Direct
    Empty msg-handling: Write Empty File
    Type: Text
    <b>Any ideas Why holding? and Where to see more details. </b>

    Hey
    exact same issue has been discussed today on SDN.anyways have a look at the following blog
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    Thanx
    Aamir

  • SAP PI Message Cancellation Alert - Message does not have restartable error status

    Hello SCNers
    Version: 7.1
    Scenario: File --> PI -->SOAP
    We have a situation where a PI message  in Integration Engine shows error status.We want to cancel the message in IE but are unable to do so.
    On clicking Cancel for this message in SXMB_MONI, we are receiving an alert "Message does not have restartable error status".
    In SXMSPMAST table, value for ITFACTION is DEL.
    We do not want to run report RSXMB_DEL_TO_ARCH, that would change status of all messages with DEL status to ARCH.
    Is there a way to Cancel or Change the Status of this single message?
    Regards
    Sudheer

    Hi Hareesh,
    Tried that too, but to no avail.
    Strangely, the log shows NO_ERROR_STATE for the cancelation of this message thru RSXMB_CANCEL_MESSAGES.
    But in SXMSPMAST table the status of this message is 14 (System Error - Manual Restart Possible).
    Regards
    Sudheer

  • Message stuck in adapter engine with status Hold, how to delete those

    Hi,
    In Dev system around 6 lac messages are stuck in ;holding' state. How can I delete them. Is there is any standard proge which can delete all these messages.
    Can I delete messages of IE with status 'recorded'?
    Regards,
    Krishna

    Hi,
    see this wiki
    RSXMB_ARCHIVE_MESSAGES Archive XML Messages
    RSXMB_CANCEL_NOT_REST_MESSAGES Cancel XI Messages With Errors That Cannot Be Restarted
    RSXMB_DELETE_ARCHIVED_MESSAGES Delete Archived XML Messages
    RSXMB_DELETE_MESSAGES Delete XML Messages from the Persistency Layer marked for DEL
    RSXMB_CANCEL_MESSAGES Mass cancellation of error messages - XI
    RSXMB_SHOW_REORG_STATUS & RSXMB_SHOW_STATUS provide an overview for all XML messages in XI persistency layer.
    RSXMB_MESSAGE_STATISTICS2 which provides the processing statistics. This report basically analyzed the history table.
    RXWF_XI_UNSED_MSGS report helps in converting messages states other than 003 to final state i.e. 003.
    SXMS_REFRESH_ADAPTER_STATUS report helps in converting message sates like 001/008 into final state.
    http://wiki.sdn.sap.com/wiki/display/XI/PIArchivingConceptual+Overview

  • How to STOP messages going into HOLD status very frequently

    I'm facing a problem in our Testing Environment where many messages are going to HOLD Status and also there are no messages in the System Error state.
    We are trying to resend all the messages in every "Conversation ID". After this some messages gets successful and some will go into Waiting status. We then cancel the messages in waiting status and resend all the messages in HOLD status and the process continues till all the messages in HOLD status in every Coversation ID were cleared.
    But this is a very very time consuming process.
    So can you please let me know if there is any solution to fix this prolem.
    Thanks,
    Pruthvi

    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/directToSignIn?loc alang=en_US
    Go the the above
    Sign in. Go to the left side where it says phone numbers. Delete your number. Then save.
    Your iPhone friends will now get the red exclamation point that the message didn't deliver instead of it sending. Then your iPhone friend will force the message to go through as a text by long pressing the message and choosing send as text. Once tthey do that once you're set and all other messages will automatically send as texts for them to you. You just have to hope your iPhone friends realize to force the messages through as texts the first time around  but even if they don't at least they know they aren't reaching you and you aren't ignoring them.
    Does that help?

  • How to cancel processed messages with acknowledgement waiting status

    Hi All,
    Messages processed successfully in Integration Server but messages still waiting for acknowledgement. I want to cancel these messages.Will u please let me know how to do delete these messages.I already canceled messages with status to be delivered in Integration Engine and Adapter Engine. But in SXMB_MONI, messages are processed successfully with waiting status.Please suggest how we need to cancel them.
    Please Suggest some possible solution.
    Regards,
    Kanisha Sharma
    Edited by: kanisha on Jul 2, 2010 8:28 AM

    Hi,
    Thanks for your reply.Yes it is an IDOC based scenario. But Idoc is in outbound side. Idoc processed successfully in ERP as well as PI processed successfully to MDM.Messages processed successfully in SXMB_MONI but once imported in MDM IS, then acknowledgement will be send to PI.My issue is:- MDM server is down and i want to cancel these messages.
    Please suggest
    Regards,
    Kanisha Sharma

  • How to CANCEL/RESEND messages in Adapter with status system error in bulk?

    Hello all,
    I d like to know how can I CANCEL or RESEND messages with status error SYSTEM ERROR in adapter framework.
    Messages failed because of receiver system un-availability. Now, we have more than 50.000 messages stuck, waiting for being resent or cancelled.
    But from the Message Monitoring Tool at Runtime Workbench Monitoring, I can only process up to 200 messages each time.
    So, its practically imposible to do it manually.
    My question is how can I deal with that amount of messages? Is there a way to process them in bulk and get them cancelled in only one step/action?
    Many Thanks in advance.

    Hello, I hope you are doing fine!!
    The most common way to cancel these messages is through the Runtime Workbench as you have mentioned youu2019ve tried.
    Just one note: Once you are on the Message Monitoring screen -> Filter (where you can select the dates, message status, etcu2026), there is a Dropdown box menu at center of the screen called u201Cmaximum Numberu201D where I believe you said you can only see 200 messages.
    You may try to select u201C10.000u201D there and then cancel these messages from there.
    However, if you prefer doing this in one go, you can do this by changing the status of the messages from u201Cerroru201D to status u201Cdeliveredu201D by executing following SQL statement at the database level:
    UPDATE <DB Schema>.XI_AF_MSG SET STATUS='DLVD' WHERE MSG_ID='<MSG ID>
    AND DIRECTION='<INBOUND   OUTBOUND>'
    Cheers,
    Jorge Eidelwein

  • Alert for XI messages in a Holding status

    Is there a way to trigger an alert in XI 3.0 sp20 for messages that are in a holding status. Right now I am manually checking using the RWB but I would like to trigger an alert if messages are holding for an extended period of time. I have setup Email alerts for messages that have an error status but I can't seem to find out how to setup for messages that are holding.

    You can either configure CCMS alerts or using ALRTCATDEF. YOu can refer to the below links.
    CCMS:
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    Michal's blog-ALRTCATDEF:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Other help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8fe69590-0201-0010-8097-c8a2ca60d5df
    Venkat.

Maybe you are looking for

  • Regarding issue related to  RPTBAL00.it's very urgent

    hi All,   i am having one issue related to RPTBAL00 report.   this report will dispaly time wage types related to emplyoees.   using this report we can get informtion of time wage type like 9lc1,9lg1,plwp. Now issue is this report is not running for

  • Here's a fix for uploaded files that won't play.

    Is this you?  You've found a lot of files were uploaded, instead of matched.  Some of those files might even be on albums where other tracks matched. Sure you want them ALL to match, but meantime, it would be nice if uploaded files would actually pla

  • Missing Microsoft.SqlServer.Management.Sdk.Sf.dllc

    I've tried to establish a database connection from Visual Studio Express 2013 to a local SQL Server Express 2014. The Server is visible and the connection test successful, but when I try to finish the connection, an error pops up saying that assembly

  • Billing Document RV type picking up wrong Profit Center

    Hi All I have created a Sales order .Also maintained Profit Center in Sales:General/Plant data view of Material master.My Sales Order is picking up correct Profit Center . But in my Billing Document (RV Type) ,it is reflecting Dummy Profit Center .It

  • How to get the last update date

    Hi Everyone, I need to insert into a table the name of the package and date of the last updated version of the execution. I was thinking in inserting from procedure into a table, the ID and system date into a table. But I would like to know if there