How to Send an Email to Outlook using process type in RSPC?
Hi,
How to Send an Email to Outlook using process type in RSPC?
We created lot of process variants, actually we want to send an mail to users if the DP Background job was succesfully finished.
Actually i tried with create message its not happening...
Plz let me know .. its urgent ...
Regards,
Satish
Hello Satish,
If you want to send a friendly message to your users, then you can do this by building an ABAP program that calls function module SO_NEW_DOCUMENT_SEND_API1 . You can then insert this ABAP program in your process chain (using the ABAP program process type) or as a second step in your background job. With this technique, you can send an email to SAP users, or to external users (e..g Outlook email addresses)
Here's a sample ABAP code:
data: ls_docdata type SODOCCHGI1,
lt_objcont type table of solisti1,
lt_receivers type table of somlreci1,
ls_objcont type solisti1,
ls_receivers type somlreci1,
ls_user type syuname.
* Fill these variables with subject and msg lines that you need.
data: MAIL_SUBJECT TYPE STRING,
MSG_LINE1 TYPE STRING,
MSG_LINE2 TYPE STRING,
MSG_LINE3 TYPE STRING,
MSG_LINE4 TYPE STRING,
MSG_LINE5 TYPE STRING.
ls_docdata-obj_descr = mail_subject.
ls_objcont-line = msg_line1.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line2.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line3.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line4.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line5.
append ls_objcont to lt_objcont.
* t_userlist contains the list of users to whom th email will be sent.
loop at t_userlist into ls_user.
ls_receivers-receiver = ls_user.
"Change the type here if email is for outlook users, See documentation
" of function module in SE37
ls_receivers-rec_type = 'B'.
ls_receivers-express = 'X'.
append ls_receivers to lt_receivers.
endloop.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_docdata
tables
OBJECT_CONTENT = lt_objcont
receivers = lt_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
You can test out the function module first in SE37 (just put the name of the FM and click execute). Testing it in SE37 will help you get your parameters right.
Hope this helps.
Similar Messages
-
How to send HTML email in Outlook
How do I send a HTML email in Outlook 2003? I figured out how to do it in Outlook Express. I can't figure out how to open the place for entering the source code like OE. How do I do this.
Yes, I have already posted the HTML onto a server.
Yes, the CSS is in the HTML file.Don't use Outlook or Outlook Express for this.
My recommendation is the same as Joe's. Either use a dedicated bulk email software or a bulk email service like MailChimp, etc...
If your list is especially large, and you attempt to send to a volume that's prohibited by your server or email service provider, you could be in violation of their anti-spamming rules. You don't want that.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Sorry Joe. Didn't mean to call you EagerBob. -
How to send Notification email to Outlook mail?
Hi all,
am new to workflow,
is there any possiblity with sending notification emails using rule?
in my requirement i have to send email notifications to concerned manager using A002 relationship in HR?
Can anybody help me?
Thanks in advance,Hi,
You will have to do the following:
1. Create a new container element (for eg. APPROVER) with Data type WFSYST-AGENT.
2. Create a new background method(if required create a new Business object also) to your BO object to populate this container element.
3. Use the following code in your method:
DATA: G_SNAME TYPE SMNAM,
G_USER TYPE SYSID,
NEXT_PROCESSOR_TAB TYPE PTREQ_UIA_APPROVER_TAB.
PERFORM FIND_NEXT_PROCESSOR(RPTREQAPPRCHK)
USING
PERNR
REQTYPE
CHANGING
NEXT_PROCESSOR_TAB
G_SNAME
G_USER.
CONCATENATE 'US' G_USER INTO APPROVER.
3. Add a new activity step to your workflow calling this method.
4. Use your(current) send mail step with agent field having value 'APPROVER'.
Hope this will work.
Regards
Gautam -
How to send BULK email into INBOX using ASP
Dear Gurus,
I am using GOMAIL to send newsletter to 2000 of my subscribed
users. but no
one is getting their emai intheir inbox
Only users other than yahoo,hotmail,rediff,gmail are getting
in their inbox
I want to know how can I make sure that users who has hotmail
and yahoo
accounts also get my newsletter into their inbox cos
currently it goes to
their JUNK email or bulk email folder.
I know lots of companies who send newsletter to my HOTMAIL
inbox.
Please suggest as this is very importantYou can send email from javascript in an content editor web part or HTML Form webpart (if someone is doing this interactively in the browser AND they have an email client installed) by changing the current page ref to a mailto: reference.
location.href="mailto:"+emailTo+emailSub+emailBody;
var emailSub = "?subject=xxxxx";
var emailBody = "&body=xxxxx";
That will pop up an email window. Build up the emailTo by using Javascript/JQuery to pick up selected people on the page, or all rows on the page, or use something like SPServices or web service calls to pick up all items in a specific view. Depends totally
on how you want the UI to work. Not sure I'd do this on an external facing SP site since you wouldn't want any emails addresses in the clear to harvest, but inside a company intranet should be fine.
For example, you could read all records in the Supervisors view, build up the emailTo var with the correct addresses or names that your email client needs, then set location.href to the correct mailto: link.
Robin -
How to send an email with attachment using shareponit 2013
Hi Team,
I have a PowerView report in my PowerPivot gallery and I want to export it to a PDF file then email it to id. Also I need this to be scheduled.
Kindly suggest on the steps!
Thanks in Advance!!
Thanks,
Arsath.Create a customcode to export the powerview report to powerpoint and then a small email script will do
http://office.microsoft.com/en-in/excel-help/export-a-report-from-power-view-in-sharepoint-to-powerpoint-HA102834765.aspx
http://technet.microsoft.com/en-us/library/hh231522%28v=sql.110%29.aspx
I could not find a way to do so but check below:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/fd9e90e2-ebc5-4dfb-9eaf-a263729b8ed2/how-to-generate-powerview-model-programmatically?forum=sqlreportingservices
If this helped you resolve your issue, please mark it Answered -
How to send secure email using JavaMail
Hi, anyone out there know how to send secure email using Java Mail? Greately appreciated.
For starters, if you have not already done so, read about it in the JavaMail design specifications.
Search for Message Security in the said document. -
How to send CC email using SO_DOCUMENT_SEND_API1
Hi,
How to send CC email using SO_DOCUMENT_SEND_API1. Any sample code is very much appreciated.
CheersPlease check In this function there is a flag in RECEIVERS table for sending mail as COPY or BLIND COPY
a® -
How to send sms,Email using java
how to send sms,Email using java
Hi,
There are many sms gateways that have their own api to send sms. You can use them for sms. (They will charge you for the sms!!!)
Moderator edit: Link removed
Thanks
Edited by: PhHein on 20.10.2010 16:11 -
How to send an email using XML Publisher
Can any body help me how to send an email using XML Publisher.
Regards,
SureshSorry ,
when a http://blogs.oracle.com/xmlpublisher/newsItems/departments/documentDelivery
this it show this not answer the question.
Thanks
Welcome to Oracle Blogs
Welcome to the Oracle blogging community, where Oracle executives, employees, and non-employees exchange views about customer requirements and best practices.
We're sorry, the weblog you requested cannot be accessed.
- You may not have the necessary permission for access the weblog.
- This weblog does not exist.
You may wish to try again using one of the tools below.
- Check the URL and contact your System Administrator for access.
- Or click here to go back to Oracle Blogs homepage.
Powered by
Movable Type and Oracle
The views expressed on this blog are my own and do not necessarily reflect the views of Oracle. Terms of Use -
When I send an email from outlook on my computer, the email address appears in my iphone4 contact list. How do I stop this?
Blair84 wrote:
Double check your contacts email, and if its incorrect, go to their contact and change it and save it or you can delete the email you put in, and manually type it in.
Hope this helps.
How would that help the original poster? -
Sending an Email with Outlook Reminder
Hello All,
We are using Siebel 7.8 and have a requirement wherein we need to send out System Generated Emails through Siebel at specific intervals of an SR Date Field. The email client that users use is Microsoft Outlook and the requirement is to send a System Generated Email with an Reminder that should automatically pop up using Outlook's reminder functionality.
I have searched through multiple posts and websites but all I can come across is related to sending emails. Does anyone have any experience and know how on sending an email through Siebel Systems which automatically provides an Outlook reminder.
Warm Regards,
Tanmay JainHello jiyong,
Thanks a lot for your input. The requirement that we are having is slightly different. The users use Internet Explorer directly to access Siebel interface and do not have anything installed on their systems as such.
Based on a date field for eg Due Date, we need to trigger auto generated emails from Siebel which will pop up on the user's email client as a Reminder. We are already sending in the hyperlink to the Siebel record as a part of the email and users can directly navigate to Siebel record from the email. Its just that something that is possible through emails sent through Outlook which they want to be done through Siebel generated emails as well.
From my investigations, what I found that the Reminder is pretty specific to Outlook program and there is no generic standard across different email clients. Thus I am having a feeling that this feature may not be directly possible through Outlook. I will keep on investigating further though. At worst I will install something like Wireshark to intercept the exact content of email that Outlook sends out and if its not too much work put that in Siebel.
Thanks again for your response. Warm Regards,
Tanmay Jain. -
How to send a email with a link
Hi All,
I have a scenario where I have to send an email to a person informing him about the workitem
Now this user is not a SAP user so i have to send a link to him of a web page where he will execute
the work item.Please advice about how to send the email with a link.
Thanks in Advance,
Saket.Hi,
If you are using a Workflow, in the send mail step type, simply write the e-mail link and press enter.
when the user sees the same in the outlook, he will get them as a link but this does not happens when the mail is seen in the SAp INBOX.
if you are using the FM, give the document type as 'HTM', to send mail.
This will work for you.
Let me know if u face any issues
Regards,
Kanika -
How to send an Email with content at the end of a Quiz?
Hello,
i have three Questions about the navigation function "sending an Email" at the end of an Test or Quiz, and i haven´t found any answers in the forum yet.
An Information at the beginning:
I want to use the Test without any other System, for example Moodle. It will be directly reachable with a link on a homepage.
1) Is it possible, to send an Email with answers of the User as the content in the email, and if it´s possible, how?
2) If it´s not possible, could i precast a Text in the email? Until now, there is only an empty Outlook-Window with the Emailadress.
3) Is it possible, to send an Email without Outlook, so a User can use it only web-based, for example with gmx, webmail etc...
Thank you for helping me
Zholmar
(German)
Hallo,
ich habe drei Fragen zum Versand im Rahmen der Navigationsfunktion von "Email versenden", dies soll am Ende von Test bzw. Quizanwendungen geschehen und habe im Forum leider keine entsprechende Antwort bisher gefunden.
Zur Information:
Der Test soll nicht in ein anderes System (z.B. Moodle) eingebettet werden, sondern lediglich per Link auf einer Homepage erreichbar sein.
1) Ich würde gerne am Ende meines Tests eine Email versenden lassen, welche die Antworten des vorangegangenen Tests enthält, ist das möglich und wenn ja wie?
2) Falls das nicht möglich ist, besteht die Möglichkeit, einen vorgefertigten Text + Betreff in der Email zu generieren? Derzeit öffnet sich lediglich ein Outlook Fenster bei erreichen der Folie, in welcher lediglich die angegebene Emailadresse eingetragen ist. In dieser Email soll wenn möglichst bereits ein Text integriert sein, so dass der Teilnehmer lediglich noch Angaben ergänzen muss.
3) Ist der Email Versand auch ohne Outlook möglich? Kann die Funktion also auch rein Webbasiert erfolgen?
Vielen Dank für die Hilfe
ZholmarSooo, which method are you wanting to use?
Earlier I outlined the steps for the close project at end.
If you are wanting to use the JavaScript solution, you insert a button. Then in the action, you tell the button to execute JavaScript. Then you click the Script Window button and enter the window.close(); code.
Cheers... Rick -
How to Send an Email in HTML Format
I'm trying to send an email to Outlook in HTML format but it's not working. As I have limited knowledge of HTML, can anyone please show me how to do this?
Your help is highly appreciated.Hello,
You can use function WWW_LIST_TO_HTML to convert list into HTML format. Then use function SO_NEW_DOCUMENT_ATT_SEND_API1 to send it as attachment.
Thanks,
Venu -
How to send ENCRYPTED email from 10v2
Helllo,
How to send ENCRYPTED email from 10v2 to end users who will receive their emails from Microsoft Outlook?
I created a stored procedure to change user passwords. I need to email the users their passwords but the email message has to be encrypted since it contains user passwords. How do I use util_mail to send encrypted messages? The users will pick up their passwords through Microsoft Outlook. Thank you in advance.not sure what is the mechanics of decrypting (PGP maybe?)
I have few tips ...
1. look at DBMS_CRYPTO package
2. create JAVA stored procedure (I'm sure there are some good samples to use java for encryption) to encrypt the body (this can be executed from pl/sql)
3. save the body as a file on unix and encrypt it with unix command (this can be executed from PL/SQL utilizing UTL_FILE and JAVA stored procedure)
4. forget sending the password in email and save the password on Oracle Apex site and configure access using single sign-on with transparent windows authentication
Maybe you are looking for
-
How can I run a copy of photoshop elements from a hard drive from a broken laptop on my new imac
The laptop had motherboard issues so have taken the hard drive out and am running it externally on a new iMac - if i try to run the program it says error code 6 and that i need to uninstall then reinstall the product but I bought it online so don't h
-
My ipod was stolen help!!
one of the store ipod people told me i can get it back reason i have my warrenty till the end of this year i want to kno if thats thru and how?
-
Define shipping data for plants / multiple sales areas should be assigned f
Dear All , Appreciate of you helped me in this: I am trying to configure the intercompany STO process, when I reached the step of u201CDefine shipping data for plants u201C I found that the issuing plant is already assigned to sales Area ( 2000 , 60
-
Mocha Corner Pin Data Changing Scale of Solid Layers (CS6)
Hi, im new to the adobe forums (not after effects though) and im having some trouble with Mocha tracking corner pin data. I have been practicing this sub-surface skin effect from Iron Man 3 that Video Copilot made a tutorial on, but im having some pr
-
CS6 - 2012 student. New laptop - no serial number
purchased CS6 in 2012. Due to HD failure have purchased new laptop, however unable to locate serial number. Have evidence for purchase as well as student ID. How can I find the serial number