Error message com.sap.aii.af.ra.ms.api.DeliveryException: error while proce

hello experts
I am sending a message WS2RFC and recieve an error message that return from the RFC.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapterFramework</SAP:Category>
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
  <SAP:P1 />
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '03042008' has a wrong format at field DATUM: Unparseable date: "03042008"</SAP:AdditionalText>
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack />
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
any ideas what it is and how to solve it?

Hi,
Looks like you have passed data in wrong format to RFC input parameter.
Your format: DDMMYYYY (03042008)
Expected: YYYYMMDD
I would use a graphical mapping function "DataTrans" to convert date format from DDMMYYYY to YYYYMMDD.
Regards,
Jakub

Similar Messages

  • Error message "com.sap.aii.af.ra.ms.api.DeliveryException: "

    Hi Team,
    Created a simple file2file scenarion successfully. Unable to pick the file from Sender directory to Receiver Directory.
    Checked from monitoring the Communication Channel.
    Error message shown for sender communication channel as below:
      Communication Channel  Status   Short Log                                Control Data   Party  Service           Adapter Type  Direction 
      sen_cc                 Red ball Processing Errors In the Last 30 Seconds  Manually             kanchuf2f_sen_bs   File         Sender                                                                               
    Line 1 / 1
    By selecting the sender communication channel "sen_cc", below is the node details given.
    Processing Details for Cluster Node Server 0 1_54295
    Type 
    Time Stamp         Message ID                           Explanation 
    12/3/08 8:20:01 AM 45f841be-a421-43bd-235a-c7ad19b0aec8 Retry interval started. Length: 60.0 seconds
    12/3/08 8:20:01 AM 45f841be-a421-43bd-235a-c7ad19b0aec8 Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:
    By clicking on the first Message ID, The message says successful upto some point  and give error says JCO COMMUNICATION FAILURE and RFC issue.
    Below is the information provided in detail.
      Audit Log for Message: 45f841be-a421-43bd-235a-c7ad19b0aec8
    Time Stamp          Status  Description
    03.12.2008 08:20:00 Success Channel sen_cc: Send binary file  "f:\xi_file\sender\f2fmap.xml". Size 210 with QoS BE
    03.12.2008 08:20:00 Success Application attempting to send an XI message synchronously using connection AFW.
    03.12.2008 08:20:00 Success Trying to put the message into the call queue.
    03.12.2008 08:20:00 Success Message successfully put into the queue.
    03.12.2008 08:20:00 Success The message was successfully retrieved from the call queue.
    03.12.2008 08:20:00 Success The message status set to DLNG.
    03.12.2008 08:20:01 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:.
    03.12.2008 08:20:01 Error Transmitting the message using connection http://sitaserv33:8001/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:.
    03.12.2008 08:20:01 Error The message status set to FAIL.
    03.12.2008 08:20:01 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:                                                                               
    Page 1 / 2
    I think this could be the problem with some basis related settings, I am not sure what exactly the issue with.
    Any idea what exactly the error is talking about please do help me in finding the solution to thresolve this error message.
    Regards,
    Venkat Ramana K

    Hi Carlos,
    Thank you for the quick information.
    Followed all the steps and also basis person from onsite restarted the XI server.
    Now, I am able to log onto XI with the login Id but, when I give Tr Code: SXMB_IFR, unable to open the browser that shows Integration Builder.
    Getting the error message.
    *500   Internal Server Error*
                                                                                    *SAP J2EE Engine/7.00*
    **Exception**
    *An internal error occurred. Contact you XI administrator*
    *Unable to read configuration data (ExchangeProfile/aii.properties)*
    Error Details, Error History, Build Info, Generic Application Info
    Regards,
    Venkat Ramana K

  • Call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException

    hello
    I am running an interface RFC2WS sync and recieve this message in the RFC. the message does not get out of the XI and rich the target (WS).
    the XI been upgraded lately, and I think this might be the cuase to the problem, becuase the interface been worked before, and still working in PROD environment as is.
    what could be the problem and how can I start investigate it to find the problem?
    this is what the SAP recieves
    call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException
    Thanks
    Kfir

    Hi Kfir,
    just check in RWB, in component monitoring, the status of integration server and adapter engine.......if it is red, then ask your basis guys to remove that error................just check your comm channels, i think your comm channels are in error, if they are just edit them, save and activate them again..........i think then your this issue will be resolved.'
    Regards,
    Rajeev Gupta

  • Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGR

    Hi all,
    I am currently doing a File --> RFC --> File synchronous interface ( I am not using RFC lookup functionality here ).
    I am doing this scenario according to the following Wiki link,
    [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)]
    When testing the interface, i am getting an error "Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGRAM_FOUND:" in the sender communication channel. I don't have any idea about this error, could anyone help me in this issue.
    Cheers,
    Sherin Jose P

    Hi Sherin Jose P,
                                Please recheck your Integration Directory configuration for the scenario. Specially please check inbound interface determination settings. Here the communication channel is unable to find the interface mapping after receiving XML message. Did you use java mapping ? then please check the code again since it might not be producing exact target xml structure. Finally please ensure all mapping programs are existing and activated. If all mapping are activated then refresh the cache.
        Please check  in st22 transaction all errors in PI, whenever you get this message. There may be other reasons of error as well. There can be occasional short dumps due to data lengths or validations in ABAP programs. These short dumps in ERP may cause failures raised in PI.
    Finally if there are some exception in mapping then this error you can expect.
    Hope this helps.
    regards
    Anupam

  • Help in com.sap.aii.af.ra.ms.api.DeliveryException

    Hi guys,
    I'm doing a complex RFC to JDBC syncronous select scenario, In my BPM the sync send step is showing an error.
    The message i'm getting in moni is
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The scenario was working fine untill yesterday....Can anyone help me in this regard??
    Thanks
    Varun

    hi varun,
    was new patch applied to the system...?
    check this for your reference
    com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process ?
    regards
    Ramesh P

  • "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExceptio

    Hello XI guru,
    I am configuring RFC to File scneario where i am using BAPI as Source. When i run this BAPI in se37 it gives me short dump stating "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:
    Please help.
    Also I want to know is it necessary to write wrapper for BAPI before configuring. This bapi list all orders created in SCM system.
    awaiting ur advises and help
    Thanx
    Anu

    Hello guys,
    I am sorry but kind of confuse, please be with me.
    I have RFC with following structure:
    'Z_BAPI_MOSRVAPS_GETLIST2'
    importing parameters
          LOGICAL_SYSTEM = T_LOGICAL_SYSTEM
          START_TIME = T_START_TIME
    TABLES
          PRODUCT_SELECTION = T_PRODUCT_SELECTION
          LOCATION_SELECTION = T_LOCATION_SELECTION
          LOCTYPE_SELECTION = T_LOCTYPE_SELECTION
          ORDER_HEADS  =  T_ORDER_HEADS
          OUTPUT_NODES  = T_OUTPUT_NODES.
    I put values in logical system/start_time/
    product_selection/location_selection/loctype_selection
    based on these values order_heads and output_nodes is populated. I want value of these to tables to be sent as file.
    Data structure for file is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">
    - <ORDER_HEADS>
    - <ITEM>
      <ORDER_NUMBER />
      <ORDER_TYPE />
      </ITEM>
      </ORDER_HEADS>
    - <OUTPUT_NODES>
    - <ITEM>
      <MASTER_PRODUCT />
      <MASTER_PLANT />
      </ITEM>
      </OUTPUT_NODES>
      </ns0:ORDER_MT>
    But the payload has value
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">
    remaining is not seen in sxmb_moni and payload cannot be read error is given.
    file structure is dummy structure, please tell me know if it is right or i need to change.
    Thanx
    Anu

  • Error in Component monitering com.sap.aii.af.ra.ms.api.ConfigException:

    Hi Experts,
    In XI(Exchange Infrastructure) i am trying to test the scenario , that is from XI to R/3 via IDOC
    using XI Runtime workbench Component Monetoring Adapter Engine and setting up all the parameters which are required but it is throwing the following error
    Error while sending message: Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=SAP_XAPP_POC_GPD;TS=SAPR3_DE1_130;AN=ID1020_PurchaseOrderAccept_OB;ANS=http://com.sap.xapps/poc/collaboration; 
    I cleared the ACH cache and also activated all the objects i checked the receiver agreement twice to confirm the parameters but then it is throwing the error pls help me in this .
    Thanks a lot in Advance .
    Kelli.

    Resolved in thread: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol ha

  • Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableExcep

    Hi,
      I am generating IDoc for infotype 2006 through creating Change pointers using the Function Module 'CHANGE_POINTERS_CREATE_DIRECT'.
    The problem is the Idoc is not reaching the receiver system. It is showing the below error message when i checked it in RWB Communication Channel Monitoring,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'XXXXX' (structure 'callperson'): com.microsoft.sqlserver.jdbc.SQLServerException: Warning: Fatal error 7987 occurred at Dec 17 2009  1:43PM( $ . Note the error and time, and contact your system administrator.
    The scenario is Sender: Idoc and Receiver : JDBC adapters.
    Please let me know how to solve this issue.
    Thanks,
    Sri

    Hi,
    From the error message: "Error processing request in sax parser: Error when executing statement for table/stored proc. 'XXXXX' (structure 'callperson'): ". I think:
    (a) If there is any data type mismatch like a character field from PI is trying to post into a date or numeric field in the stored procedure. You need to check if the data type of the fields in PI and the stored procedure are same?
    (b) If there is any structure mismatch when the XML is created by BADI like any mandatory fields are missing.
    Thanks,
    Manohar Dubbaka

  • ERROR:  "com.sap.aii.af.ra.ms.api.ConfigException:"

    Hi,
    I am working on Idoc-xi-File scanerio.
    I am facing an Error in TCode: <b>SXMB_MONI</b>
    Error is
    <b><SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: </b>
    Please tell me,
    How can solve this problem???
    Please Reply soon......
    Regards,
    Umesh Laxkar

    Hi Pooja,
    Thanks.......
    Now  my scanerio is working.
    Problem was <b>CACHE Refresh</b>.
    This document really helpful.
    Thanks again.
    Regards,
    Umesh Laxkar

  • Error com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP res 404

    Hi Friends,
    In file to file scenario i am getting this error.
    Transmitting the message to endpoint http://spcc-sappidev:50000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found
    When i see the msg in Message Detail Tool(Detail Display) I am able to see the right payload,but the file is not moving,and in audit log i can see the above mantioned error.
    Want to confirm tht the endpoint in the above error should have java port or http port?
    Also let me knw,what other things should i check.

    hi brijesh
    From SLD go the XI business system,check the check the role (IS) and the URL (the port should be HTTP PORT OF ABAP WAS)
    finally restart j2ee engine from SMICM
    regards
    kummari

  • XI messages failed with com.sap.aii.af.ra.ms.api.ConfigException

    Hi forum experts,
    A group of POs were sent at the same time, but once a while we get one PO failed with the below error.  Could someone help me understand what the below error message mean.  Your help would be greatly appreciated.
    thanks,
    Velvet
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Adapter
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: Could not check current user (PIISUSER) against technical IS service user. Reason: Failed to read IS ServiceUser Id from EP. Reason: null</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack />
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>

    Hi,
      we are facing exactly the same problem. Where you able to solve it? And how?
    Thanks.
    S.Socratous

  • Avoid the error: com.sap.aii.af.ra.ms.api.ConfigException:

    Hi!
    I still facing with the authorization error in the message (section: call of adapter).
    The error is:
    <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: Unauthorized: J2EE AE rejected user. Reason: Principal propagation is not active, but technical IS service user was not used (J2EE_ADMIN).</SAP:AdditionalText>
    When I looked into configuration I found that the j2ee_admin user will be used here (see. bellow).
    <Trace level="3" type="T">Channel for adapter engine: File</Trace>
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
      <Trace level="2" type="T">return fresh values from cache</Trace>
      <Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>
      <Trace level="3" type="T">URL = http://bera9010:50400/MessagingSystem/receive/AFW/XI</Trace>
      <Trace level="3" type="T">User = j2ee_admin</Trace>  
      <Trace level="3" type="T">Cached = X</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="1" type="T">HTTP Multipart document length: 3705</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 200</Trace>
      <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      </Trace>
      </Trace>
    Questions:
    What is the name of technical IS service user searching here? (PIISUSER)?
    How can I change this settings?
    Any helpful information will be very appreciated!
    regards
    Holger

    What is the name of technical IS service user searching here? (PIISUSER)?
    Yes
    Check the configuration guide with SAP note 974873 to find if any setting is missing.
    Regards,
    Prateek

  • Where can I find the Java Document of com.sap.aii.af.ra.ms.api.Message

    Com.sap.aii.af.ra.ms.api.Message is class that would be used in Adapter Module development, but I found I can't find the document of it in neither Adapter Module related document nor XI Mapping related document.
    Anyone can help me?

    YiNing,
    Did you check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/content.htm
    Does it help? Also did you look into the Java Docs Section,
    https://help.sap.com/javadocs/index.html
    Regards
    Bhavesh

  • Com.sap.aii.af.ra.ms.api.DuplicateMessageException - Msg Successful

    Hi all,
    We have a scenario where JDBC sender adapter polls - DB2 data base.
    Picks up the records. Updates the records.Messages are sent out.
    Everything is fine. The message is sent to IE and then to the receiver.
    But I see a com.sap.aii.af.ra.ms.api.DuplicateMessageException in the audit log.
    2008-11-21 00:00:26 Error Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException:
    Message ID 56149940-20b1-472f-0905-893a906a65cf(OUTBOUND) already exists in database:
    com.sap.sql.DuplicateKeyException: DB2 SQL error: SQLCODE: -803, SQLSTATE: 23505, SQLERRMC: #XIR1N5J;000000030F.
    2008-11-21 00:00:26 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DuplicateMessageException:
    Message ID 56149940-20b1-472f-0905-893a906a65cf(OUTBOUND) already exists in database:
    com.sap.sql.DuplicateKeyException: DB2 SQL error: SQLCODE: -803, SQLSTATE: 23505, SQLERRMC: #XIR1N5J;000000030F

    HI
    I think there is some issue with your query. Its either updating the same field or database got some error.
    Check notes 962578 & 831162
    Thanks
    Gaurav

  • Intermittent issue in PI-com.sap.aii.af.ra.ms.api.MessageExpiredException

    Hi everbody,
    We are with Intermittent problem in SAP PI 7.0.
    Some messages have this error below:
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessageExpiredException:
    Message 4bdefeac-f3e8-01de-e100-8000ac103265(INBOUND)
    expired</SAP:AdditionalText>
    The error above is appearing in Synchronous messages in trx sxi_monitor.
    We read the note 730870 and the timeout parameters is ok.
    We tried to stop/start in 'SAP XI AF CPA Cache' and 'SAP XI AF Messaging' but it not worked.
    We have one message in a SAP but  I think they do not have idea yet.
    The adapters are involved are RFC and SOAP.
    We changed the parameters:
    - 'xiadapter.inbound.timeout.default' from 180000 to 300000 .
    - 'syncMessageDeliveryTimeoutMsec' from 300000 to 600000 .
    - 'syncMessageRemover.checkInterval' from 60 to 5 .
    Please, could you have some idea to resolve this issue ?
    ps: The error started after the stop/start for renew certification in keystore (j2ee) .
    Best Regards,
    Victor Yamanaka

    Hi victor,
    could you please refer the Note 791379
    Extract from a FAQ :
    At the beginning of a synchronous RFC call the RfcAdapter (sender channel) builds up the XI request-message and will send this to the Adapter Engine with a timeout. After this it will wait till the response-message reaches or the timeout expires. In case of timeout the exception named above is thrown. The timeout used by RfcAdapter for synchronous calls can be configured for the whole RfcAdapter as a property of the RfcAdapter J2EE Service. To change it's value open the service properties sheet like  and change the value of "syncMessageDeliveryTimeoutMsec". Notice that this value is specified in milliseconds. After changing the property store the properties by clicking the save-button (disk symbol) on top of the page.If a similar error messages is shown for a receiver channel the timeout setting is done in the inbound XI-Adapter of the Adapter Engine and not via the above described setting in the RFC-Adapter. The value of xiadapter.inbound.timeout.default from J2EE Service 'SAP XI Adapter: XI' is used in this case.
    similar forum post :com.sap.aii.af.ra.ms.api.MessageExpiredException
    see if you have not referred  this already.
    Regards,
    Srinivas

Maybe you are looking for

  • RCA to mono

    Where can I buy RCA to mono Jack ? please help. Thank you

  • Forms - Submitting to different recipients depending on the selection

    I have a form which I need to submit to different email addresses depending on an option selected in one of the dropdown boxes. This MUST be done on a client-side form. Any ideas on how to go about this? I want to avoid creating a different form for

  • Using MacBook Pro as a display for external media via Thunderbolt/Displayport

    How do I enable Thunderbolt display input via HDMI to use my MacBook Pro late 2011 as a display for other media? I have HDMI connected by a rocketfish adaptor and their company website Q and A seems to indicate this should work.

  • Clean up HTML locks up program

    I have a genealogy program that generates HTML pages with lots of code. I tried to run Clean Up HTML and it locks up the Dreamweaver program. I have to do a Ctrl+Alt+Del to close the program and restart. I'm using Windows XP with a P4 processer 2.66

  • Can images be used as selections in a combo box in Acrobat 9 Pro?

    Can images be used as selections in a combo box in Acrobat 9 Pro? I only see options for text choices when I look at the combo box properties. Basically, I want to click the drop-down and see images (small logos) from which to choose as opposed to te