Urgent - Messages in "To Be delivered" status

Hi XI ers,
We have around 150 messages in "To Be delivered" status. Tried resending a couple of them but no sucess.
When tried to resend a message, it gives message 2 Audit log entries in MDT (Message Display Tool). The first entry is "Try to fail the message" and "Trying to resend the message"
After that in RWB, message monitoring, the status of the message is "To Be delivered" forever.
>>there are no queue entries (smq1 and smq2)
>> tried cancelling the first message in the list of "To Be delivered" status.. and that did not work.
The error being in Receiver end, there are no error entries in sxmb_moni also.
Can any help me with what the issue could.
Any suggestions on directing me are welcome,
thanks,

hey
have a look at the followin
Status:  TO_BE_DELIVERED
Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
Solution:
This is done via the Messaging System receive servlet:
http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
/<PROTOCOL>
Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
Try logging into Sap GUI with two users:  XIAPPLUSER & XIAFUSER
to see if they are blocked 
We can check the messages:
AdapterFramework 
com.sap.aii.adapterframework.serviceuser.language 
com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
com.sap.aii.adapterframework.serviceuser.pwd 
ApplicationSystem 
com.sap.aii.applicationsystem.serviceuser.language 
com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER 
com.sap.aii.applicationsystem.serviceuser.pwd
in the exchange profile to make sure the right passwords
thanx
ahmad

