Problem in Sending External Mail
Hi all,
I am facing a problem in sending message to the external mail server. My problem is i have created a workflow template and in that i have created a send mail step and in that i am giving a message and the recipient type is email address and the email address is [email protected]
But i am not receiving any mail to my outlook. The configuration in scot are perfect.
When i tried to send a message from my inbox new message i can able to see the mail in my outlook.
Please help me in this issue, it is very urgent.
Regards
Balaji E.
Hi Prasath,
Thanks for your kind help. I checked that too, but giving me an error
Short Text
"Cannot process message in SAP System"
Long Text:
Cannot process message in SAP System
Message no. XS817
Diagnosis
Processing could not be continued due to a technical or configuration
error in the SAP system.
System Response
Processing was terminated.
Procedure
Processing was terminated in the SAP system. The reason is given in the
details below:
The received e-Mail address WIPRO6 does not corres
Can any one help me in this issue.
Note : For the user WF-Batch there is no email id specified then i specified that and saved it.
Regards,
Balaji E.
Similar Messages
-
Sending external mail using SO_NEW_DOCUMENT_ATT_SEND_API1
When i use this RFC by appending the internal table receiver with receiver: sapuser name and rec_type B it triggers mail to the sap user login .But when i give external email address for receiver with rec_type 'U' it is not triggering any mail.Can anyone please tell me how to use this RFC in sending external mails??
I went back and you are right "INT" was not the REC_TYPE it was the COM_TYPE.
Sorry for any confusion caused.
However,
I suggest 2 more tests and then I give up and can not think about anything else.
Try:
#1
REC_TYPE = 'X'.
if it does not work.
#2
REC_TYPE = 'R'.
Hope that will do the trick. I was trying a lot when I had to get that working some time ago.
And surely the other colleagues point to something which must be setup as well. Transaction SCOT the SMTP settings.
Furthermore there could be another issue. I remember that I worked at a client who had turned off the send settings on their email server. So SAP finished everything and handed the emails on to a mail server. The mail server had a setting to block any emails from the development environment.
So that might be another cause of your issue. -
Error in sending external mail
hi ..
while sending mail using BCS objects .... i am geting error
Internal error: SO_OBJECT_MIME_GET Exception: 2
....i too configured SCOT transaction wit port number 25 , mail host and also given the internet email id for mailing user....
plz do help me ...This error occurs when you send a mail via the SMTP node and can have several causes:
1. Default domain not set
2. Default code page not set (only with multi-codepage systems)
3. Code page not suitable for sending mail
4. COMMIT WORK is missing (programming error)
5. Workplace plug-in is missing
Solution
Activate the SAPconnect trace and resend the document if necessary. The next time the SAPconnect send job is running, search for the entries marked in red in the SAPconnect trace of the document. The applicable solutions, depending on these entries, are listed below:
1. Default domain not set
Trace entries:
BCS->MIME_MESSAGE_GENERATE
Sender Address Not Found 80
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: SENDER_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
or:
BCS->MIME_MESSAGE_GENERATE
Error during MIME Flow Generation
BCS->MIME_MESSAGE_GENERATE
Error During Automatic Determinaton of Default Internet Domain
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MIME_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must set the domain of the SAP System (Settings --> Default Domain).
2. Default code page not set (only with multi-codepage systems)
Trace entries:
CL_BCOM_MIME->GET_CODEPAGE
Termination: Multi-Codepage Systems Not Supported
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page on the SMTP node.
3. Code page not suitable for sending mail
Trace entries:
CL_BCOM_MIME->GET_CHARSET
Termination: Charset Cannot Be Determined for SAP Code Page
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page (an entry is available in table TCP00A) that is suitable for sending mail on the SMTP node.
4. COMMIT WORK is missing (programming error)
Trace entries:
SO_OBEJECT_MIME_GET
No Send Order Exists -> Termination
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
Solution: See note 429427 for the correction.
5. Configuration for the sending of Business Objects
An attempt is made to send a document of type OBJ to an external recipient. This requires a conversion to TXT/HTML format, but the necessary modules are not configured correctly.
Trace entries:
SX_OBJECT_CONVERT_OBJ_HTM
Converting Document Format from OBJ to TXT/HTML
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution:
Please refer to Note 530932.
1. You can refer to SAP Note 487754.
2. Error in Sending External Mail
3. Re: BWCCMS: send email if process chain fails?
Hope this will solve your issue.
Re: Send mails
Re: SCOT Setup
Reward points.. -
Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do
Try posting this in the 10.7 Mail forum. You'll get more help there.
DALE -
How to send External mail in sap HR workflow
Hi experts,
Anybody con tell me how to send External mail in sap HR workflow ?
Regards,
Umesh.Hello,
Check the workflow builder. There is a step type of "Send mail". Just put that into your workflow definition, and your workflow will send mail.
Regards,
Karri -
How to send external mails to the user
Dears,
How to send external mails to the user who creates the sales document (Quotation)
Can you please suggest what modification required in the FM
Thanks,
pinkyYou can have a partner function like 'Created by' and use an exit to populate the User ID to this partner function(dont have the system right now but i think this can be done with standard partner detr. procedure also)
Then, create an Output type for that Partner function with transmission medium as 'External Send'. You can use the standard SAP program to trigger the email. To send the actual email after the output is trigerred, the link connection has to be set up be BASIS but if you want to check, then goto SOST and see if the email got trigerred or not. -
having problems receiving/sending e mails on ipad, deleted hotmail account and reinstated it. inbox now ok but my folders i.e drawing, deleted, sent etc have disappeared.they still show in my hotmail on my computerand iphone, they contain info i need on my ipad. How do i transfer or obtain these folders on my ipad with the info intact
when you put your mail back onto your iPad did you use the outlook option in the mail settings?
-
Send External Mail Through One Exchange Server Only
Hello,
I'm very stuck on something & new to exchange. I have two Exchange Servers:
MAIL1: Windows Server 2003 & Exchange 2007 SP2
MAIL2: Windows Server 2008 R2 & Exchange 2007 SP3
All accounts are going to move eventually to MAIL2. Until then, I would like any external emails sent, to be sent through MAIL1.
So far all all internal mail can be sent & received, and any external mail received. But I cannot send external mail from mailboxes on MAIL2 (just mine on MAIL2 at the minute). MAIL1 works fine for everything.
Can someone kindly explain what I should do to get all external mail sent through MAIL1?
Thanks,
StacyHi Stacy,
We can just remove mail2 server from the mail2's send connector and add mail1 server to it.
Then we can send mails to outside via mail1.
Hope it is helpful
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Hello,
I have a problem with send e-mail.
When I create a new message, the e-mail is send for customer and me, but the description of message dont send with e-mail.
I have created a Smartform that send this e-mail and your context there is information for send this information.
When I do a modification in this message, when i put a new description, a description preview is send, but a new description dont send.
Can anyboby help me.
Thanks a lot.Hi,
I already have created a development, but this found the description preview and not actual in run time.
Development:
read table gt_notif_type_text into gs_notif_type_text
with key type_text = gs_notif_text-type_text.
if sy-subrc <> 0.
clear gs_notif_type_text.
endif.
read table gt_notif_type_textt into gs_notif_type_textt
with key type_text = gs_notif_text-type_text.
if sy-subrc <> 0.
clear gs_notif_type_textt.
endif.
In the Smartform on acording abouve:
&gs_notif_type_textt-stxt()& &gs_notif_text-last_usr()& &gv_notif_textdate& &gv_notif_texttime&
Thanks. -
Send External mail with Attchment from SAP
Hi All,
OUR REQUIREMENT: We need to send EXTERNAL MAIL with ATTACHMENT(Excel) form SAP .
We have developed a function module which converts the internal table data into Excel Format and sends it as an attachment to External Mail.
ISSUE : But our issue is we are unable to open that document using GOOGLE DOCS Could any one help me how to do this.
it was thriughing error like
Error log is .
''Sorry, we are unable to generate a view of the document at this time. Please try again later.
You can also try to download the original document by clicking here. Alternatively, you can view the plain HTML (automatically redirecting).
Regards
Venkat .
Edited by: venkata pradeep on Mar 5, 2012 10:26 AM
Edited by: venkata pradeep on Mar 5, 2012 10:28 AMIs the excel file recognized by MS Excel? If not, then issue is you have wrongly converted your attachment and/or your FM to create an excel file was wrongly coded or you have passed it wrongly to your mail code.
If you consider an OOP approach in sending external mail, refer to this link:
http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach -
Hi all,
when a new material is created, a mail is sent to the receivers in a ztable (format of the mail address [email protected]).
All is working fine except for one user.
When this user creates a new material, she sends an e-mail with her e-mail address as sender to:
the correct receivers defined in the ztable
herself but she's not in the ztable and in the SU01 she doesn't have the e-mail address defined?
What can it be?
<REMOVED BY MODERATOR>
Thanks
Edited by: Alvaro Tejada Galindo on Mar 25, 2008 11:03 AMIf a new material has been created the program select ALL the email addresses in the ZMM_DESTMAIL (without using sy-uname or something like that) and send the email to all of them.
The user I'm talking about doesn't have to receive the mail.
She's not in the table ZMM_DESTMAIL, she hasn't the email address defined in SU01.
When she creates a new material with MM01, in the user exit with this function
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_type = 'RAW'
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
tables
object_content = objcont
receivers = reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
the emails are prepared and the SCOT Job send them every 10 minutes.
The emails generated are for the correct receivers of the ZMM_DESTMAIL and the USER who created the material (BUT SHE HASN'T TO RECEIVE THE MAIL)
Why does she receive the mail? why does she send the mail to herself? and above all where can be stored her email address?
Thanks for your aswers -
Problem to send a mail of notify to SAP Inbox instead Outlook Inbox
Hi all,
I have a customer that it's already done an upgrade to SAP_HR 4.7 and SAP_BASIS 6.20.
I haven't modify the old Workflow and I use the standard task to send the mail of notify in order to leave request.
I'm using the method SENDTASKDESCRIPTION of object SELFITEM with type address U and the mail address (external).
But the mails aren't sending to Outlook, they are sending to SAP Inbox.
So the employee see the mail into the ESS portal instead to see the mail in Outlook.
Could you suggest me if the problem is in the task of workflow, or in SCOT or in mail server, please?
Are there a new functionality in SAP in order to search the user linked with the mail address?
Thanks in advance for any suggestion.
Best Regards
Luca MoschioniHi Luca, i have the same problem, did you found any solution to this?
thanks you. -
Problem while sending the mail from sap
Hi experts,
I am facing some problem while sending mail from sap to external mail.
this is th code i am using but it is not working. plz check and tell me.
REPORT ZMAIL_DEMO.
data: maildata type sodocchgi1.
data: mailtxt type table of solisti1 with header line.
data: mailrec type table of somlrec90 with header line.
start-of-selection.
break-point.
clear: maildata, mailtxt, mailrec.
refresh: mailtxt, mailrec.
maildata-obj_name = 'TEST'.
maildata-obj_descr = 'Test'.
maildata-obj_langu = sy-langu.
mailtxt-line = 'This is a test'.
append mailtxt.
mailrec-receiver = 'SOME MAIL ID'.
mailrec-rec_type = 'U'.
append mailrec.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = maildata
document_type = 'RAW'
put_in_outbox = 'X'
tables
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0. "( did not receive any mail) *
write : 'mail sent'.
endif.Hi,
Please check with the following code.
TABLES: KNA1.
data for send function
DATA DOC_DATA LIKE SODOCCHGI1.
DATA OBJECT_ID LIKE SOODK.
DATA OBJCONT LIKE SOLI OCCURS 10 WITH HEADER LINE.
DATA RECEIVER LIKE SOMLRECI1 OCCURS 1 WITH HEADER LINE.
SELECT * FROM KNA1 WHERE ANRED LIKE 'C%'.
WRITE:/ KNA1-KUNNR, KNA1-ANRED.
send data internal table
CONCATENATE KNA1-KUNNR KNA1-ANRED
INTO OBJCONT-LINE SEPARATED BY SPACE.
APPEND OBJCONT.
ENDSELECT.
insert receiver (sap name)
REFRESH RECEIVER.
CLEAR RECEIVER.
MOVE: 'any_email'_ TO RECEIVER-RECEIVER, " SY-UNAME
'X' TO RECEIVER-EXPRESS,
'U' TO RECEIVER-REC_TYPE.
APPEND RECEIVER.
insert mail description
WRITE 'Sending a mail through abap'
TO DOC_DATA-OBJ_DESCR.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_DATA
IMPORTING
NEW_OBJECT_ID = OBJECT_ID
TABLES
OBJECT_CONTENT = OBJCONT
RECEIVERS = RECEIVER
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8. -
Hi, i have a couple of reports that send notifications via e-mail, and they are working fine, except that the e-mails only get to the SAP inbox of the users... I want the e-mails to go outside of SAP into our exchange server.
Is there a parameter that needs to be set when calling the function that sends the e-mail from ABAP, or is it a Basis problem?
If you need any more details, please tell me.
Thanks in advanceHi
Try below code it worked for me..It sends mail to external mail IDs as well..
Hope it work for you.!!
*& Report ZTUSM_SEND_MAIL *
REPORT ZTUSM_SEND_MAIL.
DATA: att_size TYPE i, " att Size
att_itab_size TYPE i, " Attachment size
mailtxt_size TYPE i. " Text in mail size
DATA:
it_mailpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE, " Dist details
it_mailhead LIKE solisti1 OCCURS 1 WITH HEADER LINE," Header data
it_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE, " Rec List
it_mailtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE, " Mail Text
it_att_data LIKE solisti1 OCCURS 0 WITH HEADER LINE, " Attachment data
it_doc_att LIKE sodocchgi1. " Attri of new doc
Text in the mail.
it_mailtxt-line =
'<BODY BGCOLOR="#FFFFCC">' &
' This is a test mail, Line Number--1'
APPEND it_mailtxt.
it_mailtxt-line = ' This is a test mail, Line Number--2' &
' This is a test mail, Line Number--2'.
APPEND it_mailtxt.
it_mailtxt-line = 'This is a test mail, Line Number--3' &
' This is a test mail, Line Number--3' &
' This is a test mail, Line Number--3'.
APPEND it_mailtxt.
DESCRIBE TABLE it_mailtxt LINES mailtxt_size.
Create the att File
concatenate 'Attachment Line Number 1' space into
it_att_data-line.
APPEND it_att_data.
concatenate 'Attachment Line Number 2' space into
it_att_data-line.
APPEND it_att_data.
concatenate 'Attachment Line Number 3' space into
it_att_data-line.
APPEND it_att_data.
DESCRIBE TABLE it_att_data LINES att_itab_size.
Attributes of new doc
CONCATENATE 'Attach' space 'mail'
INTO it_doc_att-obj_descr SEPARATED BY space.
it_doc_att-sensitivty = 'F'.
it_doc_att-doc_size = mailtxt_size * 255.
Create Pack to text in mail body.
it_mailpack-transf_bin = space.
it_mailpack-head_start = 1.
it_mailpack-head_num = 0.
it_mailpack-body_start = 1.
it_mailpack-body_num = mailtxt_size.
it_mailpack-doc_type = 'HTM'.
APPEND it_mailpack.
Create Pack for Attach.
it_mailpack-transf_bin = 'X'.
it_mailpack-head_start = 1.
it_mailpack-head_num = 1.
it_mailpack-body_start = 1.
it_mailpack-body_num = att_itab_size.
it_mailpack-doc_type = 'HTM'.
CONCATENATE 'My' space 'Attachment' INTO it_mailpack-obj_descr.
it_mailpack-doc_size = att_itab_size * 255.
APPEND it_mailpack.
it_reclist-receiver = '[email protected]'.
it_reclist-express = 'X'.
it_reclist-rec_type = 'U'.
*it_reclist-notif_del = 'X'. " request delivery notification
APPEND it_reclist.
Call FM to send email
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = it_doc_att
put_in_outbox = 'X'
TABLES
packing_list = it_mailpack
object_header = it_mailhead
contents_txt = it_mailtxt
contents_bin = it_att_data
receivers = it_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Mark if helpful
Regards -
Hi all,
I have one ALV-report which has 64 columns.
Now i want to send this report to external mail.
I have already created a program for this but the problem is that my report contains 64 columns but only 30 columns is sending to external mail remaining data is not generating in excel sheet.first check o/p in spool t.code sp02
o/p is having 64 columns or 30.
Maybe you are looking for
-
Can I automatically generate a contact list from my emails?
I've been using Mail for years. But not Address Book. I've got about 10,000 emails, and I'm wondering if there's a way to pull all the email addresses from Mail and automatically generate an Address Book out of it? Or is there a utility somewhere? Th
-
I was trying to remove some of the lines of info at the top of the Firefox screen because my netbook has less screen space then I'm used to. By mistake I eliminated the important line of controls such as bookmarks, history backward arrow etc. How do
-
Comparing columns in table and triggers
hi masters, i have oracle 10g in Linux and us PL/SQL developer to access database, ia m not a developer, but am assigned task to compare columns in table and associated trigger. let me explain, we have 800 tables, and each table essentially have a tr
-
Print Studio Pro and Photoshop Elements 12
Hello, I am having trouble installing the Print Studio Pro plug-in for Photoshop Elements. I just installed Elements 12 and downloaded Print Studio Pro 1.3.0. When I try to install the plug-in, I get a message that tells me that I do not have a sup
-
Powerbook monitor as external display for Macbook Pro
Hello, I have a powerbook G4 and a newer Macbook Pro. Is it possible to use the display of the G4 as an external monitor for the MB Pro? Thanks