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.

Similar Messages

  • 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

  • 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.

  • Cannot see adapter engine messages in message monitoring

    hi guys,
    i cannot see my adapter engine messages in message monitoring for my http to RFC syncronous scnenario.
    i can however see the integration engine messages and can also see the receiver RFC channel in  communication channel monitoring

    Hi
    this link ll help u in it -
    Adapter Engine monitoring is provided in detail. Try as mentioned
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/7c/14b5765255e345a9e3f044f1e9bbbf/frameset.htm
    Regards

  • 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

  • Adapter Engine Message Archiving

    Hello,
    Can anybody share with me the guide for Adapter Engine Message archiving for PI 7.1
    Thanks ,
    Loveena

    Hi,
    Refer these links, it should help
    XML Data Archiving - Configuration Guide for J2EE Applications
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/65901c2e-0801-0010-e79a-de4ed9275d70?quicklink=index&overridelayout=true
    http://help.sap.com/saphelp_nw04/helpdata/EN/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
    Re: Archiving message PI7.1 Could not find msg in archive error
    Regards,
    Nithiyanandam

  • Authorizatoin error while viewing adapter engine messages

    I got below error from user and need to resolve.
    When I try and view adapter engine messages in XI Development system, I get the message "noAuthorizationJava"

    hi
    see this
    http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm
    also sap note 768456 - 928862
    Thanks
    Rod
    Edited by: Rodrigo Pertierra on Mar 27, 2008 11:24 AM

  • JBBD Sender - Problem with Adapter Engine - Message status Delivering -

    Hi all,
    I've a rare problem. My scenario is JDBC (EO) to IDOC. If the SELECT query from SQL database arrows 8000 lines, the message was sent from PI to R/3 succesfully and Idocs was generated.
    But if the query is larger than 10.000 lines, the message was stopped in the sender queue in AE with status "Delivering". In SXMB_MONI I can't see the message, only in RW in Message Monitoring or Component Monitoring in Engine Status.
    I've applied note  Note 937159 - XI Adapter Engine is stuck, and follow this blog
    /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    Using Configtool I modified these parameters (MaxConsumers). But message still puts in sender queue.
    I have in PI 7.1 SPs 0004.
    Any suggestions??
    Edited by: Pablete on Sep 13, 2010 8:41 PM

    I have the same requirement and for solving this, I have to apply a very complex select statement.
    But it works perfekt for MS SQL:
    select * from table where order_no in (SELECT distinct top(1000) order_no FROM table where any_clause) and any_clause order by order_no
    update table where invoice_no in (SELECT distinct top(1000) invoice_no FROM table where any_clause) and any_clause
    I create an IDoc for each order_no, so I have to make sure, that all lines belonging to one invoice are in the same select.
    My select statement has 463 characters

  • 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 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

  • 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

  • Adapter engine messaging URL returns HTTP 403

    Hi all,
    I currently have a problem with the following scenario: SOAP Adapter -> XI -> JDBC Adapter. I have configured the scenario and everything seems to be running correctly (in the component monitoring the adapters and the integration engine are green). However when I send a request to the SOAP Adapter I get the following response:
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    com.sap.aii.af.mp.module.ModuleException
         at
    Caused by: com.sap.aii.messaging.srt.BubbleException: failed to call the adapter engine [null "null"]; nested exception caused by: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 403.
    </text>
    </s:SystemError>
    In the Message Display tool of the runtime workbench I get the following trace:
    2005-06-05 11:03:08 Success SOAP: request message leaving the adapter (call)
    2005-06-05 11:03:08 Success Application attempting to send an XI message synchronously using connection AFW.
    2005-06-05 11:03:08 Success Trying to put the message into the call queue.
    2005-06-05 11:03:08 Success The message was successfully retrieved from the call queue.
    2005-06-05 11:03:08 Success The message status set to DLNG.
    2005-06-05 11:03:08 Success Message successfully put into the queue.
    2005-06-05 11:03:08 Error Returning synchronous error notification to calling application: Received HTTP response code 403..
    2005-06-05 11:03:08 Error Transmitting the message using connection http://<host>:8000/sap/xi/engine?type=entry failed, due to: Received HTTP response code 403..
    2005-06-05 11:03:08 Error The message status set to FAIL.
    2005-06-05 11:03:08 Error Returning to application. Exception: Received HTTP response code 403.
    So it seem that somehow the adapter framework is not allowed to send a message to the integration engine via the messaging URL.
    Any ideas how to resolve this problem?
    Thanks for you help,
    Christian

    Hi,
    If you've changed the passwords for XI service users
    then you may also want to check this note: 721548
    XI 3.0: Changing the passwords of the XI service users
    Regards,
    michal

  • 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...

  • How to archiving Adapter-Engine messages in PI 7.1

    Hello,
    How do I archive messages in Adapter Engine side in PI 7.1.
    Does anybody know some document describing that ?
    Arthur Silva

    Hi ,
    please go through the below link.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c5a7?QuickLink=index&overridelayout=true&49061411503734   ---  STEP BY STEP
    http://scn.sap.com/thread/1498569
    http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=147266890
    Regards
    srinivas

Maybe you are looking for

  • How do I access open tabs from other devices in Firefox 4 for desktop (windows version)

    I want to see the open tabs from other devices but I can't find how to access it. Where do I find them in firefox 4? I use the windows version. Thank you!

  • Batch importing Word files into separate InDesign files

    Hi, I have what I though would be a fairly common question, but I can't seem to find any information about it in this forum or on the web. I have a folder of Word files (over 100, which is why I don't want to do this manually) and one InDesign CS4 fi

  • Ipod mini music too fast, too slow and very scratchy

    I have seen this question before, but no answers! I just want to listen to my music. Can you help? Music speeds up, slows down and is extremely scratchy!   Mac OS X (10.4.7)  

  • Technical Systems

    Hello All,                 I have a scenario where the central SLD of a Production PI is copied to another PI (recovery PI). The Production PI and Recovery PI lie on different landscapes i.e their network is different. After the copying is done the T

  • Subpool durations

    11.0.2.0.2 When you use AMM, the shared pool is split into subpool durations.    The durations are "instance", "session", "cursor", and "execution".   I can find very little online related to the term "duration" as its meant in in its context here.