09-21-2007 8:52 AM
Hi
I am using SO_OBJECT_SEND for sending mail from sap. I have done neccessary connfigurations in TCode SCOT. But when i am trying to send a mail i am not getting mails to my inbox. I have use the following example..
<a href="http://www.sap-img.com/fu016.htm">http://www.sap-img.com/fu016.htm</a>
could please help me....
Thanks & Regards
Ravi Shankar B
09-21-2007 10:24 AM
What version are you on?
From 6.10 onwards (ie ECC5 / ECC6) SAP recommends you use CL_BCS methods to send emails instead of the old _API1 function modules. There are examples available on how to do this.
Did you check transaction SOST to see if you email showed there, and if so what did the log show.
If not in SOST, could be because you did not include an implicit COMMIT WORK in your code - this is required from 6.10 onwards.
Hope this helps.
Andrew
09-21-2007 9:10 AM
Hi,
Try using this FM: SO_NEW_DOCUMENT_ATT_SEND_API1.
For sample code, just look at this <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/emailfromSAP&">url.</a>
Regards,
09-21-2007 10:24 AM
What version are you on?
From 6.10 onwards (ie ECC5 / ECC6) SAP recommends you use CL_BCS methods to send emails instead of the old _API1 function modules. There are examples available on how to do this.
Did you check transaction SOST to see if you email showed there, and if so what did the log show.
If not in SOST, could be because you did not include an implicit COMMIT WORK in your code - this is required from 6.10 onwards.
Hope this helps.
Andrew
09-21-2007 11:09 AM
Hi
It is working fine.. Suppose if i want to send the same mail to more than one different mail ids. For ex..I want to send a message to both yahoo and rediff. How to do this.
Thanks & Regards
Ravi Shankar B