cancel
Showing results for 
Search instead for 
Did you mean: 

sending a mail(IDOC REPROCESSING)

Former Member
0 Kudos

hi all,

I have a requirement that when an IDOC fails while being processed in xi then a mail should be sent to the sender of the idoc........i heared that there is a custom RFC function which does the same....can anyone help me out with this....

Thanks and Regards

keerthi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi keerthi !!

Check the following link

https://websmp203.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf

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

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

Check the following link

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

t is 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

Pls reward if useful

Answers (2)

Answers (2)

former_member214364
Active Contributor
0 Kudos

Hi Keerthi,

This functionality you can achieve with XI Alerts concept.

Why do you need RFC for this.if you want to trigger an alert from UDF in mapping use SALERT_CREATE rfc.

Cheers,

Jag

prabhu_s2
Active Contributor
0 Kudos

when an idoc fails in xi say for example due mapping error a mail can be send by configuring alerts. using bapi's also u can post an idoc to r3 but this has to customised so if any errors on posting at r3 level this can be handeled by mailing the error using function module SO_NEW_DOCUMENT_SEND_API