Error while doing file to mail scenario

Hai All,
          I am getting the following errors while doing the file to mail scenario.
Error:Exception caught by adapter framework: Failed to call the endpoint
Error:Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint.
Can anyone please give me solution...

Try this:
Re: "Could not determine code page" inbound side error
and this
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660

Similar Messages

  • Error while doing File to File Scenario

    All,
    I am trying a simple file to file scenario - where xi picks up the file from a location and maps the message and dumps it in another location.
    I am Getting the below error while doing the same .........
    Time Stamp Status Description
    2009-03-30 14:30:24 Success Channel Test_send_cc: Send binary file  "d:\input\input.xml". Size 203 with QoS EO
    2009-03-30 14:30:24 Success Application attempting to send an XI message asynchronously using connection AFW.
    2009-03-30 14:30:24 Success Trying to put the message into the send queue.
    2009-03-30 14:30:24 Success Message successfully put into the queue.
    2009-03-30 14:30:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2009-03-30 14:30:24 Error Attempt to delete file "d:\input\input.xml" after processing failed. Retry
    2009-03-30 14:30:24 Success The message was successfully retrieved from the send queue.
    2009-03-30 14:30:24 Success The message status set to DLNG.
    *+2009-03-30 14:30:24 Error Transmitting the message to endpoint http://filip:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.*
    2009-03-30 14:30:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Mar 30 14:35:24 GMT+05:30 2009.
    And i cant see the meesages using the SXMB_MONI trasaction
    please help me resolve ths issue
    Regards,
    Mahesh.
    Edited by: mahesh uma on May 3, 2008 2:12 PM

    Hi Uma,
    Go through this links::
    Hope these links are useful to you..
    Urgent: Message not transmitted from AFW to Integration server
    Error with huge file
    File to JDBC error
    Thanks,
    Satya Kumar..

  • Getting error while doing make to order scenario

    Hello Sap Gurus,
    While doing make to order scenario(strategy 20),when i am giving customer requirement through md81(using reqmt type KE),i am getting the following error,"Receiver category is not allowed by settlement profile SD1."
    Could you guys help me in solving this error.In settlement profile SD1  i have checked that valid receivers material,sales order are kept as optional,then also getting error.

    Hi Jitendra
    Can u confirm what setting is kept against reciever "sales order"? Is it kept as settlement required or optional? Ideally it should be "required"
    Also provide the error message number which u are getting
    Rgds

  • Error while executing FILE to CRM scenario

    Hi
    I am working on xml file to crm scenario. When I am execting the scenrio I can see success message in XI system but in CRM system SXMB_MONI I found the following error
    DYNAMIC_CALL_ILLEGAL_METHOD
    Unable to call the application dynamically. Method CLASS~METHODNAME of CLASS is missing
    Could you please help me why i am getting this error.
    Regards
    Sowmya
    Edited by: Sowmya on Jul 31, 2008 8:32 AM

    This is weird error. Not exactly what it says, Check your ABAP code for any transformation errors such as date format or exception catching for statements like unpack or pack.
    Do debug your ABAP code with the test XML that is causing the problem.
    VJ

  • Content is not allowed in Prolog error while configuring File to Mail

    Hi Expert,
    I have a scenario where I have to pick up a file from FTP using sender File adapter and send this file as an attachment using Receiver Mail adapter.
    There are 3 requirements :
    1) File name of the attachment in the Mail should be same as the File picked from FTP.
    2) The Mail content should be "Please find attached the <Filename> for your reference.
         i.e The content has to be dynamic
    3) Subject of the Mail should be dynamic e.g : Apple_<Filename>
    I am facing the following issues :
    1. Since single File is picked up,the file is going as an payload and not as an attachment.As a result when i am doing message mapping,i am getting the error saying "Content is not allowed in prolog" in SXMB_MONI or Runtime workbench.
    2. Since we have dynamic requirements, i have to Use "Use Mail Package" option.It implies that i have to use Message Mapping.But if i use Message Mapping,i get the error "Content is not allowed in prolog".
    I understand that most of the experts would ask me to write UDF's, but if i use UDF i am getting the "Content is not allowed in prolog" error.
    Thanks
    Saurabh

    Hi Saurabh
    Try using PayloadSwapBean:
    http://help.sap.com/saphelp_nw70/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm
    "Content is not allowed in prolog" could be caused by some encoding issue.
    Regards,
    Giuseppe

  • Error whil doing File Content Conversion

    Hi all,
       I had configured a sender for File Content Conversion and I am getting the follwoing error.
    Sender Adapter v1014 for Party '', Service 'bs_xml_sender':
    Configured at 05:39:05 2007-04-27
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pair.
    Any ideas why I am getting this error.

    Here is the detailed error message.
    "Messages:16:40:41 Start of test
      - Cannot produce target element /ns:mt_receiver/PO_NUM. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    16:45:01 End of test
    16:45:10 Start of test
      - Creating Java mapping com/sap/xi/tf/_mm_Sender_Receiver_
      - Loaded class com.sap.xi.tf._mm_Sender_Receiver_
      - Call method execute of the application Java mapping com.sap.xi.tf._mm_Sender_Receiver_
      -  *** START APPLICATION TRACE ***
      - Document start
      - Start tag [ns:mt_receiver]
      - Add raw attribute [ xmlns:ns="http://xml2xml"]
      - Cannot produce target element /ns:mt_receiver/PO_NUM. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    16:45:12 End of test

  • File - XI - Mail Scenario. ( Urgent Issue )

    Hi ,
    Good Morning...
    I am doing File to mail Scenario.
    I am Using File & Mail Adapter.
    I got 5 files in FTP server named as
    SAP1.txt
    SAP2.txt
    SAP3.txt
    SAP4.txt
    SAP5.txt
    Now File adapter should pick this 5 files and make a attachments  to a single mail.
    I am able to pick one file and attach and send it to the mail.
    But now i have to pick all te files and attach to the single mail with same file names like in source.
    How should i proceed for the scenario.
    Points will be awarded.
    Regards,
    Jayasimha Jangam

    Hi Jangam,
    ur having many files should be maped under one file and then send to a mail adapter
    it better to go with BPM is there any any common value in all the files
    pls do chk out this blog
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/community.user/blog/2006/09/07/email-reporting
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    pls do  chk this links they r mainly blogs
    if found worth pls do the req
    Thanx
    Sampath

  • Error in File to Mail Scenario

    Hi All,
      I am getting the following errror at adapter level in File to Mail Scenario in XI production
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to RCPT TO; 554 Relay access denied
    In XI development the scenario is working fine. I also checked with basis people for the configurations of the two servers and it is same.
    Can any one suggest the possible ways to solve the above error.
    Regards
    Prakash

    Hi All,
       I tried with one more SMTP server in both development and production , In development mail is going. But in production i am facing the following error in receiver adapter.
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused
    Exception caught by adapter framework: java.net.ConnectException: Connection refused
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused.
    Kindly provide some solution to solve the above errors.
    Regards
    Prakash

  • File to Mail Scenario- Error in Mail Adapter

    Hi,
    I am working on File to Mail Scenario- I am getting the below Error in Mail Adapter
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: no receiver address specified.
    Could any one please provide a solution
    Rgards,
    Varun

    Please recheck the mail adapter configuration.Check the url field.
    Ref for Mail adapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

  • Hello friends while doing file to jdbc senario I am getting error

    Hello All,
    while doing file to jdbc senario in sap xi getting error in the receiver communication channel..error is
    2007-07-17 04:11:00 Error SAPEngine_Application_Thread[impl:3]_35 1184625660906 Attempt to establish database connection failed with SQL error java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    2007-07-17 04:11:00 Error SAPEngine_Application_Thread[impl:3]_35 1184625660921 Exception caught by adapter framework: JDBC Adapter Receiver Channel RA: Database connection could not be established
    2007-07-17 04:11:00 Error SAPEngine_Application_Thread[impl:3]_35 1184625660921 Delivery of the message to the application using connection AFW failed, due to: JDBC Adapter Receiver Channel RA: Database connection could not be established.
    I am weighting for ur replay...
    Yours,
    Sateesh.j

    Hi,
    This might help you...go through the document..
    http://help.sap.com/saphelp_nw70/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
    vasanth

  • File to Mail Scenario error

    Hi All,
                    I did file to mail scenario. The source structure contain the following elements like <to>....</to>, <Subject>........</subject> etc (the source structure created by me). In Integration Directory I set the Mail adapter Message protocol as "XIPAYLOAD" and Mail attribute "Use Mail Package" selected.  So here my scenario should send a mail to which has i given "To Id" in my source structure. But when i go to SXMB_MONI, I found my message as red flag and it is showing information like "thrown during application mapping". Here what is the problem and how can i rectify the problem, please any one help me, 
    Thanks & Regards,
    Satish,

    Hi,
    you should add your email address to your user,add specific users list add you r user in alrtcatdef.
    generally you should maitain the email data type format like
    subject,from,to,content-type..
    se below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Regards
    Chilla..

  • File To Mail Scenario Clarification

    Hi!
    Can someone help me with this....
    1)In a File To Mail Scenario, while selecting the mail server, do we need to select only the mail server or we can select any server...I mean, when I was doing this scenario, I selected my Windows 2003 server....as the mail server and the url as smtp://ipaddress....Also, I tested it, by putting the Source payload in the FTP server......Then, used SXMB_MONI to check the file....I saw the success flag... My question here is, how to check the mail......Can, you give me the step by step instructions for testing the File to Mail scenario....
    2)I loaded Eclipse on my system, How to open that (execute that)...I mean...I want to learn Java Mappings..Where should I put the  code.....etc.... Step by step instructions with screen shots please....
    Thanks....

    >>2)I loaded Eclipse on my system, How to open that (execute that)...I mean...I want to learn Java Mappings..Where should I put the code.....etc.... Step by step instructions with screen shots please....
    Open the "eclipse.exe" and go on help. It will say how to create your first java project. Once you are comfortable with tool then go for Java Mapping. (Efficient way of learning
    thanks
    Farooq

  • File to Mail scenario? File not received only namespace

    Hi,
    I tried to do file to mail scenario. I read blogs and forum questions before posting this.
    My problem is that I am sending.dat file in file to mail scenario.
    I used XIPAYLOAD and without Mail adapter
    When i received mail it contains attachement Untitled.xml and it does not contain my file data it contains only this.
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30" />
    I do not know how to create file with payload containing To, from subject, content things. I tried Michal blog and disabled unneccessary fields etc. and when i send email as file but now In RWB it gives error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: no sender address specified
    regards
    hussaan

    Hi again,
    Simple message types and i use ximail30_xsd.txt from sap note as external defination
    Message mapping is also simple according to SDN TV.
    Adapter: Mail
    Transport Protocol: SMTP
    Message Protocol:XIPayload
    Adapter Engine: Integration Server
    smtps://smtp.googlemail.com:465
    Authetication Method: Plain
    User: complete email address
    Mail Attributes:
    From: email address
    To: email address
    Subject: test
    Content encoding: base 64
    Keep attachement: Option Checked
    No other change i did, With this configuration i receive email with untitled.xml attachement which contains only namespace info (no data).
    In my other try i changed message mapping and uses to create payload which michal refers by using constants(text to describe TO, from, subject) and text functions(concat)  in message mapping fields.
    Integration driectory setting for that
    Adapter: Mail
    Transport Protocol: SMTP
    Message Protocol:XIPayload
    Adapter Engine: Integration Server
    smtps://smtp.googlemail.com:465
    Authetication Method: Plain
    User: complete email address
    Mail Attributes: option checked
    Content encoding: base 64
    Keep attachement: Option Checked
    With this option it gives error in RWB that no sender  found
    Regards
    hussaan

  • Sending an excel sheet of  to mail Ids using file to mail scenario

    Hello,
    I have a folder with three folders archive exception and log. Log folders have the details of exception. I want the XML files that are in Exception, to be sent to resp email ids with the data in it to be stored in an excel sheet( data will be collected from the log file for the correspondng file in exception).
    eg: if test.xml is in exception its log will have an exception detail somethng like " Enter a value".
    In this case i want to give the exception details as well as some relevant details with it like material number etc , time at which the exception occured . These details are to be given in an excel sheet .
    Is it possible to do using file to mail scenario. Please help by explianing the procedure.
    Regards.

    This can be done with the help of some Java and ABAP coding. I can give you a general view on how to do this.
    1. Configure a file adapter for sender to pick up the exception files.
    2. While doing the mapping, create a UDF to store the values (which you need to send it to excel file) in a table in ABAP Stack.
    3. Create a ABAP Program in R3 (which can be schedule on regular intervals depending on ur req) to create an excel sheet based on the the data in the table (created in previous step). I am not sure how easy to code ABAP program to create an excel sheet.
    4. Create one more file adapter to send this excel sheet to the corresponding mail ids.
    This is a very high level view on doing this.

  • Error while uploading file into KM

    Hi Experts,
    I m getting error while uploading file into KM. Its throwing an error message like " Syngenta-POC.doc" does not exist, or file is empty; you cannot upload empty files"
    please assists me.

    Shantanu,
    Please check the files which you are upload is empty or unknown format. If everything seems valid then try to check for the corresponding SAP Note in service.sap.com
    Ram

Maybe you are looking for