cancel
Showing results for 
Search instead for 
Did you mean: 

File To Mail scenario

Former Member
0 Kudos

Hello,

i m doing file to mail scenario.

Here i want to send xml + jpg files & they shd some as an attachment in mail

Now my problem is for xml file i have created proper source & target DT,MT & mapping between them.

But for JPG file do i need to create another DT & MT??

I m confused abt how shd i send JPG file along with XML.

Can u plz help?

Thanks,

Mahi

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

you can do it easyly with the use of abap proxy:

have a look at my weblog:

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

and then you can send it via mail or to a java proxy

from which you can fethc the file and put it somewhere

Try this it will work .... i tried it and it worked for me.

Please reward points if it helps

Thanks

Vikranth

former_member183906
Active Contributor
0 Kudos

no need of DT,MT for image files. u can go thru ID only.

try it ..

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

REWARD POINT IF HELPFUL

Former Member
0 Kudos

Hi,

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail

/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder

Regards

GabrielSagaya
Active Contributor
0 Kudos

Sending attachments in mails

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

Sending an Image File Through XI in a File-to-Mail Scenario

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c...

An approach for sending emails with attachment with help of Java mapping

/people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping

http://help.sap.com/saphelp_erp2004/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Former Member
0 Kudos
Former Member
0 Kudos

Hello Chandra,

Thanks..

But i hv already referred thid document.

I m asking abt DT/MT for JPG file

Thanks,

Mahi

Former Member
0 Kudos

No need to create DT/ MT for JPG file.

You will have to mention Module in adapter, the way it is shown in the link that Chandra has suggested