Application Development and Automation 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: 
Read only

'so_object_send'

Former Member
0 Likes
908

I used this function in 2 program.

One can send mail successful.

But another one, failed,I debug it, sy-subrc = 0.but no mail send out.

I think the system configuration is right.

Can you help me to find the possible reason?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
857

YOu have to sent the commit parameter in the fm(If it is there) Else,

YOu need to submit the program RSCONN01 immediately after the call to the fm passing the parameter p_mark = 'X'.

Regards,

Ravi

8 REPLIES 8
Read only

anversha_s
Active Contributor
0 Likes
857

hi,

Check SOST transaction or SCOT.

Rgds

Anver

Read only

Former Member
0 Likes
858

YOu have to sent the commit parameter in the fm(If it is there) Else,

YOu need to submit the program RSCONN01 immediately after the call to the fm passing the parameter p_mark = 'X'.

Regards,

Ravi

Read only

0 Likes
857

Hi Ravi,

congrats for reaching 8000 marks.

keep up the good work.

Rgds

Anver

Read only

0 Likes
857

Hi,Ravi

I'm not understand what is commit parameter,but after the fm,I add a sentence: commit work.

Then It's ok.

But I don't know what's the use of it,can you explain it to me?

Read only

0 Likes
857

The FM you are using, probably updates some tables, which will be kept in a buffer until it is 'commit'ed.

If the system automatically commits , the data in the buffer will automatically updated in the database, other wise you have to commit it explicitly.

Regards,

Ravi

Read only

0 Likes
857

Hi Yang,

Y dont u try for.. SO_NEW_DOCUMENT_SEND_API1 Function module.

instead of "so_object_send".

Regards,

Kali Pramod

Read only

Former Member
0 Likes
857

no record in SOST

Read only

0 Likes
857

Hi Yang,

Refer this link for the settings that need to made to send mail from SAP to Internet.

http://help.sap.com/saphelp_47x200/helpdata/en/24/8e440aa3b011d2a26500a0c943858e/frameset.htm

@Anversha: Thank you so much..:)

Regards,

Ravi