Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending emails from SAP system

Former Member
0 Likes
11,039

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

8 REPLIES 8
Read only

Former Member
0 Likes
1,567

The email-ids have to be mainatined in the SCOT transaction -> SMTP - > Internet Adresses.

Regards,

Mansi.

Read only

0 Likes
1,567

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

Read only

0 Likes
1,567

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

Read only

0 Likes
1,567

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

Read only

0 Likes
1,567

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

Read only

0 Likes
1,567

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

Read only

Former Member
0 Likes
1,567

The email-ids have to be mainatined in the SCOT transaction -> SMTP - > Internet Adresses.

Read only

Former Member
0 Likes
1,567

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.