Messages are failed in Adapter Engine

Hi Experts,
give me solution as early as possible pls
There is a problem with production system in XI.
I am getting the error in Adapter Engine level in Runtime workbench.
"Attempt to process file failed with
com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution:
com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload:Fatal Error:com.sap.engine.lib.xml.parser.parserException: XMLparser: No data allowed here(:main:,row:,col:75)"
The scenario is IDOC to JMS & File.
There are 2 conditions
if the data is coming from ECC is valid then Msg will go to the JMS
other wise it will be dropped into File System.There is no problem with valid data.
when ever invalid data will come 70% Messages are processed succefully and few Messages not processed.
if i resend this error message 2 or 3 times it is processed succefully, iam getting huge number of messages like this,
it is difficult to resend because if i select all Msg's it is not processed only one Msg will be processing when iam trying to re-send
please can any body give me the permanent solution for it.
Thanks & Regards
Sankar

Well,
Take account the following considerations.
1. Check your source code for the variable substitution(Maybe you can show us).
2. check in the tab "Advanced" on you file adapter configuration, there are many checkBox, for example is you are replcainf the file name in you mapping The "File Name" check(in Adapter specific attributes) has to be checked, and if you are using other variables you need to do the same.
I hope It helps you.
Ivan

Similar Messages

  • Resend Message that fails in adapter engine but shows success in sxmb_moni

    Hello SDN!!
    We are testing sending soap requests out via SSL. We are using a BEA as a pass through server for SSL encryption only.
    The scenerio is to send a message from SAP to PI 7.1 to BEA (SSL enc) to Receiving System. We successfully connect to BEA (only used as a pass-through) but the connection to Receiving System does not work. This returns an error to our adapter engine.
    My question is this, Since SXMB_MONI shows the message as successful, but the adapter engine is showing an error. What is the best way for
    1. Monitor the errors, (I only see where you can monitor the type of adapter only)
    2. Resend the message, since it shows valid in SXMB_MONI, it won't let me resend.
    Any help will be greatly appreciated and awarded
    Cheers
    Devlin

    1. Once the message is in successful status in moni, the best way to monitor becomes RWB -> Message Monitoring.
    2. For adapter engine related errors, you may resend the data manually using the resend option in the Message Monitoring. Otherwise, for automatic retry of messages, you may change the default settings.
    Regards,
    Prateek

  • Messages got stuck in Adapter engine

    We are doing http to RFC sysnchronous scenario
    Message got stuck in adapter engine.so we are getting 500 HTTP timeout error in Http client.
    Please help us to find why messages got stuck in Adapter engine.
    Below Adapter engine audit log message is pasted for your reference.
    Audit Log message:
    Time Stamp Status Description
    26.09.2008 06:33:54 Success Message successfully received by messaging system. Profile: XI URL: http://devsap01:51000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    26.09.2008 06:33:54 Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    26.09.2008 06:33:54 Success Message successfully put into the queue.
    26.09.2008 06:33:54 Success The message was successfully retrieved from the request queue.
    26.09.2008 06:33:54 Success The message status set to DLNG.
    26.09.2008 06:33:54 Success Delivering to channel: RFC_out_Test
    26.09.2008 06:33:54 Success MP: entering
    26.09.2008 06:33:54 Success MP: processing local module localejbs/RfcAFBean
    26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for ZFTestRFC
    26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for J2EE_GUEST
    ime Stamp Status Description
    26.09.2008 06:56:15 Success MP: leaving
    26.09.2008 06:56:15 Error Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.
    26.09.2008 06:56:15 Error The message status set to FAIL.
    26.09.2008 06:56:15 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..
    Kindly advise us on this issue.

    Hi krish,
           when i send a http request it got stuck in adapter engine with status "delivering" for some time....
    We found that RFC got successfully executed in R/3 system but the synchronous message is not delivered to PI.since adapter engine message is having status "delivering"
    after some time we got adapter engine message status as "cancelled with error"
    Error is Message expired exception which you can see audit log message I have pasted in my previous post.
    Meanwhile we also got HTTP timeout error in Http client.
    Could you please tell me why it got stuck in Adapter engine with status "delivering" since RFC is executed successfully.
    Why we are not getting synchronous message reply back to PI?

  • Message Archiving for the Adapter Engine

    Hi,
    we have configured archiving for Integration Engine (SXMB_MONI) messages on the Production XI System. is it necessary to configure Message Archiving for the Adapter Engine also ? in which scenarios archived adapter messages are useful ? are there any other advantages/disadvantages for this(in case of errored messages on the adapter engine) ? Please share any ideas.
    Thanks
    Pavan.

    >>is it necessary to configure Message Archiving for the Adapter Engine also
    Not necessary,but depends upon the scenario,lets say you are posting messages to external partner's FTP and there was some issue in connectivity due to which file was not delivered,in this case you need to send the message again.
    same thing can happen in inbound messages too.
    >>in which scenarios archived adapter messages are useful ?
    i would do this specifically for JDBC sender coz once you pick up the files based upon SQL query,you change the flag so that those values are not picked next time,in this case you can't re-run the old query and get same results.
    this also holds for proxies and file too.
    Thanx
    Aamir

  • Message flow between advanced adapter engine and messaging system for ICO scenarios

    Dear all,
    I'm working on a PI 7.31 AEX box and created an ICO object for one interface with HTTP_AAE2IDoc scenario. The interface works quite well. When I looked in to message log of messages for this interface in PI monitor, I noticed that the internal XI message are put totally 5 times into the send queue and retrieved from send queue. In some steps I only see after retrieving a message from send queue and immediately put it back into send queue. Can someone please kindly explain the message flow between advanced adapter engine and messaging system and what exactly happens after each retrieving a message from send queue?
    Below is an example of message log for one message:
    12/08/2014 09:26:06.472    Information    MP: processing local module localejbs/CallSapAdapter
    12/08/2014 09:26:06.472    Information    Application attempting to send an XI message asynchronously using connection HTTP_AAE_http://sap.com/xi/XI/System
    12/08/2014 09:26:06.478    Information    Trying to put the message into the send queue
    12/08/2014 09:26:06.499    Information    Message successfully put into the queue
    12/08/2014 09:26:06.499    Information    The message was successfully retrieved from the send queue
    12/08/2014 09:26:06.499    Information    The application sent the message asynchronously using connection HTTP_AAE_http://sap.com/xi/XI/System. Returning to application
    12/08/2014 09:26:06.500    Information    HTTP adapter successfully processed interface PlantResponse_Out
    12/08/2014 09:26:06.501    Information    Trying to put the message into the send queue
    12/08/2014 09:26:06.501    Information    Message status set to DLNG
    12/08/2014 09:26:06.513    Information    Message successfully put into the queue
    12/08/2014 09:26:06.513    Information    The message was successfully retrieved from the send queue
    12/08/2014 09:26:06.515    Information    Message status set to DLNG
    12/08/2014 09:26:06.533    Information    Trying to put the message into the send queue
    12/08/2014 09:26:06.548    Information    Message successfully put into the queue
    12/08/2014 09:26:06.548    Information    The message was successfully retrieved from the send queue
    12/08/2014 09:26:06.550    Information    Message status set to DLNG
    12/08/2014 09:26:06.551    Information    Executing Request Mapping "http://styrolution.com/pi/Integration/PlantMaintenance/PlantResponse/PlantResponse_to_Zcol_Basf_Inotif02_Inotif01_Zeupm_Inotif01_Ludwigshafen" (SWCV 085d2320fb3b11e2cc0bf4d50aea8c33)
    12/08/2014 09:26:06.563    Information    Trying to put the message into the send queue
    12/08/2014 09:26:06.571    Information    Message successfully put into the queue
    12/08/2014 09:26:06.571    Information    The message was successfully retrieved from the send queue
    12/08/2014 09:26:06.573    Information    Trying to put the message into the send queue
    12/08/2014 09:26:06.573    Information    Message status set to DLNG
    12/08/2014 09:26:06.580    Information    Message successfully put into the queue
    12/08/2014 09:26:06.580    Information    The message was successfully retrieved from the send queue
    12/08/2014 09:26:06.582    Information    Message status set to DLNG
    12/08/2014 09:26:06.583    Information    Delivering to channel: IDOC_R
    12/08/2014 09:26:06.583    Information    MP: processing local module localejbs/IDocOutboundModuleBean
    12/08/2014 09:26:06.583    Information    XI message received for processing
    12/08/2014 09:26:06.587    Information    Sender Party: Sender Service:SXX Receiver Party: Receiver Service:RXXCLNT200 Communication Channel:IDOC_R
    12/08/2014 09:26:06.588    Information    IDOC metadata repository is RXX
    12/08/2014 09:26:06.589    Information    Control record is not mandatory - control record will be added if not available
    12/08/2014 09:26:06.590    Information    XML Payload parsed to idoc document list with number of idocs: 1
    12/08/2014 09:26:06.595    Information    Sending idoc message to receiver R/3 system with TID XIh{lsRI824UITC0009OalmW
    12/08/2014 09:26:06.813    Information    IDOC message sent to receiver R/3 system
    12/08/2014 09:26:06.817    Information    TID XIh{lsRI824UITC0009OalmW confirmed
    12/08/2014 09:26:06.819    Information    Message was successfully transmitted to endpoint <local> using connection HTTP_AAE_http://sap.com/xi/XI/System
    12/08/2014 09:26:06.821    Information    Message status set to DLVD
    Thanks & regards
    Dingjun

    Hello All,
    Thanks for the prompt responses and with best information, But apart from this,I need how an adapter(File/JDBC) works along
    with AAE in PI 7.1. When does the job of File/JDBC adapter is completed and resumed in a synchronous case. That is,
    File Location --> file adapter -
    > XI(AAE) --> JDBC adapter --> database.
    In file sender, lets suppose we have synchronous settings(Best Effort). Now when File adapter's job is finished and when it
    gets back the response back from XI. Please explain step by step from starting(file adapter polling the location) to getting the response coming back to XI.
    Regards,
    Achari.

  • Getting synchron message data from advanced adapter engine

    Hi,
    we have to get all synchron messages from the advanced adapter engine. Normally all messages with errors must be persisted on data-base. How this will be done? We try to with
    /people/kenny.scott/blog/2009/03/08/pi-71-af-messaging-system-audit-log-persistence).
    But this don´t work :-(.
    What´s about correct messages? How this can be persisted?
    Is there a API or we must implement a Adapter Module?
    Thanks in advance,
    Frank

    Hi,
    if you just want to see the msg and not its audit log, then in PI by transaction SXMB_ADM - integration engine configurtion - configuration data, add a entry for RUNTIME category LOGGING_SYNC parameter and set it to 1...........then you can see your synch msgs in SXMB_MONI transaction in your PI system.
    Regards,
    Rajeev Gupta

  • Auto restart of messages failed in Adapter Engine PI 7.0 and 7.1

    Hi,
    I am trying to figure out a way to automatically restart the messages failed with in the adapter engine (because of the target system not available etc.). These messages are in System Error status and I can restart them from RWB. But I am looking for any report or something available either on Java or ABAP engines so that I can automate the process.
    Thanks for the help.
    VJ

    I have come across the web service AdapterMessageMonitoring in PI 7.0 (Found it in Web service navigator) with possibly useful methods. But I could not find the same service on PI 7.1. Any clue on this?
    Also, the getMessageList methods works perfectly as expected but the resendMessages mehtod fails with the exception -
    com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Exception in method resendMessages.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException>
    Will post more if move forward.
    VJ

  • Outgoing messages failing in adapter engine

    Hi,
    I would like to know the cause of the following error which I frequently encounter in my Seeburger AS2 adapter engine for outgoing messages
    MIC not verified # MIC values not verified: QRP65LlObLvoGwZmMdIFpuXsvzA=-yqCovOQUkVWawfNVfSrXXaRRt8c=
    It appears only in the adapter engine and doesnt reflect as an error in RWB.
    We have already checked the certificate being used and found it to be valid.
    Would like to know the root cause of this.
    Thanks in advance

    MIC is the message digest sent by the receiver AS2 system as a part of MDN to acknowledge the status of sent message. This is used by sender for non-repudiation of sent message. This message indicates some problem in the message sent. The point of this verification is the at sender system. This is not exactly XI related problem.
    Found a similar problem in Seeburger guides but this is related to authentication failure
    Outbound: MIC not verified # authentication-failed, processing continued
    Cause:
    An incorrect signing certificate is being was used, but the trading partner continued with the
    processing, because it doesnu2019t matter, if the message is authenticated, or not.
    Solution:
    Check the signing certificate configuration.
    Regards,
    Prateek

  • How to remove large message stuck in the adapter engine?

    Hi experts,
    We have a large message abt 100 MB stuck in the adapter engine which is causing the J2EE server to restart continuously.
    I have tried increasing the heap sizes and the number of threads in config tool, but no luck. My question here is how to remove that message? Also I checked smq1 and smq2 both are empty.
    Regards.

    Hi Nagasatya,
    This issue is realted to Large amount of data.You have to write condition in the query.I have face same issue,but resolved it.Please do the following steps.
    Go to Configtool and selct the com.sap.aii.adapter.jdbc.svc and set this jdbc service to start manually instead of auto.
    Then restart server0, this time it should be started successfully. Then go to rwb and try to
    find if any jdbc hanging/failed messages are there, if so, cancel them;also deactivate the problematic jdbc communication channel, otherwise itwill poll the data again. After all above, you can manually try to start this jdbc.svc particually.
    Thanks
    Ravi

  • ALERT not getting triggered for messages in error in adapter engine

    Hi All,
    I am doing the same scenario where I have created two Alert category Alert_cat1 and Alert_cat2, both are similar but one i have created for error in integration engine(Alert_cat1 ) and other for adapter engine(Alert_cat2).
    Now for Alert_cat1 i have created a rule and in the setting "where did the error occur" I have given no restriction.
    Now for Alert_cat2,as discussed in the above blog I have created many rule each for various adapter.
    I have tested it, above mentioned configuration is working for message mapping error (sxmb_moni)
    but not for any error in adapter engine for messages in waiting or system erroe status.
    Kindly suggest where I am going wrong.
    Regards
    Shefali S

    HI,
    please refer this below blog:
    Does Alerts work for Integrated configurations scenario??
    thanks,

  • HTTP message lands up in Adapter Engine

    Hi All
    I must be missing something basic here -
    We have a synchronous HTTP->XI->BW scenario. The message exchange seems to be fine as we can see the response back from BW. The problem is that when we look at SXMB_MONI(SXI_MONITOR) for the message we can't find it. However, on using the runtime workbench ->message monitoring we are able to see the relevant messages, only that they are listed under the "Adapter Engine" and not the "Integration Engine". It is only when there is an error in the message exchange that the messages are visible in SXMB_MONI and in the RWb under the Integration engine.
    Would somebody be able to explain why? And is there a way of making the successful messages appear in SXMB_MONI(ie Integration engine).
    Thanks a lot
    Salil

    Hey
    usually successful sycn message wont show up in sxmb_moni just like that,you need to enable entries in logging and trace
    sxmb_adm ---> integration engine Configuration ---> Specific Configuration
    enter the following
    RUNTIME LOGGING 1
    RUNTIME TRACE_LEVEL 3
    but make sure ur not doing this in Prd system coz that might fill up whole databse very quickly,only do this in dev box
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Message Got Stuck in Adapter Engine

    Hi All,
    Currently i am facing one problem with Adapter engine. The issue is we have one FILE to RFC to FILE scenario. Source file got picked at 7:15 AM in the morning. But XI placed the target file at 8:05AM. so XI it took 50 mintues to process the file. But in SXBM_MONI the time difference between request and response messsages in 6 seconds.
    Where as as per the logs in RWB, Adapter engine too 50 minutes to process a single fine.
    Here my question is waht could be the reason for this delay in processing and waht should i do to avoid such delays in real time.
    Please help me out in this. Thanks in adavance.
    Regards,
    Manjula P.

    Hi,
    The link for message diaplay tool
    http://server url:Port/MessagingSystem/monitor/monitor.jsp
    Click on Sent messages=>Synchronous. Give the proper time when error was occured. The second column is audit log and send the details to us thru the same thread.
    and
    Click on recevied messages=>ASynchronous. Give the proper time when error was occured. The second column is audit log and send the details to us thru the same thread.
    Thanks,
    Ramesh

  • Message failed on adapter engine

    I have cofigured the IDOC-XI-JDBC scinario. Everything works except the adapter's status is 'holding' for a long time when trying to send to JDBC. Wish to help me.
    [email protected]
    Thanks and Regards
    Amanda

    Hi Amanda,
           JDBC adapter tends to hit the database every x secs(polling interval) .So either increase the polling interval or change Quality of Service to (QOS) to Exactly Once (EO).
           if your values are getting updated in the database on the receiver side and yet your adapter status is 'holding' for a long time , above mentioned should be the problem.
           If your values are not getting updated in the receiver database and u r landing up with the message, then the problem should be in JDBC driver , username and password informations that you gave in the JDBC adapter configuration.
           Try entering into the receiver database manually with the exactly log on parameters u gave while configuring JDBC receiver adapter .If you are not able to log in , then this is the problem. If u r able to log in then have a sharp look at the driver type you specified.
           Hop this helps you in locating the root cause.
    regards,
    Aravindh.

  • Message Processing through Advanced Adapter Engine

    Hi All
    I am trying to design a high volume asynchronous interface through AAE .  The scenario is File to ABAP server proxy .
    I have few questions about AAE processing with Sender File and Receiver Soap adapter.
    1) Suppose if I have 50,000 transaction records in one file Will all go to one queue for processing or many queue processing for processing . if it is  many, is it configurable?
    2) Should the single file having 50,000 transaction be split to many messages  and processed in parallel .
    I am trying to find out how AAE helps to achieve performance .
    Thanks in Advance.

    hi,
    >>>1) Suppose if I have 50,000 transaction records in one file Will all go to one queue for processing or many queue processing for processing . if it is many, is it configurable?
    if you're pushing via AAE (ICO object) only then you can have 50k messages in one file easily
    (shound't be more then a few minutes to process in PI) if they are the standard size
    Regards,
    Michal Krawczyk

  • My messages are failing

    When I try to send a message on my iPad 2 it keeps saying Not Delivered

    Hello there donna,
    Thank you for using Apple Support Communities!
    I would suggest taking a look at this article named iOS: Troubleshooting Messages found here http://support.apple.com/kb/TS2755
    If you still can't send or receive SMS or MMS messages
    See the iPhone Troubleshooting Assistant.
    Verify that every phone number in your contacts list includes an area code.
    When sending to existing contacts, ensure that your contacts include the full phone number, and not just the information needed to dial locally.
    If you have recently ported your number from another carrier, please contact your current carrier to verify that the porting process has completed successfully.
    If you still can't send or receive MMS messages
    To send and receive MMS messages on your iPhone, verify that your wireless carrier supports MMS2.
    Ensure that MMS Messaging is turned on in Settings > Messages.
    Verify that your phone is able to access cellular data.
    Some carriers allow you to edit your APN (Access Point Name), which may prevent MMS from working.
    If you are roaming outside your calling area, make sure you have Data Roaming turned on in Settings > General > Cellular to send or receive MMS content.
    While on a phone call, you will be unable to send or receive MMS messages when using an EDGE, GPRS, or any CDMA cellular data network. After the phone call ends, you will receive any incoming messages. If you tried to send an MMS message, you may need to send it again.
    If the issue persists and your wireless carrier has confirmed that your wireless account is provisioned2 for MMS, restore the iPhone.
    If you still can't send or receive iMessages
    Ensure that iMessage is turned on in Settings > Messages.
    To send and receive iMessages, your device must have a valid cellular or Wi-Fi data connection.
    iPhone: Troubleshooting Cellular data
    iOS: Troubleshooting Wi-Fi networks and connections
    iMessage registration validates your Apple ID for use with iMessage. If you are unable to activate iMessage, follow this article.
    If an iMessage cannot be sent, it will be resent using SMS or MMS, depending on the content. You can turn this behavior on or off in Settings > Messages > Send As SMS. Carrier messaging rates may apply.
    Verify that the Apple ID or phone number is listed in Settings > Messages > Send & Receive.
    Note: To receive iMessages sent to your phone number on your iPad, iPod touch, or Mac, you must meet the following requirements:
    iPad or iPod touch using iOS 6 or a Mac using OS X 10.8.2.
    Verify that you are signed in to your Apple ID account on Settings > Messages > Send & Receive.
    Regards,
    Sterling

Maybe you are looking for

  • How can I organize photos in Mavericks?

    I am currently using Mavericks on a MacBook. I imported from an older Mac and from an older Linux machine. With all the sources, and with import trouble, I ended up with multiple duplicates of most of my files. Over the past several months, I have be

  • IPod Touch not recognized by Windows Explorer.

    My iPod Touch is shown in iTunes' list of devices but is not recognized by Windows Explorer.  Another possibly consequential symptom is that iTunes will not start when the device is connected to the computer.  Any help appreciated. Windows 7 Pro, IE9

  • Mac Mini refusing to support res greater than 1280x1024

    Hi, I'm trying to set up a Mac Mini for my family, and have been having trouble getting both XP (via bootcamp) and Leopard to support my 24" monitor's native widescreen resolution of 1920x1200. When I go to the Display setup menu the max res it lets

  • Custom Page Size Doesn't Print.

    I am trying to make a booklet with a page size of 7.5" x 6.0", with each page being folded in half to make a 7.5" high x 3' wide booklet.  I have made a custom template in the Page Setup with the sizes I have indicated.  I have typed what I want on t

  • Insert Records in one table that's not in other table

    Really need your help, I have spent the last five hours on the following code, but can't get it working. What I want done is INSERT records in persons where the same records do not exist in table new_person. see the below error: rror at Command Line: