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

problem when using function module : SO_NEW_DOCUMENT_SEND_API1

Former Member
0 Likes
423

hi,all

when i use this function module to send external email ,a strange problem has been encountered. After executing this FM,i find that the return parameters SY-SUBRC = 0 . but when i use tcode SCOT to check the email in SAP email box,nothing has been found.

could anyone please give me a clue about where the error occur ?

2 REPLIES 2
Read only

Former Member
0 Likes
390

you can try using commit work fter sy-subrc check.

and also Try calling this Function module SO_DEQUEUE_UPDATE_LOCKS

if sy-subrc eq 0.

commit work.
call function 'SO_DEQUEUE_UPDATE_LOCKS'.

endif.

Read only

0 Likes
390

HI,

it's really fantasic~~~i add thoes code in this program ,now it works well ~~~

thanks a lot~~~