Similar Messages

  • Messages getting stuck in Delivering status in AE

    Hi all,
    Recently we are coming across messages that go into Delivering status. These messages mostly belong to File Sender/Receiver Adapter but not confined to them. Here is the audit log of one such message:
    2011-03-21 10:01:55 Success Write to file "/usr/sap/ZX2/EXT/XI_INTERFACES/SCP2PIF016/NOT_PROCESSED/goodsReceiptPosting_InvalidRecords20110321-100155-650.xml" as binary, size 1949 bytes
    2011-03-21 10:01:55 Success File processing complete
    2011-03-21 10:01:55 Success MP: Leaving module processor
    2011-03-21 10:01:55 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
    2011-03-21 10:01:55 Error Setting the message status to DLNG failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    On searching in SDN I found one work around-- to restart Messaging Service in Visual Admin. This did work as the messages got processed after that. But, the problem seems to be recurring now(once in every two days).
    Can any body shed some light on this to find the permanent fix?
    Thanks a lot,
    Gokul.

    Hi,
    Make sure you have set the MaxThreadCount parameter to 350 or higher depending of the case and of the resources available.
    To increase the parameter, please follow the instructions below:
    1. In the left frame choose Server -> Kernel -> ApplicationThreadManager
    2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode.
    3. The parameter MaxThreadCount must be set to 350.
    4. You will then need to restart the J2ee
    For reference see note #937159 - XI Adapter Engine is stuck
    For specific setting to an adapter can be done by going to the Visual Administrator -> Services -> SAP XI AF Messaging
    Look at the property 'Messaging connections' here you will see the following queues:
    Send.maxConsumers (asynchronous sending - outbound)
    Recv.maxConsumers (asynchronous receipt - inbound)
    Call.maxConsumers (synchronous sending - outbound)
    Rqst.maxConsumers (synchronous receipt - inbound)
    Depending on where the bottleneck is occurring (i.e. too many entries in the Send.maxConsumers) you can increase these parameters.
    Example of parameter value syntax (sample for FILE adapter):
    (name=FILE_http://sap.com/xi/XI/System, Send.maxConsumers=10, Recv.maxConsumers=10, Call.maxConsumers=10, Rqst.maxConsumers=10)
    For reference see note:
    #791655 - Documentation of the XI Messaging System Service Properties
    And see the link:
    /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    Regards,
    Caio Cagnani

  • Issue with PI messages in "To be Delivered" Status

    Hello Experts,
    We have a Mail to SOAP scenario on PO 7.4 single stack PI system. Currently we are facing issue with messages where messagess are in status "To be Delivered". Messages dont get processed further.
    Two days back, we had issue with file system table overflow and this cause messages remained in "Delivering" status. I can see Audit log with error emssage for table space full.
    I couldnt cancel/resend those messages.
    I believed these messages are causing rest of the messages to go in "To be Delivered" status. I found few blogs to check resources in Java Engine Additional Data->Queues and its looks good.
    we had system restart and these "Delivering" messages were cancelled but again when we tried a fresh run and first message went into "Delivering" Status with 500 server error message in audit log and subsequent messages started going into "To be Delivered" status. This is happening only for one scenario, rest of the message are working fine.
    I tried wit new BS, Channel, Integrated scenario for same functioanlity but its not working.
    Recent messages with "To be Delivered" can be seen with below audit log
    Information MP: processing local module localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    Information Mail: Calling the module processor for channel CC_Sender_V2
    Information Mail: Message leaving the adapter (call)
    Information Trying to put the message into the send queue
    Information Application attempting to send an XI message asynchronously using connection AFW
    Information Message successfully put into the queue
    Information Trying to put the message into the send queue
    Information Mail: Call completed
    Information Message successfully put into the queue
    Information The application sent the message asynchronously using connection AFW. Returning to application
    Information Mail: Call returned for channel CC_Sender_V2
    we have latest patch(SAP_XIESR Version 1000.1.70) applied 10 days back only
    Kindly suggest.

    Hi All,
    Thanks for your reply and suggestions.
    Now messages are flowing properly. Issue was with data population in the target structure. Receiver side we have Knowledge Management portal website and CreateDocument operation fields were expecting some values to be populated. We tried few combinations and it worked.
    We also tried changing mapping and we could reproduce messages with "To be delivered" status.
    Now we are searching for KM Portal Webservice documentation where information about every field of operation is mentioned. If we straight away pass source mailbody to webservice, its not working. failing at webservice end with error 500 internal server error. It expects data to be in Base64 format and also fields like Length of data to be populated. If we get documentation then things would be more easy. We are also passing attachment but its not getting generated at target end. We are not sure if webservice support that feature.
    Thanks,
    Vinit.

  • Messages are stuck in "delivering" status

    Hi
    We are doing Async RFC to JDBC Scenario. Messages are successful from R/3 to XI but getting stuck at receiver jdbc adapter . subsequent message are also stuck because of this
    Below is the audit log of the message
    2007-06-29 10:33:08
    Success
    The message status set to DLNG.
    2007-06-29 10:33:08
    Success
    Delivering to channel: CS_CUS_PS_MAINTENANCE
    2007-06-29 10:33:08
    Success
    MP: entering
    2007-06-29 10:33:08
    Success
    MP: processing local module localejbs/CallSapAdapter
    2007-06-29 10:33:08
    Success
    Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2007-06-29 10:33:08
    Success
    JDBC adapter receiver channel CS_CUS_PS_MAINTENANCE: processing started; party  , service BUS_MES
    After then it just hangs and it shows "delivering" status only
    There is no error in SXMB_MONI
    Any clues!!!!!!!!!!!!!!
    Regards
    Vijay

    Vijay,
    The queues in adapter are different from the queues in Integration Engine.
    You can restart failed msg in adapter queues also. Stefan Grube has shown this in a weblog. Just do a search, you will get the blog.
    Regards,
    Jai Shankar

  • Messages are hanged in "Delivering" status

    Hi everyone,
    I have an IDoc -> PI -> File scenario. Everything works fine until the message reaches the file adapter. In the Communication Channel monitoring there is no activity for that message, and the channel is correctly configured and started. However, in the Message Monitoring, when I filter for my receiver interfacce, I see that there are 4 messages that have been in "Delivering" status for 2 days. Then, there are a lot more messages in "To Be Delivered" which I guess are waiting for the first ones to finish.
    I stoped & started the channel, I tried to resend the messages and nothing happened. Any suggestions? Thank you very much!
    Regards,
    Pablo

    Hi Pablo,
    "However, in the Message Monitoring, when I filter for my receiver interfacce, "
    --- First Remove all the filters in the RWB,
    now set the status filter as "System Error" and select the date range for more than six months or 1 yr ...
    now if you see any message then delete them,
    Again set the status to "To Be Delivered" and delete all of them.
    now set the status to "Delvering" and restart them,
    this is what i do when ever i face this problem.
    Regards,
    Karna...

  • Trigger alert for Messages in 'To be delivered' status

    Hello Experts,
    We are doing proactive monitoring in our system,so we check for all messages which are in error and alert configuration is enabled which takes care of this.
    But we had a critical issue where adapter queue was locked and hence,messages were in status 'To be delivered' for a long time.
    There were no alerts triggered as there was no error.
    The problem resolved by itself after sometime.
    But such delays are not acceptable in some critical scenarios.
    Can anyone please help us and let us know know how can we trigger alerts in such cases,say,if a message is in status 'To be delivered' for more than 30 minutes ,an alert should be raised.
    Also,in RWB Message Monitoring Audit log,I can see message start time as 12:25 and end time as 13:57,i.e. a difference of 1 hr 32 minutes.
    Is this data stored in some table in ABAP stack,so that I can take this data and create an ABAP report to trigger a mail if this threshold is reached?
    Kindly help.
    Regards,
    Shweta

    But we had a critical issue where adapter queue was locked and hence,messages were in status 'To be delivered' for a
    long time.
    There were no alerts triggered as there was no error.
    We have to do the monitoring manually. Alerts wont be raised in such cases.
    Is this data stored in some table in ABAP stack,so that I can take this data and create an ABAP report to trigger a mail if this
    threshold is reached?
    Data in the table SXMSPMAST may help.
    Regards,
    Abhishek.

  • Adapter Engine - Messages in To Be Delivered status

    Hello,
    I am using a SAP XI 3.0.
    Checking the Message Monitoring, I have seen that there are a lot of messages in status To Be Delivered. I think that this status in an initial status because then the message has to be set to Delivering in a next step.
    Specifically, the mentioned status is related to a Communication Channel which is configured as below:
    Adapter Type: XI
    Transport Protocol: HTTP 1.0
    Addresing Type: URL Address
    Target Host: A determined value
    Service Number: A determined value
    Authentication Type: Use Logon Data
    User Name: A determined value
    Password: A determined value
    There is no module added in Module tab.
    I think the problem is that messages are queued requesting any information but I do not know if there is any place to check it (in smq2 transaction, the queues are empty and this kind of channel is not shown in Communication Channel Monitoring).
    Thanks in advance.
    Best regards,
    Gemma
    Edited by: Gemma Boldu Capdevila on Oct 21, 2009 3:08 PM

    Hi,
    You have to clear that particular queue in message monitoring of RWB.
    Check the following links:
    http://help.sap.com/saphelp_nw70/helpdata/en/45/d4b62755002e97e10000000a155369/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
    Your problem should be solved now.
    Regards,
    Supriya.

  • Messages in "To be Delivered" status, redelivering is not working

    Hi guys!
    I have a problem with messages in AF. They are in status To Be Delivered. When I check the log from MessagingSystem servlet, it says:
    2008-03-06 09:15:30 Success Message successfully received by messaging system. Profile: XI URL: http://xxx:52000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2008-03-06 09:15:30 Success Using connection AS2_http://seeburger.com/xi. Trying to put the message into the receive queue.
    2008-03-06 09:15:30 Success Message successfully put into the queue.
    And this is it. No try to send the message by PI, nothing. I tried to redeliver the message, but it does nothing, just adds new record to the log, that I tried to redeliver it.
    All this started a few hours ago, when there was a problem on Partners AS2 system (we received HTTP 503 code - service unavailable.). Then the AS2 adapter tried to send some messages, but was not successful and few minutes after it stopped working at all. So now there is a lot of messages stuck in a queue and nothing is working.
    I tried to reactivate the CC, but it didn't help. Any ideas guys, what to check?
    Thank you,
    Olian

    Hi,
    TO BE Delivered means sent sucessfully from the IS point of view might be got stcuk in the Queue check it using smq1 and smq2.
    check the queues run the CPA cache.
    Go to SXMB_MONI and check if there are any redflags. If yes then select all of those and click on the button to the right of RESTART button which actually 'Cancels Processing of all Messages with Error'. After that refresh sxmb_moni a couple of times and check.
    If you dont have any message in MONI, that are scheduled or Scheduled for outbound processing status, then do these steps in RWB,
    1) select a message in TBD status and Hit "Resend". check if this message makes it thru fine. (If you are worried about the sequence of the message, then resend the last message - in the sense, the message that came in first to the adapter engine)
    2) if first step is success. then select Multiple Selection On, >select All messages>resend
    3) check from the time stamp, if there are any more messages that you wanted to resend, in TBD status
    Check this blog also.
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • To Be delivered status in Message monitoring

    Hi,
    There are some messages in TO BE DELIVERED status in Message monitoring while selecting integration server. I could neither cancel nor resend.
    any input reg. this will be appreciated.
    I didn't see any messages with TO BE delivered status in adapater engine.
    I could able to clear What ever messages in system error status in adapter engine by filtering based on sequential id.
    I have seen this thread  & link also.
    To Be Delivered
    Re: "To be delivered" status in RWB -- Any solution?
    http://help.sap.com/saphelp_nw04/helpdata/EN/49/e3fb40ef74f823e10000000a155106/content.htm
    I could not see any entry in SMQ1, SMQ2, SM58 also
    Thanks
    Praba
    Edited by: Prabaharan Rangasamy on Dec 8, 2009 1:02 PM
    Edited by: Prabaharan Rangasamy on Dec 8, 2009 1:04 PM

    Hi,
    You cannot resend or cancell the messages which are in status "To Be Delivered". Check Receiver adapter File/Jdbc/ OFTP e.t.c. which is processing these messages.
    Check with your Basis team to remove the lock of adapters if any. Or to process these messages you require soft restart of Java stack.
    I had same kind of issue two days back with OFTP adapter messages and did soft restart of java stack with help of Basis team.
    Hope it will helps you
    Cheers
    Veera

  • PI RWB-Messages stuck in Delivering Status

    Hi Experts,
    PI 7.1
    Scenario: Proxy to Mail (Outbound)
    QOs: Exactly Once in Order
    We are facing problem while sending messages to receiver.
    Messages are stuck in Delivering status and the messages followed by them are going into holding status.
    Messages in Delivering status has no audit logs.
    Issue has started couple of months back. We took restart initially to rectify the barrier but it is happening again. This is repetitive issue and we are looking for permanent fix. Restart is not preferred resolution as it is a production system.  Please suggest how can we overcome it? It would be a great help.

    Hi Hardik
    I've blogged about this issue recently. Please check out the blog:-
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/03/27/handling-and-preventing-messages-stuck-in-to-be-delivered-status
    Rgds
    Eng Swee

  • Adapter Engine Message in Delivering Status

    Hi All,
    Any idea how to cancel/delete the messages which are in delivering status in Adapter Engine.
    In my case a single EOIO message is stuck in the AE with delivering status. Other messages are flowing successfully using the same cc.
    Earlier during such cases we had to restart j2ee/ stop/start AF Messaging to resolve the problem.
    Just wondering if theres any other solution?
    btw : The message was in delivering status because the password mentioned in the receiver channel was wrong. There were other messages which failed but the status of those messages went into "System Error". Nothing wrong with that, but just wondering why did a single message remain in the "Delivering" status.
    I have already been through this thread Re: How to delete message in "Delivering" status. Only exists in Adapter Engine and didnt find/understand anything which could help me.
    Thanks
    Sumit

    Look at these blogs,
    How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework  :  How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework
    XI :  How to Re-Process failed XI Messages Automatically
    Message stuck in Adapter Engine queue with status "Delivering"
    Hope this helps

  • EO Messages with Delivering Status in Adapter Engine

    Hi All,
    We have a scenario DB-DB Asy with Java Proxies. Proxies are there to accept the messages from Sender DB and insert in target DB. Get the response from target DB and insert back that to Sender DB.
    Actually the scenario is Syn, but we made it as Asynchronous by implementing Java Proxies.
    Now we are using EO mode in Sender JDBC channel. We have 17 interfaces in the similar pattern. We are using one common XI receiver channel for all these 17 interfaces.
    If one message got struck, then rest other Proxies are not getting triggered and not able to resend the message ( ofcourse I know I cannot resend with Delivering Status). But not sure what causes the messages to failed with Delivering Status mode.
    Any pointers would be highly appreciated.
    Will increase of Parallel Queues really solve my problem? If it fails in Prod, its a big problem for us as we dont want to lose the data. Now everytime we are restarting the Message service server.
    Regards,
    Srinivas

    Normally if there is any problem in target then you will see the adapter engine message as delivering
    after the no of retires set then status will go to system error
    during this entry check  the CC used what is the error causing for that ?
    HTH
    Rajesh

  • Trigger Alert E-Mail When messages were in To Be delivered Status

    Hello all,
    Is it possible to trigger an Alert E-mail if a message struck up in 'To be delivered' status ??
    I Know this status is not an error status with AE to trigger alert automatically. We are facing this problem often and when we restart XI AF messaging system, all messages were processed.
    We would like to know if messages were struck up with that status more than 15mins.
    Any thoughts??
    Regards

    Hi,
    Standard Alert Frame work will not support sending an Alert for To Be delivered status.
    you have to do some work around,
    check below blog and apply this design
    /people/shweta.walaskar2/blog/2011/05/12/trigger-alerts-for-messages-in-to-be-delivered-status-monitoring-adapter-queue-lock
    Regards,
    Raj

  • To Be Delivered Status for AS2 messages

    Hi Experts,
        We have an issue with the EDI messages that are sent out of XI through AS2 Adapter. The messages were going out successfully till yesterday. From yesterday onwards, we see the messages under To Be Delivered Status in the Message Monitoring of Adapter Engine messages in RWB.
    We have restarted the J2EE engine and it doesn't help.
    The Service is not EOIO and hence the question of QUEUEs doesn't arise.
    Did anyone ever face such an issue? Please help.
    Regards,
    Ravi Kanth

    "To be delivered " occurs while the message is put into the Messaging System receive queue. It means that the message was successfully delivered from Integration Server and it is passed on to the Messaging System.
    - Make sure that XIAPPLUSER XIAFUSER are not blocked
    - Otherwise try retyping the passwords for XIAPPLUSER & XIAFUSER in exchanegProfile
    - Restarting would be always helpful
    Regards,
    Prateek

  • Stuck in To Be Delivered Status in Message Monitoring - Adapter Engine

    Hi,
    I have messages stuck in To Be Delivered status in Messages Monitoring. When i checked the Audito Logs, there are NO LOGS. I resent the message and now the logs indicated in the Audit Logs is:
    2014-03-26 08:39:10
    Information
    The message was successfully received by the messaging system. Protocol: XI URL: http://<host>:<port>/MessagingSystem/receive/AFW/XI Credential (User): PIIXXXX
    2014-03-26 08:39:10
    Information
    Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2014-03-26 08:39:10
    Information
    Message successfully put into the queue.
    2014-03-26 08:52:48
    Information
    Admin action: Trying to redeliver message.
    The connection between the receiver is ok, does this have something to do with the Communication Channels?
    Please help.
    thank you.

    Hi Eng Swee,
    there are messages that were cancelled yesterday and the status is 'Terminated With Errors'
    this is what is indicated in the Audit Logs
    2014-03-26 02:38:47
    Information
    Admin action: Trying to fail message.
    2014-03-26 02:38:47
    Error
    The message status was set to FAIL.
    2014-03-26 02:38:47
    Information
    Admin action: The message was successfully set to status failed.
    2014-03-26 02:38:47
    Error
    Asynchronous error detected: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Message failed by admin.. Trying to report it.
    2014-03-26 02:38:47
    Error
    Asynchronous error reported.
    Is this the reason why the messages are stuck?
    thank you!

