Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with SO_OBJECT_SEND..

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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,

Former Member
0 Kudos

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

0 Kudos

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