Application Development 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: 

Firing an Email

Former Member
0 Kudos

Hi Experts!!

I have designed a module pool program, and SAVE button

I want to fire email while saving my data into database.

Anybody suggest me with code.

thank you in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Nahid,

Check out these links. Iam sure these would help.

Revert for more clarification.

.

regards,

Vikas

<b>Reward all helpful answers.</b>

5 REPLIES 5

Former Member
0 Kudos

Hi Nahid,

Check out these links. Iam sure these would help.

Revert for more clarification.

.

regards,

Vikas

<b>Reward all helpful answers.</b>

0 Kudos

can u please tell me by using tcode SCOT how to fire Email from sapsytem to MS outlook2003 to concern person email id.

Thanks in adv

Former Member
0 Kudos

Hi,

U can use the Tcode EMAIL rather than SCOT.Also u can refer the SAP notes 455140 and 455127.

Also if u want to send email to any adress while saving u can use the FM

SRM_TOOLS_LOG_SENDMAIL

Reward if helpful...

former_member184551
Contributor
0 Kudos

After using your SO_DOCUMENT_SEND_API1 FM, Instead of manually sending from SCOT use the following subroutine

FORM F4155_EXECUTE_MAIL.

WAIT UP TO 2 SECONDS.

SUBMIT RSCONN01 WITH MODE = 'INT'

WITH OUTPUT = 'X'

AND RETURN.

ENDFORM. " F4155_EXECUTE_MAIL

However most of the times in a PRD env SCOT is refreshed periodically, but you can use it anyways, there is no harm in it.

Hope it helps.

Former Member
0 Kudos

Hi,

Please checkout this posting

sample program code

http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html

Regards, ABY