10-01-2008 9:06 PM
Hi,
I want to send mail from sap without smartform or SAP script
o
10-01-2008 9:13 PM
Check my post: [Email with Formatting |http://help-abap.blogspot.com/2008/09/sapconnect-email-with-formatting.html]on my professional blog.
Regards,
Naimesh Patel
10-05-2008 5:07 AM
Hi Naimesh,
I sending mail through HTML code , Text is going to correct email address
but i want to print dynamic values, it printing same text
*********
wa_objtxt-line = '<p> Project Name: wt_mail-project </p>'.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = '<p> Your time period wt_mail-stdate to wt_mail-edate has been wt_mail-text </p>'.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = '<p> Your productivity score for this period was wt_mail-per </p>'.
APPEND wa_objtxt TO t_objtxt.
CONCATENATE '<td>' 'This is Approved Text' '</td> </tr>' INTO wa_objtxt-line.
APPEND wa_objtxt TO t_objtxt.
Output showing as
Project Name: wt_mail-project
Your time period wt_mail-stdate to wt_mail-edate has been wt_mail-text
I need output as
Project Name: Aspenserv
Your time period 08.08.2008 to 30.08.2008 has been Approved
Thanks,
Asha
10-01-2008 9:39 PM
Hi,
This function send a simple e-mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = doc_chng
TABLES
object_content = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
Best Regards
Marcio Medeiros
10-01-2008 9:44 PM
Hi Asha,
You can FM-SO_NEW_DOCUMENT_SEND_API1 to send mails from SAP. Program RKSCMAMAIL has information on how to use this Function moddule.
10-03-2008 6:18 PM