05-13-2009 7:54 AM
Dear All,
We are facing problem while sending mail using FM LXE_SEND_MAIL_WITHOUT_ATTMNT .
We are trying to send within same SAP server from one sap user id to another sap user id.
FM is getting executed successfully. And the mail is also visible in the sender's outbox in SAP business workplace. But the receipient does not get the mail in his sap inbox.
We tried to send mail directly from SAP inbox. It is working fine. Receipient is getting the mail in his SAP inbox.
But he is not getting mail while using the FM LXE_SEND_MAIL_WITHOUT_ATTMNT.
Regards
Sachin
05-13-2009 8:04 AM
will you able to show,how you populate the Function Module ...?
why don't you use this FM SO_NEW_DOCUMENT_SEND_API1,it won't creates any problem
Edited by: sekhar manda on May 13, 2009 9:10 AM
05-13-2009 9:18 AM
Hi,
check below link its useful for u reqirment
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/email%2bfrom%2bsap
Regards,
Madhu
01-06-2010 12:47 PM
This FM uses another FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'
Since 620 there is a new Parameter 'commit_work'.
You have to change the FM 'LXE_SEND_MAIL_WITHOUT_ATTMNT' and add one line
commit_work = 'X'
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_type = 'RAW'
document_data = doc_chng
put_in_outbox = in_outbox
*add new Parameter*
commit_work = 'X'
Now the E-Mail is sent.