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
Similar Messages
-
E-Mail reporting in file to mail adapter scenario
Experts,
I am working on a file to mail adapter in which, have to just send a mail to the recipient by putting a subject line and mail body.
am following the following example
/people/community.user/blog/2006/09/07/email-reporting
but my requirement is not to send the mail attachment. I just need to send a mail body stating the error location.
here at teh receiver side, have downloaded a mail.xsd. in this "subject line","from field" , "to" field is there but there is no "mail body" field .
Can any one please help me out. I just require to send a mail body to the recipient.
Thanks
VeeruExpert,
I have used but still am getting teh attachment not as a mail body.
Isit possible to send the mail body via XSLT mapping , for eg
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://perks.com/MailTest">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>Error files from XI</Subject>
<From>from mail ID</From>
<To>to mail id</To>
<Content_Type>text/html</Content_Type>
<Content>
<xsl:text xsl:space="preserve">The error files for which service entry has not been created:</xsl:text>
<xsl:value-of select="$break"/>
<xsl:value-of select="$break"/>
<xsl:value-of select="$tableB"/>
<xsl:value-of select="$thB"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:
</Content>
</ns1:Mail>
</xsl:template>
</xsl:stylesheet>
Any suggestions?
Thanks
Veeru -
Help Required on File to Mail Adapter scenario
Hi all,
Can someone give me some links or material regarding the step by step procedure to configure a file to mail adapter scenario (including the design and configuration). I have already gone through help.sap.com, but I need more clarification. So please guide me accordingly
Regards
V.KartikHi Karthik,
Also check these links on File to Mail adapter scenario:
Blogs:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/sap.user72/blog/2005/06/08/sending-attachments-in-mails
Sap File on Mail Adapter:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
Also check these similar threads:
How to implement file to mail scenario
What is the process for sending file thru email using Mail Adapter ???
Regards,
Subhasha Ranjan -
File to mail adapter scenario.
Hi All,
i have a file to mail adapter scenario.
here i get the data from tthe different vendors and what ever comes in should be validated and if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.
my questions are...
<b>1.whare should we validate the data..is it in the XI server or receiver mail adapter..
if so..how to do that validation
2.how can we send as attachments ..
3.how can we detach them..i.e if attachments are not required 4.if content conversion conversion has to be done where is that done..
4.after coming out of the receiver adapter....how can we send it to the appliocation server.</b>
Thanks in advance..
cheers,
raghavesh
Message was edited by:
Raghavesh Reddy
Message was edited by:
Raghavesh ReddyRaghavesh,
Not sure if i follow the entire question.
><i>here i get the data from tthe different vendors and what ever comes in should be validated</i>
I guess you are getting files using the file adapter.
><i>and if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.</i>
Not sure I follow this part. You validate your incoming file and what do you do
1. If the file is valid?
2. If the file is invalid?
are you sending mails in both cases.
Like pinted out there are multiple places where validations can be done,
1. Module --> https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
2. Mapping --> Graphical / Java
There are many options and they all depend on the incomuing payload and the entire process.
So , if you can give us more details, maybe an optimum solution can be discusses.
Regards
Bhavesh -
I am trying FILE-TO-MAIL ADAPTER senorio
I have file contains following data(more than one row data in file)
emailaddress,subject, content
I used receiver Data type
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
If text file is only one record it is sending mails as mail defininition is 1..1 in ximail30_xsd
I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.
I am getting validation error.
please advice me.Hi,
><i>I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.</i>
Maybe you can consider using MultiMapping to send the multiple Mails out of XI.
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Is this what you want?
Regards
Bhavesh -
Send .bmp or .jpg File over Mail Adapter
Hi All,
I need assistance on the scenario: .jpeg or .bmp File -> XI -> SapInbox
The contents of a file will be only the image and nothing else.Hi All,
I have configured my Sender as File Adapter and Receiver Mail Adapter.
I have my source File (.jpg) on my PC.
I have the following problems in RWB when I check my Adapters :
File = Sender Adapter v2727 for Party '',Service
MyServiceName': Configured at 2006-10-11
09:40:39 GMT
History:
- 2006-10-11 10:16:50 GMT: Error: No suitable
sender agreement found
Mail = I get Status Green MyServicName:MyCommunicationChannel running: started
I cannot create a Sender Agreement as my interface is only going to get the File and send it out to Mail.
What is it that I am missing. -
hey guys
i m doing a file to Mail scenario in which i have to send mail in report format and assign the receivers dynamically,i m making use of /people/community.user/blog/2006/09/07/email-reporting to send mail in report format and /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address to assign receiver dynamically but m kinda lost in hoe should i combine these two scenarios,what will be the structure of my source and target message be?
can anyone help me in deciding how will my source and target datatypes look like?
thanx and really appreciate ur help
ahmadYour structure is dependent upon the messages that you want to import and export. What file formats are you trying to use?
If you are trying to follow Michal Krawczyk's Mail Adapter weblog then take a look at the XML message in his blog, it has fields <subject><to><from><content>. It appears that he imported an Email structure from an XSD, but there is no reason you can't create that structure yourself in the IR.
As for the weblog by Prakash Arunachalam, he provides an XML structure in his weblog at the bottom I believe.
Message was edited by:
Harrison Holland -
Sending Text File through Mail Adapter
Hi Group,
I need to send my Target as Mail attachment in the Text File?Can any body SuggestHi swabap,
You need to use PayloadSwapBean module in the Mail receiver adapter. This module will send the payload as an attchment to the mail server.
Check the following link
<a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure:///people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
Regards,
Akshay -
File to JMS Scenario - Error is Receiver JMS Adapter
Hi,
I am working on File to JMS scenario. I have deployed all required jars for MQ 6.0.2 in SDM. Create all MQ related objects. I am getting following error for Receiver JMS adapter in CC Monitoring.
Please let me know if I have missed anything. Is there anything to do in Visiual Administrator->JMS Provider or JMS Connector for these kind of Scenarios?
Thanks in Advance...
Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'sap:QM_APPLE'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1532)
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009
at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:212)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318)Hi,
I have made my Qmanager as default Qmgr. Now the error is :- Socket connection attempt refused
Recv JMS Communication Channel Error:-
Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'sap:QM_APPLE'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1532)
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:212)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318) -
Hi,
I have the mail contenent in the flat file, so i want to send this flat file to my Gmail account through the XI system. How can i do that.
Please give me some links or information related to this. What interface we need to take for file and Mail, How we need to do the mapping and all.
Points will be rewarded for helpful answers.
Thanks in Advance,
Best Regards,
VijayI have the mail contenent in the flat file, so i want to send this flat file to my Gmail account through the XI system. How can i do that.
file( attachment ) to mail
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]
Best Regards,
Srikanth
Reward the useful answers and you will get one point yourself -
File to Mail Adapter but only payload no namespace
Hi SAP Guru's,
I want to know how to handle File to Mail interface with only payload in the text file.
I am only getting this in the file
ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS
and I want to transform the structure like this to perform mapping otherwise mapping won't work.
<ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
<payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
</ns0:ContentContainer>
I believe it is only possible through xslt but I don't to know how to use it.
Can somebody please help me to resolve this issue.
Thanks,
IqbalHi
You can use FCC in sender channel, with slight change in ur structure,
ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
*<data>*
<payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
*</data>*
</ns0:ContentContainer>
Parameters
Record set str data,1
data.fieldNames payload
data.fieldSeparator 'nl'
Try it
Regards
Ramg -
File to IDOC scenario error...
Hi all,
we hhave created an File to Idoc scenario .
we are getting the following error in SXMB_MONI t-code.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
<SAP:P1>BUS_SENDER</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert sender service BUS_SENDER to an ALE logical system</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
can any one plz say wat this error might be..
TIA
Regards,
RajHi,
The problem occurs when sender and receiver business system or business service does not have a logical system name.
ID - Integration Directory
Posting the IDOC'S into SAP R/3 System, sender and receiver business system or business service requires the logical system name. If the business system (Web As ABAP) does not have the logical system name, then add the logical system for business system.
If business system type = Web AS ABAP, then add the Logical system in Technical System level and Save.
If business system type = Third-Party, then add the logical system in business system level and Save.
If the business service does not have the logical system name in ID, it needs to be configured as follows.
Go to ID and click the Business service -> Services -> Adapter Specific Identifiers. Enter the logical system name and Save.
Apply and activate.
hope this will help you.
regards
Aashish Sinha
PS : reward points if helpful -
Hi Experts,
I am working on File To Proxy Scenario. I am getting the below Error: The Messages in SXMB_MONI are going to AUtomatically Restart Status. I see some Queues with RETRY Status in SMQ2. When i am testing from SPROXY, the Table is Updated with the Corresponding Values. But when i place the file in the ftp folder then i am getting this error.
<?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="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while sending by HTTP (error code: 500, error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Please check and do the needful .
Regards,
GIRIDHARHi Giridhar,
The problem is with connection. Please check the below discussion
HTTP returns status is 500(Internal Server Error)
Problem in ABAP proxy........ | SCN
regards,
Harish -
File to Proxy Scenario : Error in communication channel monitoring
Hi,
I have developed File to Proxy Scenario on PI 7.1 system and it is not working. I see the below error in communication channel monitoring.
u201CError: com.sap.engine.interfaces.messaging.api.exception.ConfigException: Some of the IS access information is not available. SLDAccess property may be set to true, but SLD is not available.u201D
File will be picked from the FTP server.
I have created File system in SLD of type "Third Party", Can this be the issue?
Please guide me on this.
Thanks,
ChandravadanHi!
Check if the tcode SLDCHECK is ok!
Check note #764176.
Also, refer to link below and execute each steps from the links there MANUALLY.
Wizard-Based Configuration:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/2e4c1b16bb4aa8e10000000a11466f/frameset.htm
Regards,
Caio Cagnani -
File RFC sync scenario error: MsgId alredy exists in the system
Hi,
I am working on File RFC sysnc scenario.
The first message that I tried to processed gave a error
com.sap.aii.af.ra.ms.api.DeliveryException: 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 ' ' has a wrong format at field REQ_DATE_H: Unparseable date: " "
When I retried correcting the data, it started giving strange error
Message ID 62D07CA0D3EE11DCCD36DA01C52F0606 for pipeline CENTRAL, version already exists in system.
How to rectify this?
XI version is PI 7.0 SP10Nisar,
Which program to re-run? Are you talking about activating the channel again? If so, then I have done it many times changing the file name.
I got below error in Communication Channel Monitoring:
2008-02-06 02:27:39 Error Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText: ErrorStack: Message ID 83F8B0B0D48311DCA544DA01C52F0606 for pipeline CENTRAL, version already exists in system
2008-02-06 02:27:39 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error Transmitting the message using connection http://xibox:8000/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error The message status set to FAIL.
2008-02-06 02:27:39 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException -
File to IDOC scenario : Error with mapping due to Context handling
Hi Experts.
I have a file to IDOC scenario which need your advice.
Source File structure as follows:
Control_Header <1:1>
Invoice_Header <1:unbounded)
Invoice_Line <1:unbounded)
Trailer <1:1>
Payload as follows capture from SXMB_MONI
- <Control_Header>
<Key>999</Key>
<TransactionID>RCTV</TransactionID>
</Control_Header>
- <Invoice_Header>
<Key>000</Key>
<BusinessUnit>HDB05</BusinessUnit>
<InvoiceNo>64471</InvoiceNo>
</Invoice_Header>
- <Invoice_Line>
<Key>001</Key>
<UnitPrice>7.00000</UnitPrice>
<Quantity>1.0000</Quantity>
<GSTAmount>0.49</GSTAmount>
<GSTRate>0.07</GSTRate>
</Invoice_Line>
- <Invoice_Line>
<Key>001</Key>
<UnitPrice>8.00000</UnitPrice>
<Quantity>1.0000</Quantity>
<GSTAmount>0.56</GSTAmount>
<GSTRate>0.07</GSTRate>
</Invoice_Line>
- <Invoice_Header>
<Key>000</Key>
<BusinessUnit>HDB21</BusinessUnit>
<InvoiceNo>6Y0575</InvoiceNo>
</Invoice_Header>
- <Invoice_Line>
<Key>001</Key>
<UnitPrice>49.50000</UnitPrice>
<Quantity>1.0000</Quantity>
<GSTAmount>3.47</GSTAmount>
<GSTRate>0.07</GSTRate>
</Invoice_Line>
- <Trailer>
<Key>TRL</Key>
<TransactionID>RCTV</TransactionID>
<TotalFeedLine>96</TotalFeedLine>
<HashTotalValue>212.00</HashTotalValue>
</Trailer>
</ns:MT_EINVOICE>
Mapping as follow:
IDOC
<Control_Header> -> <Control_Header>
<Invoice_Header> --> <Header_Invoice>
<Invoice_Line> ---> removeContext --> <Line_Invoice> this is the child node of <Header_Invoice>
<Trailer> -
> <Trailer>
The result of the using the above Payload get the following result which not wht I seek
<Control_Header>
<Header_Invoice>
<Line_Invoice>
<Line_Invoice>
<Line_Invoice> *** This belong to the Invoice_Line of the second <Header_Invoice> at the payload
<Header_Invoice>
<Line_Invoice> *** THis segment is empty
<Trailer>
I required the Line_Invoice to belong to the child of the second <Header_Invoice>, I have tried using
removecontext with splitVaue and collaspeContext but to no avail.
May I know what is my mistake on the mapping of the Invoice_Line to Line_Invoice>
Rgds
FNGHello,
There should be something that could correlate the Invoice_Header/Key and Invoice_Line/Key. In your example, both are the same for the first and data set. If the sample looks like the one below, it is possible to sort things by correlating the Invoice_Header key and Invoice_Line key
<Invoice_Header>
<Key>000<Key>
</Invoice_Header>
<Invoice_Line>
<Key>000<Key>
</Invoice_Line>
<Invoice_Line>
<Key>000<Key>
</Invoice_Line>
<Invoice_Header>
<Key>001<Key>
</Invoice_Header>
<Invoice_Line>
<Key>001<Key>
</Invoice_Line>
An example mapping could look like this
For Header
Invoice_Header --> Header_Invoice
For Line
/InvoiceLine/Key --> removeContext --> splitByValue:valueChanged --> Invoice_Line
The subfields of the invoice line would also follow a similar logic, you just need to use formatByExample --> splitByValue:eachValue so that the context levels are the same.
Hope this helps,
Mark
Maybe you are looking for
-
Function module for getting month and year of the previous month (say -6)
Hi, Is there a function module that will get you the month and year of say, a month before, and as far as 11 months ago. For example, say today is 6/2007. I want 7 months ago. How do i get this value? What function module or method is available? Poin
-
Cost centre in the accounting document
Hi all, Can any one please let ms know, how the cost centre in the accounting document for a physical inventory adjustment is being retreived. In my scenario, the busines want to post the gain / loss from the physical inventory adjustment to diff
-
Hi I have developed an interface SOAP to Proxy, and created a web service based on the sender agreement in 7.1 PI When I try to test the web service by using the XML spy I receive the following error Http Error: Could not post the file http://nent20:
-
I just updates Apeture to version 3.3.2 after installing Mountain Lion. There are some photos in Apeture that now say, "Umsupported Image Format". Are these lost? Can I retrieve them...how? Can I change the format so that I can see them again? H
-
Reverse billing document on an archived delivery
Do you know how this would be possible? I have a billing document that i would like to reverse but am unable too because the delivery has been archived.