cancel
Showing results for 
Search instead for 
Did you mean: 

hi i am unable to attach an attachment in File to mail scenario

Former Member
0 Kudos

i worked on the File to Mail scenario

i am able to send the mail to the receiver but if i would like to attach an "word document" or an pdf how can i send the document.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Kishore -

For this specific scenario (File to Mail w/ Attachments), XI supports fairly well out of the box. On the Sender File Adapter, you have to select the Additional Files indicator:

http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm

Pay attention to the "Rules for Additional Files" in the help.

On the Receiver Mail adapter, make sure you select <i>Keep Attachments.</i>

Regards,

Jin

moorthy
Active Contributor
0 Kudos

There are couple of ways to do the same.

1) You can write Java Module code and use the same in your Mail Adapter

2) You can go for WebService i.e if you want very specific format like .xsl, etc -In this case you will be writing an WebService. This webservice will be invoked by SOAP Receiver Adapter

Pls go thru following link :

/people/pere.diaz/blog/2005/07/14/broadcasting-reports-via-mail-with-pdf-attachment

/people/sap.user72/blog/2005/06/08/sending-attachments-in-mails

Hope this helps..

Regards,

Moorthy

Former Member
0 Kudos

Hi Kishore,

I found a couple of links which can actually help you:

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] [original link is broken] [original link is broken] [original link is broken]>mail [original link is broken] [original link is broken]

It is also possible to configure the mail adpater to send attachemnts without any ABAP coding. Just check out these

blogs by michal that deal with the mail adapter,

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

You can also check these links on SAP help for configuring the mail adapter,

http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

I hope your doubt is cleared now.

Regards,

abhy

Message was edited by: Abhy Thomas

Former Member
0 Kudos

Kishore, i think you need to use the payloadswapbean for this scenario. chk this link http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

Regards

Saravana