‎2009 Apr 22 5:18 AM
Hai everybody,
for sending emails from SAP system , what are all the configuration we have to made & what are all the cheks we have to perform at BASIS level .
Pl guide me.
Ramesh
‎2009 Apr 22 5:19 AM
The email-ids have to be mainatined in the SCOT transaction -> SMTP - > Internet Adresses.
Regards,
Mansi.
‎2009 Apr 22 5:26 AM
Basis concept is given to you by Mansi.
In ABAP what we need to do is Create a pdf of spool request that you want to send .
then mail it by Using Function
SO_NEW_DOCUMENT_ATT_SEND_API1
Regards,
Gaurav sood
‎2009 Apr 22 5:36 AM
Thank u for u r reply,
But i have two questions:
1. Shall i have to maintain which internet adress? whether it is sender mail id or receiver mail ID or any other?
2. In my SAP system already following values are there, which one shall i replace with the mail ID?
Mail Host : mailwdf.sap.corp
Mail Port: 25
Code page: 4110 unicode UTF-8
Regards
Ramesh
Edited by: Ramesh Babu on Apr 22, 2009 6:38 AM
‎2009 Apr 22 6:05 AM
You have to maiontain Receiver's mail Id.
there are different ways to do it.
1. SAP standard system provides to store Mail Id's
2. if it is to be sent to employees maintain it in Infotype
3. you can make a ztable and store mail id there.
Regards,
Gaurav sood
‎2009 Apr 22 7:46 AM
Hi Ramesh,
Check this Blog you can understand clearly about SCOT & SMTP Server configuration as well as,
ABAP coding and Email address everything is good in this blog by Thomas Jung .
[Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/789] [original link is broken] [original link is broken] [original link is broken];
[Receiving E-Mail and processing it with ABAP - Version 610 and Higher|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/795] [original link is broken] [original link is broken] [original link is broken];
[Sending E-Mail from ABAP - Version 46D and Lower - API Interface|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/781] [original link is broken] [original link is broken] [original link is broken];
Thanks & regards,
Dileep .C
‎2010 Mar 02 5:37 PM
Hi,
Could you please give more details in case of 3 option - you can make a ztable and store mail id there.
Appreciate your response.
Thanks,
Sangeetha K
‎2009 Apr 22 5:25 AM
The email-ids have to be mainatined in the SCOT transaction -> SMTP - > Internet Adresses.
‎2010 Mar 03 3:11 AM
Hi,
Configurations need to be done with Tcode : SCOT
and RFC need to be established using SM59.
SO_NEW_DOCUMENT_ATT_SEND_API1 is the Function Module used for sending Emails from SAP System.
The Email ID's are maintained in XK02 , XD02 For Vendors and Customers in the Basic Data.
You need to write the code to fetch the ID's from the Vendor Master dataor customer master data based on the Vendor/Customer Numbers.
You can always monitor the Emails in SOST.
This is all you need to do.