2005 Dec 16 4:34 AM
Hi,
I want to send a mail in which my picture should appear as a background and not as an attachment. I tried with these functions:
1. SO_OBJECT_SEND
2. SO_OBJECT_DIRECT_SEND
3. SO_DOCUMENT_SEND_API1
4. SO_NEW_DOCUMENT_SEND_API1
But its not giving the desired result. Pls help me.
I am using 4.6C Version.
Regds,
Sriniwas.
91-9323950902.
2005 Dec 16 5:02 AM
Hi Srini,
Check out this link..
http://www.sap-img.com/fu002.htm
Hope this will helps you.
Regards,
Sakthi.
2005 Dec 16 5:35 AM
2006 Nov 07 9:22 AM
hi sriniwas,
if u got how to put an image file as background in mail, please let me know.
e-mail : reddy.14@gmail.com
2006 Nov 07 9:25 AM
Hi,
chk this sample code.
report zemail no standard page heading line-size 220.
data: message_content like soli occurs 10 with header line,
receiver_list like soos1 occurs 5 with header line,
w_object_hd_change like sood1.
start-of-selection.
* Receivers
receiver_list-recextnam = 'dude@domain.com'.
receiver_list-recesc = 'E'.
receiver_list-sndart = 'INT'
receiver_list-sndpri = '1'.
append receiver_list.
* General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
w_object_hd_change-file_ext = 'HTM'. "<--this is important
* Mail subject
w_object_hd_change-objdes = 'HTML from SAP/ABAP'.
* Mail body
append 'Message content' to message_content.
append '<b>How''s this for sending HTML E-mail from SAP?</b>' to
message_content.
append '<p>New paragraph</p>' to message_content.
append '<p>Apostrophe’s</p>' to message_content.
* Call function to send email - SAPConnect needs to be configured
call function 'SO_OBJECT_SEND'
exporting
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
tables
objcont = message_content
receivers = receiver_list.
Regards
Anver
if hlped pls mark points