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

Similar Messages

  • Status Profile and User Status  for Support Message

    Hi All,
    We need to customize Status Profile and User Status Specifc  to customer requriments.
    we need the following Status for Support Message:
    Open
    Accepted
    Rejected
    Fixed
    Retest
    Closed
    Note:
    1] Only the Message creator should be able Set staus Open and Closed
    2]  Message Processor should only set status Accepted, Rejected, Fixed and Retest
    I have created the Status Profile in BS02.
    Can some one help me the steps or guide how to implement the above logic and restrict the status access between Message Creator and Message Processor
    Thanks!
    Regards,
    Pradeep  L

    > 1] Do i have to create different Auth.key for Message processor and Message creator and then assing them in BS02 to Status Profile?
           Anand: Diffrent authorization key for different statues......not for message processor and creator
    > 2] Now how do i assign this Auth.Key to the Auth Object B_USERSTAT?
           Anand: Using Tcode PFCG, this can be done.... Consult Basis.....
    >     do i have to create a new Zrole and assign or is there any other way.
           Anand: Yes u need to create a Z role and include that authorization objects in that z role....
           so u might have to create 2 Zroles and then assign them to the persons concerned....
    Inspire ppl by rewarding
    Regards,
    Anand...

  • To Be Delivered Status for messages

    Hi All,
    I've a File->PI-File scenario. If I check the status of messages under RWB->Message Monitoring->Adapter Engine, I find some mesages with status "Scheduled". The single status of the messages is "To be delivered". Manually I try to send a single message but in the Audit Log I find "Admin action: Trying to redeliver message."
    The Queue "DispatchDisp" is fill with all the messages.
    How can I send these messages?
    Thanks in advance
    2009-02-11 17:11:20 Information Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2009-02-11 17:11:20 Information Message successfully put into the queue.
    2009-02-11 21:13:15 Information Admin action: Trying to redeliver message.
    2009-02-11 21:14:29 Information Admin action: Trying to redeliver message.

    Your file is stuck in a queue where failed files are waiting to get resolved. So you need to clear the queues first and then process your file.
    Here is the way to clear the queues for Failed messages with System Errors.
    RWB --> Adapter Engine --> show additional criteria --> Enter the QUEUE NAME in field "Conversation_ID" (for this you have to first know the queue name from details of the messages having ststaus "Holding" or "to be delivered".) --> Expand "Configure table columns" --> choose "Conversation ID" and "Sequential Number" --> display. --> sort the list by ascending order of "sequential number" --> cancel the message whose sequential number is latest and go on canceling in ascending order.
    Hope it helps.
    Br,
    Madan Agrawal

  • Digital signature S/EDIFACT (ISO9735-5) or S/MIME for AS2 Messages

    Dear ladies and gentlemen,
    we start a project with a Portugues Company..they expect, that we have to signature our invoices with S/EDIFACT (ISO9735-5) or S/MIME.
    Knows somebody, what must we do, that we get this signature for each message ?
    We transfer the invoice from ERP 4.7 System to PI. In the PI system we map the IDOC to a AS2 message and send it
    to a AS2 Server.
    Thanks indeed.

    Hi Stephan,
    AS2 adapter provides the signing and encryption. Please check the below blogs
    Configuring AS2 Adapters provided by B2B toolkit 1.0 - Part I
    Easy-to-use AS2 software - part III
    regards,
    Harish

  • 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

  • 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

  • Messages stuck in TO BE DELIVERED status

    Hi !
    Suddenly, whenever a message has to use the File Adapter, no mather which communication channel is to be used, the message is stuck with the "TO BE DELIVERED" status.
    These messages, all have SUCCESSFUL status in the SXMB_MONI. The problem is in adapter engine. ALL have NO errors in their Audit Log. Because the problem is in adapter engine/framework, obviously queues at SMQR/SMQ1/SMQ2 are emtpy. ALL have QoS = EO (no eoio queue is used, NO predecessor messages are stuck with system error).
    This occurs no mather which adapter is the sender (RFC, File, etc.)
    The audit log is:
    2008-04-10 16:59:34
    Success
    Message successfully received by messaging system. Profile: XI URL: http://xxxxxxx:yyyyy/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2008-04-10 16:59:34
    Success
    Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2008-04-10 16:59:34
    Success
    Message successfully put into the queue.
    If we try to resend the message using the "resend" button in RWB, the message keeps in the TBDL state and the only difference is a new "success" entry in the audit log saying that:}
    "Success | Admin action: Trying to redeliver message".
    We already refreshed the cache and restarted the Java stack.
    Any clues?
    Thanks !
    Regards,
    Matias.

    Hi,
    Statuses such as HOLDING or FAILED usually happen only for delivery semantics EOIO (exactly once in order) or BE (best effort means Asynchronous). TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue. This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>/<PROTOCOL>
    The MS returns HTTP 200 to the Integration Server only if this was executed successfully. In this example scenario, status TO_BE_DELIVERED should not appear since we assume that the IS has called the servlet successfully.
    The status is updated from TO_BE_DELIVERED to DELIVERING when the message has popped out of the receive queue and the event handler lookup was successful, so there is a small gap where TO_BE_DELIVERED could remain in the message monitor, although it was delivered from IS successfully.
    Regards,
    Srini

  • Messages in devivering status for long

    Hi All,
    I am in with a problem.I have an File XI RFC async scenario.While posting data to the RFC the message are kept on delivering status for very long .
    If for this interface more than 5 files are kept all the othere messages are in to be delivered status which enlongens the queue.
    Only 5 messages are getting delivered at a time as the number of RFC threads in XI Box is 5.
    Please help me in this .
    I had a thought that from XI side it was only a fire and forget type of scenario but is it possible that while delivering it waits for successfull compleation of the target systems application program.
    Mudit Mehra

    No not all but only a single interface is running slow.
    Can you also explain on how to increase the parallet processes?
    Mudit

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

  • 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

  • Monitoring on "holding", "Delivering", "To be Delivered" status in AE

    Hi Experts,
    We are using CCMS alert configuration to receive alerts for errors in integration engine and System errors in Adapter engine and communication channel errors.
    But, we are not able to set up alert configuration on holding, Delivering and To be Delivered status of the messages in Adapter engine of XI(PI 7.0).
    Please suggest a solution where we can receive alerts on holding, Delivering and To be Delivered messages.
    Regards,
    Subbalaxmi

    where we can receive alerts on holding, Delivering and To be Delivered messages
    http://<Host>:<PORT>/rwb Message Monitoring
    The AE receives the message, processes it, and forwards it to the receiver (that is, the file adapter). While the AE processes the message, it passes several statuses:
     TO_BE_DELIVERED:
    The status of the message when it is initially handed over to the AE.
     DELIVERING:
    The status of the message when it has left the AE queuing system and is in the process of being transmitted across the wire or delivered to an application.
     DELIVERED:
    The status of the message when it has successfully reached its intended receiver.
     HOLDING:
    The status of an EOIO
    Regards
    Pothana

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

  • BPM wait step : RWB"To Be Delivered status": SXMB_MONI"Message being sent"

    Hi All,
    I have a BPM interface running fine since 1 year.
    In this BPM I have wait step for 5 minutes.
    But yesterday message  is stopped on wait and not proceeding ahead.
    I checked XML is good as per mapping. and in runtime wirk bench message is still in "To Be Delivered status"
    and in SXMB_MONI message column Outbound Status still showing "Message being sent" even after 12 hours.(wait is only 5 minutes). And below is the trace of last message.
    Please guide how to handle or restart this message. in SMQ1 & SMQ2 there are no queues showing:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of receiver interface action</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      </SAP:Trace>
    Regards

    Solved, few BASIS jobs were inactive in transaction code "SWF_XI_CUSTOMIZING".

  • 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

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

Maybe you are looking for

  • Master - detail block (many-to-many)

    Hello, , I have 2 tables: 1-(parts)its primary key : p_id 2-(suppliers)its primary key : s_id and they have many-to-many relationship between them . the table Resulted from the relationship is(part_supp) How can I create master-detail block Based on

  • PO output not triggering

    Hi , I have created a Purchase Order and the Output type is not getting triggered. The Condition record is maintained for document  type and partner role with PArtner value field left blank. The Partner role is not there in PO, so the output type is

  • Time stamp / serial number

    Trying to create a serial number that is stamped with a dealer ID code, and the current date/time when the form is initially opened. var dealer_id = String(Dealer_ID.rawValue); var today = new Date(); var serializedNumber = Dealer_ID + today.getTime(

  • READ statement with dynamic key

    Can i READ a dynamic table with a dynamic key combination? READ TABLE <dyn_sel_table>   INTO       <dyn_sel_wa>   WITH KEY   ? .

  • Report resident titular of accounts abroad -  model DD2

    Hello, somebody knows if the report of collections and outer payments executed through the account open in the organization non-resident is in SAP or of somebody has implanted that it? This report is given to the Bank of monthly Spain. Thank you very