Problem sending email from abap to Outlook
We have a program that sends an email from ABAP to the SAP Inbox using FM SO_NEW_DOCUMENT_SEND_API1, the email arrives at the SAP Inbox and then it's redirected to Outlook. This works fine in 4.6C
We just upgraded to ECC 6, the same process does send the email to the SAP Inbox, but it doesn't go to Outlook. In the Recipient list TAB of the email, it appears the following attributes
Recipeint email-address via internet
Send attribs NONE
Status Return Status is never returned. Status mail is only sent to inbox if error occur
Trans History : Status Document Sent
Wait for communications service
The strange thing is that if I'm in the SAP Inbox, and create and email from there, this email does go to the SAP Inbox and Outlook
Any ideas ?
Do you have COMMIT_WORK = ABAP_TRUE (or 'X') in your FM call. I had to make this change for ALL email sends when I migrated from 4.6x to next version.
In transaction SOST, can you send it from there? Is your service running constantly or periodically in development (it's usually not)...
Similar Messages
-
Sending appointment from ABAP to Outlook
Hi.
I would like to know if there is a way to send appointment/meeting requests to MS Outlook from SAP (ABAP).
I know how to send Email from SAP to Outlook with/without attachments using the "SOI1" Function-group, but I don't think (or I didn't find it) that they support Calendar actions.
Does this exist in SAP with ole?
Currently I'm on 4.6c, but we are going into Upgrade project in few months to ECC6.00.
Thanks,
Manosh.Hi,
We use this for some of our email stuff, and you have access to the Outlook Object hierarchy, so i would assume this would also allow you to create appointments, as well as anything else in outlook.
We use this for some of our email stuff, and you have access to the Outlook Object hierarchy, so i would assume this would also allow you to create appointments, as well as anything else in outlook.
Reward points if found helpful....
Cheers,
Rakesh. -
Can i send email from yahoo thru outlook from firefox?
can't send email from outlook thru yahoo without upgrade thru yahoo. can i send email from here using outlook thru here or thru my yahoo acct.?
Hi, if you have created an ePrintCenter account and added your printer to that account you can check its ePrint job history. At least that will give you more visibility to the status of any jobs you send to your printer via the ePrint service. Receiving the "no reply" confirmation message only indicates that the email you sent was received by the ePrint service and is being prepared for printing.
Here's a link with more information you might find useful ePrint Service Help
Hope this helps solve your problem
If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
I am an HP employee. -
TS3899 Problems sending email from hotmail addresses in iPad Mail
Hi
I am having problems sending email from my hotmail addresses (live.com) in the Mail program on my iPad. I get a message that says "An error occurred while sending this message". Tis morning the program worked perfectly. Now, not so much!
I have turned my iPad off and on. I have deleted and reinstalled the mail accounts. Neither strategy helped.
I have no problems with my gmail address. I can send mail if I log on to the hotmail website in Safari.
Any ideas?
Thanks23circles:
I would like to find a way to only have the gmail inbox but still send from any three of her accounts.
You can do it this way:
Set up only one account. The one from which you want to receive mail.
In Mail > Preferences > Accounts > +gmail acct+ > Email Address insert the other email addresses, separating each with a comma and single space.
Only the GMail account will receive incoming Mail. However, when you want to send from another address, in the From dropdown menu toggle the address from which you wish to send mail.
You will, of course, delete the other accounts you have created to avoid getting incoming messages.
cornelius -
Sending EMAIL from ABAP Program Configuration+Code(Step by step)
Dear All,
Please anybody can provide me Step by Step document for sending Email from ABAP Program.
Thanks,
RPNot an appropriate forum. Try ABAP forum.
Regards,
Jai Shankar -
Problem sending emails from Entourage 04 for Mac
Hello, hope this is the right forum, does anyone use Microsoft's Office/Entourage 04 for Macintosh for email? Perhaps you can help:
Suddenly I can't SEND emails from six "sub" accounts I have, and get the error message "From: address not verified". These are all normally sent via a single primary (BTInternet.com) address which is entered in the "Sending Mail" account section and has been been set up like this for a year on my iMac.
A seventh sub-account used by my partner on a different computer (PC using Outlook) also sends emails via the same primary address - and works fine..
Obviously there is a problem logging to this primary address specifically in my Entourage.
There is nothing wrong with the primary's own set-up because I can send messages from that (and the "sending" info is identical).
(Also note: I can RECEIVE emails to all the accounts, no problem).
Unless I've inadvertently clicked something I shouldn't, I'm mystified.
I'm stuck as I use use one of the "subs" all the time. Help!After much research and help (on another site forum!) it turns out this is a BTYahoo! mail fault affecting many BT accounts (in the UK at least). Why they are messing accounts around I don't know.
If anyone finds they can't send via a BT account just find another server and enter their details and all will work again - as I've discovered after a day trawling the ether! -
Unable to send email from Mac using Outlook for Mac 2011
I have a single user that cannot send email from the Mac after migrating to Exchange 2013 on-prem. I myself am on the same Exchange server and am using a Mac with Office 2011 and am able to send/receive emails without any issues.
When the user sends an email it goes to the sent mail folder and syncs with the server and can be seen on a windows machine running any other version of Office (same in OWA). I've logged the user in on my Mac and blown away my profile and seeing the same issue.
Not sure if this narrows my issue down to the Exchange server receiving the send request from a Mac or if it's some setting in Outlook on the Mac?
I do not see anything in the logs on the server and have not seen any error son the Mac.
Any thoughts as to where my issues is?Hi,
According to your description, I find that there is a single user cannot send email.
I suggest using Outlook on Windows machine and sending emails via this single user to verify whether the emails can be sent.
If the single user can send email via Outlook on Windows machine, it seems an issue on the Mac side.
I suggest asking Outlook for Mac Forum for help so that we can get more professional suggestions.
For your convenience:
http://answers.microsoft.com/en-us/mac/forum/macoutlook?tab=Threads
If can't send emails in Outlook, it seems an issue on the single user side.
I suggest trying to access the single user's mailbox via OWA to verify whether the mailbox has been migrated completely.
Thanks
Mavis
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Mavis Huang
TechNet Community Support -
Problem sending email from Acrobat
I cannot send email from within Adobe Acrobat Pro 9. I was told it was because I use Outlook 2011 as my default mail program. I was also told that I could send the email from Acrobat through the MAC OS. Do I have to go back to using the mail.app as my default mail application to do this, or is there a way to continue using Outlook as my default mail app, and use the MAC OS for sending mail from within other applications?
I don't think that you can, I switched from Entourage to Outlook and neither of them would so now I use Mac Mail.
-
Sending emails from ABAP program
Hi,
I need to send error emails from ABAP program.
I have to pass error internal table as text (not as attachment) in the email.
Can anybody supply any sample code?
Thanks in advance.
Regards,
Arun MohanHI,
See if this code helps:
***Sending mail to the receipients
if not it_final[] is initial.
Populate table with detaisl to be entered into .xls file
PERFORM BUILD_XLS_DATA_TABLE.
PERFORM POPULATE_EMAIL_MESSAGE_BODY.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESSAGE
IT_ATTACH
USING P_EMAIL
'Sales Register Report - Set Top Box / Accessories'
'XLS'
'SSTB'
CHANGING GD_ERROR
GD_RECIEVER.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
endif.
*& Form BUILD_XLS_DATA_TABLE
text
--> p1 text
<-- p2 text
FORM BUILD_XLS_DATA_TABLE .
data: wa_itab like it_final.
CONSTANTS:
CON_TAB TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,
CON_CRET TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>CR_LF.
CONCATENATE 'Business Place' 'Region Code' 'Region' 'Branch Code'
'Branch' 'Material Desc' 'Area off Code'
'Area Name' 'Zone code' 'Zone Name' 'Cust No' 'Cust Name'
'Bill Doc No' 'Bill Date' 'Base Val' 'Total Val' 'Quantity'
INTO IT_ATTACH SEPARATED BY CON_TAB.
CONCATENATE CON_CRET IT_ATTACH INTO IT_ATTACH.
APPEND IT_ATTACH.
LOOP AT IT_FINAL INTO WA_ITAB.
CONCATENATE WA_ITAB-BUSINESS_PLACE
WA_ITAB-KVGR1
WA_ITAB-REGION
WA_ITAB-VKBUR
WA_ITAB-SALES_OFF
WA_ITAB-ARKTX
WA_ITAB-vkgrp
WA_ITAB-sales_grp
WA_ITAB-bzirk
WA_ITAB-zone
WA_ITAB-kunnr
WA_ITAB-name
WA_ITAB-vbeln
WA_ITAB-fkdat
WA_ITAB-base_value
WA_ITAB-total_value
WA_ITAB-fkimg
INTO IT_ATTACH SEPARATED BY CON_TAB.
CONCATENATE CON_CRET IT_ATTACH INTO IT_ATTACH.
APPEND IT_ATTACH.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form POPULATE_EMAIL_MESSAGE_BODY
text
--> p1 text
<-- p2 text
FORM POPULATE_EMAIL_MESSAGE_BODY .
REFRESH IT_MESSAGE.
CONCATENATE SY-DATUM6(2) '/' SY-DATUM4(2) '/' SY-DATUM+0(4) INTO G_DATE.
IT_MESSAGE = 'Please find attached excel sheet.'.
APPEND IT_MESSAGE.
IT_MESSAGE = 'Sales Register Report - Set Top Box / Accessories'.
APPEND IT_MESSAGE.
Concatenate 'Report generated date' ':' G_Date '.' into IT_MESSAGE.
APPEND IT_MESSAGE.
clear it_message.
append it_message.
IT_MESSAGE = 'This is an autogenerated mail, please do not reply'.
APPEND IT_MESSAGE.
ENDFORM. " POPULATE_EMAIL_MESSAGE_BODY
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES PIT_MESSAGE
PIT_ATTACH
USING P_EMAIL
P_MTITLE
P_FORMAT
P_FILENAME
P_ATTDESCRIPTION
P_SENDER_ADDRESS
P_SENDER_ADDRES_TYPE
CHANGING P_ERROR
P_RECIEVER.
DATA: LD_ERROR TYPE SY-SUBRC,
LD_RECIEVER TYPE SY-SUBRC,
LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
LD_EMAIL LIKE SOMLRECI1-RECEIVER,
LD_FORMAT TYPE SO_OBJ_TP ,
LD_ATTDESCRIPTION TYPE SO_OBJ_NAM ,
LD_ATTFILENAME TYPE SO_OBJ_DES ,
LD_SENDER_ADDRESS LIKE SOEXTRECI1-RECEIVER,
LD_SENDER_ADDRESS_TYPE LIKE SOEXTRECI1-ADR_TYP,
LD_RECEIVER LIKE SY-SUBRC.
LD_EMAIL = P_EMAIL.
LD_MTITLE = P_MTITLE.
LD_FORMAT = P_FORMAT.
LD_ATTDESCRIPTION = P_ATTDESCRIPTION.
LD_ATTFILENAME = P_FILENAME.
LD_SENDER_ADDRESS = P_SENDER_ADDRESS.
LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
Fill the document data.
W_DOC_DATA-DOC_SIZE = 1.
Populate the subject/generic message attributes
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
W_DOC_DATA-SENSITIVTY = 'F'.
Fill the document data and get size of attachment
CLEAR W_DOC_DATA.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE.
W_DOC_DATA-SENSITIVTY = 'F'.
CLEAR T_ATTACHMENT.
REFRESH T_ATTACHMENT.
T_ATTACHMENT[] = PIT_ATTACH[].
Describe the body of the message
CLEAR T_PACKING_LIST.
REFRESH T_PACKING_LIST.
T_PACKING_LIST-TRANSF_BIN = SPACE.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 0.
T_PACKING_LIST-BODY_START = 1.
T_PACKING_LIST-OBJ_NAME = 'stb'.
DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = 'RAW'.
APPEND T_PACKING_LIST.
Create attachment notification
T_PACKING_LIST-TRANSF_BIN = 'X'.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 1.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = LD_FORMAT.
T_PACKING_LIST-DOC_TYPE = 'XLS'.
T_PACKING_LIST-OBJ_DESCR = LD_ATTDESCRIPTION.
T_PACKING_LIST-OBJ_DESCR = 'Sales_STB'.
T_PACKING_LIST-OBJ_NAME = LD_ATTFILENAME.
T_PACKING_LIST-OBJ_NAME = 'stb'.
T_PACKING_LIST-DOC_SIZE = T_PACKING_LIST-BODY_NUM * 255.
APPEND T_PACKING_LIST.
Add the recipients email address
CLEAR T_RECEIVERS.
REFRESH T_RECEIVERS.
LOOP AT IT_RECV.
T_RECEIVERS-RECEIVER = IT_RECV-EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-COPY = 'X'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
ENDLOOP.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
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.
Populate zerror return code
LD_ERROR = SY-SUBRC.
Populate zreceiver return code
LOOP AT T_RECEIVERS.
LD_RECEIVER = T_RECEIVERS-RETRN_CODE.
ENDLOOP.
ENDFORM. "SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
text
--> p1 text
<-- p2 text
FORM INITIATE_MAIL_EXECUTE_PROGRAM .
WAIT UP TO 2 SECONDS.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = ''
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
Regards
Subramanian -
Sending emails from ABAP in releases 6.10
Hi Guys,
I want to send emails from my ABAP program. I know 2 ways
to do so:
1. FM: 'SO_NEW_DOCUMENT_SEND_API1'
2. Class: CL_BSC
Is anybody knows what is the technical difference between these 2 ways?
Regards, MikhailHi ,
I am using
'CONVERT_ABAPSPOOL_2_PDF' &
'SO_NEW_DOCUMENT_SEND_API1'
to send my attachment via mail. But when i try to open my PDF file , i am getting an error 'file damaged.Unable to repair it'.....but sometimes i am able to open it....
do i need to use the function module 'scms_binary_to_xstring' ?
Hope someone can help me out as it is urgent.
Thanks,
Arun. -
Problem sending email from Ipad2
I can not send email from Ipad2. A message of "destinary rejected" appears. What should I do? thanks.
Have you successfully sent email from your iPad before? Are you connected to the internet? How large are the files you are trying to send. Are you using 3G or wifi. If you are using 3G, there is a 20MB limit. If you're using wifi and you have successfully emailed from your mail account, I would usggest you try rebooting your iPad. Press and hold both your home and power buttons at the same time for at least 10 seconds (keep holding past the swipe to shut down bar if it appears) until the Apple Logo appears, then let go of both buttons and your iPad will restart. Try again after the reboot.
-
Problem sending emails from other wifi points
Been away for christmas for few days.
Tried sending emails from various other wifi locations but they wouldn't send. However on coming home it went straight away, any ideas?
When using these other wifi points I could download emails andaccess the internet.
CheersAfter much research and help (on another site forum!) it turns out this is a BTYahoo! mail fault affecting many BT accounts (in the UK at least). Why they are messing accounts around I don't know.
If anyone finds they can't send via a BT account just find another server and enter their details and all will work again - as I've discovered after a day trawling the ether! -
Error while sending email from ABAP
Hi
I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send the email to an external id.
In the debugging mode i can see the function module is getting executed successfully i.e sy-surc value is 0.
But i am getting a sucess message i.e "No message sent".
Has anybody faced this kind of problem.Please let me know how to rectify this error
Thanks
DebrajHi Deb,
Have you done the relevant configuration in SCOT transaction to connect to a SMTP server and also as per note 455140???
Also this blog from Thomas Jung could help you...
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers
JK -
Problems sending email from aol since update 7.1
Since installing IOS7.1 I have not been able to send any email messages through any of my email accounts from I pad 2 or I phone 4S.. I can still receive emails ok. Has anyone had same problem?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
How to delete an email account on your iPad
http://www.shoppepro.com/support/knowledgebase/228/How-to-delete-an-email-accoun t-on-your-iPad.html
Cheers, Tom -
Cannot send email from iPhone using Outlook account
I cannot send or reply to emails using my att.net email account. I always get the message, "The sender address was invalid". I can receive emails from this account.
I am having the same problem. Any suggestions would be appreciated!
Maybe you are looking for
-
In mail, the status bar does not show the last time/date of update. Instead it shows the previous update time.
-
I buy in apple store OS X Lion, but I cant instal, there is message-"The item you've requested is not currently available in the U.S. store"-WHAT SHALL I DO ?.
-
Why should I use table control?
Hi, I am not expert in dialog programming so please understands why I ask this. When I want to create a program that will have multiple items to display, I came up with 2 option. First option is to use table control like many other SAP standard trans
-
What is the ios sdk version for PowerMac G5 running OS X 10.5.8 ?
am new to MAC and am really inerested in iphone dev , i bought a used PowerMac G5 with OS X 10.5.8 , am trying to install xcode and ios SDK's but am not sure which version should i install , i browse apple website and i really couldnt get an answer ,
-
Printer compatible with Windows 2000 and Windows 8 operating system?
My office needs to access a terminal server hosted offsite. The terminal server uses Windows 2000. My laptop is Windows 8. Since I upgraded my laptop I am no longer able to print. Do they make a computer that is compatible with both versions of