cancel
Showing results for 
Search instead for 
Did you mean: 

E-Mail sending with payload field in the topic and / or in the body

Former Member
0 Kudos

Hello all,

I have follow question:

For a project, we need follow functionallity:

If we get a Purchase Oder Message into the SAP XI for the customer:

1.) XI have generating an E-Mail, which the topic contains the Order Number, or in the

body of the E-Mail is a list which contains all Order - Numbers from the Message.

2.) If we send the E-Mail, a attachment shouldn't be necessary.

Can somebody help me ?

Thanks

Kind regards

Stephan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the links for Email Adapter,If u want to send the Attachment then give me ur mail id i will send you one doc which will explain u how to send Email in Attachment.

Receiver Mail Adapter.

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

/people/community.user/blog/2006/09/07/email-reporting

/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword

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

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

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

eMail Reporting

/people/community.user/blog/2006/09/07/email-reporting

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

Hello phani kumar,

thanks for your posted documents. But I have an addtional question.

We tried it the e-Mail Reporting in it is a very helpful document, but...

I get no information in our e-mail body, only I get an attachment like XXXX.dat.

The option in the E-Mail Adapter "Keep attachment" is unmark. If I mark it,

I get the XML payload as attachment.

So, it is possible to the the content as you describe in the body ?

Is here a error in the E-mail Adapter ?

On XI we use SP 19.

Thanks for your further help.

Stephan

Former Member
0 Kudos

Hi,

Then use mail package option because other options does not allow you enter you r own subject message even if you enter it takes default like payload +GUID.xml.

Regards

Sreeram.G.Reddy

Former Member
0 Kudos

Hello Sreeram.G.Reddy,

maybe I'm not articulate correct. But the problem is:

a.) If I mark the option "Keep attachment" I get the document XXX.XML.

b.) If I unmark the option "Keep attachment" I get a document called XXX.dat. The content looks like XML

document.

If I check the XXX.dat file the content is

-<ns1:Mail>

<Subject>Deliveries from XI</Subject>

<From>XXXXXX.XXXXXX@XXX.de</From>

<To>YYYYYY.YYYYY@YYY.com</To>

<Content_Type>text/html</Content_Type>

<Content>These deliveries has been completed:<br><br><table><tr BGCOLOR="#CCCC99"><td>Delivery Number&nbsp;</td><td>Order Number&nbsp;</td><td>Ship-To&nbsp;</td><td>Name&nbsp;</td><td>Product Code&nbsp;</td><td>Qty Billed&nbsp;</td><td>Status&nbsp;</td></tr><tr><td> 1000 &nbsp;</td><td> 2000 <tr><td> 3000 &nbsp;</td><td> 4000 </table></Content>

</ns1:Mail>

Nice, but I need this information as a table like eMail Reporting:

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4360] [original link is broken] [original link is broken] [original link is broken]; as Phani Kumar mentioned above.

Can anybody helps me ?

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This Links my help you.

/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

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

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

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

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

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Just refer the below link for more information.

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

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

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Mail Adapter (XI) - how to implement dynamic mail address

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

XI: Sender mail adapter - PayloadSwapBean - Step by step

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

Thnx

Chirag