2010 Jan 12 6:41 AM
Hai all,
I am trying to send mail to external mail id using the FM SO_NEW_DOCUMENT_ATT_SEND_API1. After executing when i check in sost i m getting an error 'Cannot process message, no route from sapuserto external mail id.
Can anyone help me resolve this issue pls.
Thanks in advance,
Neela
2010 Jan 12 6:43 AM
Hi,
BASIS has not configured outgoing emails for your system. Pls contact your basis team.
Thanks,
Best regards,
Prashant
Hai all,
I am trying to send mail to external mail id using the FM SO_NEW_DOCUMENT_ATT_SEND_API1. After executing when i check in sost i m getting an error 'Cannot process message, no route from sapuserto external mail id.
Can anyone help me resolve this issue pls.
Thanks in advance,
Neela
2010 Jan 12 6:43 AM
Hi,
BASIS has not configured outgoing emails for your system. Pls contact your basis team.
Thanks,
Best regards,
Prashant
2010 Jan 12 6:45 AM
Hi,
This means that mails to external IDs are not allowed from your system.
Check the T-code SCOT to see the allowed domains. If you don't have access, check with your BASIS team.
Thanks,
Vinod.
2010 Jan 12 6:50 AM
You can check user settings (SU01D) and e-mail settings (SCOT, SOST).
2010 Jan 12 9:39 AM
Hi all,
I have contacted the basis team to do the settings. Settings r done but now when i execute the prg in the function module the value of sy-subrc = 5.
How to overcome this exception.
Pls guide me.
Thanks in advance,
Neela
2010 Jan 12 10:31 AM
Hi,
You have to fill the tables parameter 'PACKING_LIST'.
try with these values
wa_objpack-TRANSF_BIN = space.
wa_objpack-HEAD_START = 1.
wa_objpack-HEAD_NUM = 0.
wa_objpack-BODY_START = 1.
wa_objpack-DOC_TYPE = 'RAW'.
APPEND wa_objpack to it_objpack.
Regards,
Daz.
2010 Jan 12 11:09 AM
Hi,
Even after filling the tables parameter 'PACKING_LIST'. I m not able to view the mail either in sbwp or sost.
Thanks in advance,
Neela
2010 Jan 12 11:28 AM
Hi Neela,
Some times due to workprocessor availibilty ,it may happen that it takes time to get visible in mailbox.Hope the query resolves soon.
Have a best day ahead.
2010 Jan 12 11:36 AM
Hi,
Is the sy-subrc of the FM 0 after the call? Did you pass the parameter COMMIT_WORK = 'X'? If not please pass this a X. Else mail wont be placed in the queue.
Thanks,
Vinod.
2010 Jan 13 12:17 PM
Hi Vinodh,
The parameter value is 0. I have also given COMMIT = 'X'. But still i m not able to send mail to external id. I m not able to view in sost or sbwp also. Pls help..
Thanks in advance,
Neela
2010 Jan 13 12:35 PM
Hi Neela,
please go through this blog. i am sure your query will be resolved.
Link:[Blog2|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15787] [original link is broken] [original link is broken] [original link is broken];
Have a best day ahead.
2010 Jan 13 1:01 PM
Hi Neela,
It could be better if you can paste your mail sending code. There might be some thing wrong in the coding part.
Thanks,
Vinod.
2010 Jan 12 10:37 AM
Hi Neela,
Please do the check this blog it will be helpful.
Link:[Blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15570] [original link is broken] [original link is broken] [original link is broken];
Have a best day ahead.
2010 Jan 13 12:51 PM
HI Neela,
In receiver parameter, you need to set the following:
wa_receivers-rec_type = 'B'. [ 'B' is for SAP user, 'U' is for internet user]
wa_receivers-com_type = 'INT'.
wa_receivers-express = 'X'.
APPEND wa_receivers TO i_receivers.
Please check with this.
Regards,
Tutun
2010 Jan 13 1:37 PM
Hi Neela,
To know whether it is configuration problem or abap code issue, try sending mail to external id
using business workplace (tcode = SBWP). From there create a new message to external email id and send. Then see in SOST/SCOT and manually transmit from there.
regards,
amit m.
2010 Jan 20 5:34 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |