08-17-2007 11:09 AM
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.
08-17-2007 11:56 AM
08-17-2007 11:56 AM
08-17-2007 12:54 PM
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
08-17-2007 1:23 PM
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...
08-17-2007 3:06 PM
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.
08-20-2007 11:07 AM
Hi,
Please checkout this posting
sample program code
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
Regards, ABY