Maybe you are looking for

  • How to change the legend value in graph OBIEE

    I have 2 columns A and B are measure columns. How can I change "A" and "B" in the legend of my vertical bar graph to "LIA" and "ASSET", without changing the A,B name in my subject area. Thanks for any help! Edited by: user6388889 on Nov 18, 2012 5:46

  • Issues with a Z field in an append structure of VBAP when calling BAPI

    We have added a Z field on table VBAP with an append structure. It is a flag field. We want to change its value with the BAPI BAPI_SALESORDER_CHANGE. We have also created the append structure in API structures THe return message of the bapi gives us

  • IDOC_INPUT_FIDCCH IDOC cant post

    Hello Everybody, I urgently need your help. I am trying to post an IDOC(invoice change). But I am getting status 51 with error message  'In table IT_ACCDN , the entry is missing'  Message no. F1100 When I see msg set up for F1 I see that  msg 100 is

  • Outlook express on blackberry​?

    How do I configure Outlook Express on my PC? I am using my Verizon Blackberry Storm cell for my ISP. I need all the info, I'm not very computer literate, so forgive my dumb questions. What do I need to put in the IP address, TCP/IP, modem, etc. all t

  • Muti-channel read/write through FP data socket posible?

    Hello, I'm trying to talk to cFP-1808 module from desktop PC real-time host over Ethernet. I did not find any Fieldpoint driver for desktop RT so I'm forced to use data sockets to communicate with cFP-1808. It seems that one can only read or write to