‎2005 Nov 10 9:21 AM
Hi
I have a requirement in which I have to execute an unix script. In this script we are copying files to webmethods. While copying if some error occurs then an RFC (to send mail) has to be invoked in this script. My question is which function module has to be used to send the error notification mail and how is this RFC being invoked in the unix script.
In anticipation of replies at the earliest
Thanks
Sumi
‎2005 Nov 10 9:23 AM
Refer these links
http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
http://www.sapdevelopment.co.uk/reporting/email/email_sapmail.htm
This will help a lot.
Reward points if this helps.
‎2005 Nov 10 9:34 AM
Hi Sumi,
The followinf FMs may be useful
SO_NEW_DOCUMENT_ATT_SEND_API1 :Mail with attachments
SO_NEW_DOCUMENT_SEND_API1 : Mail without attachments
Regards,
Ravi
‎2005 Nov 10 9:56 AM
hi,
check out this url.
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Regards,
Sailaja.
‎2005 Nov 10 10:19 AM
Hi,
Check out these links:
http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.kabai.com/abaps/z00.htm
The FM used is usually: 'SO_NEW_DOCUMENT_SEND_API1'
Best Regards,
Anjali