cancel
Showing results for 
Search instead for 
Did you mean: 

sending email from BSP

Former Member
0 Kudos

Hi,

In my project, I have a task that after clicking a button say "SendEmail", mail has to be sent to the customer.

How can I do this??

Any ideas plz....

Thanks,

Ravindra.

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

First, close/reply/reward previous threads before opening a new post.

Now to your question.

have a button or image and onclientclick invoke a javascript which will either open the mail client with pre filled info (to , subject, body) or send it immediately.

or

onclick , in the oninput do the processing and send the mail as suggested by Thomas Jung in his weblogs.

Search the Weblogs written by Thomas Jung.

Regards

Raja

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ravindra,

first u need to configuration in TX SCOT.

u can check documentation at

http://help.sap.com/saphelp_webas620sp25/helpdata/en/58/97c43af280463ee10000000a114084/

content.htm

next, plz check oss note 455140 for SMTP setup.

so i think the following link will be helpful for u to send mails from BSP.

Hope it will help u.

Regards,

Ankur

Message was edited by: Ankur Jain

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Weblog on the subject:

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

Former Member
0 Kudos

Hi Ravindra,

if you are confortable with classes and methods, you can also send mails using classes. you can refer to example application BSPTUTORIALMAIL and method SEND of its application class CL_BSP_TUT_MAIL.

you can also get detailed help from SAP help.

http://help.sap.com/saphelp_nw04/helpdata/en/34/97c43af280463ee10000000a114084/frameset.htm

Regards,

Komal

Former Member
0 Kudos

Hi Ravindra

You can use the standard SAP function SO_NEW_DOCUMENT_SEND_API1 at onclick event of button.

Hope this will solve ur purpose

Regards

Naresh

Message was edited by: Naresh Kumar Malik