SAP Email from Workflow.
Hello Gurus.
we have Work flow for Purchase order release strategy.
Now in our customisation we have change the Agent id name.
But work flow do not send any SAP Email to that Newly Agent id.
Workflow works fine before changes in Customisation.
i am waiting your reply.
Regards,
Riten patel
Moderator message: please have a look in the dedicated Workflow forum.
Edited by: Thomas Zloch on Jan 4, 2011 2:30 PM
Hi Swapnil,
You need to create a background method for this, use FM SWW_SRV_MAIL_SEND to send an email to the outlook instead of sap. This is one way.
Otherwise,
You can use a step type notification email, in that you need to choose the recipient type as email address and specify the email address.
Similar Messages
-
Need to send HTML email from Workflow : problem with sender
Hi all,
i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
Possible to do that ?
Thanks for your help.
CheersHi rick
How to change the wf-batch to some other name as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
Regards
vijay -
How to send only email from workflow
Hi Guys,
I want to send an email from a workflow without sending a notification ... how do i do it ?
Thanks In advance
Tom.Hi,
Two possible ways - neither of which I would recommend.
1 - Write a trigger on the WF_NOTIFICATIONS table, so that if the notification for the process that you require is sent, then you populate the mailer status column to 'spoof' the mailer into thinking that it has already sent it. That should suppress the email.
2 - Modify the flow to include an activity prior to the notification to change the recipient preferences to not receive email, send the notification, then change the preferences back.
Email is an "all or nothing" solution - either get email from everything, or get it from nothing. How are they planning on dealing with the notification that they are sent? If they are logging into the application to view the notification, then you could consider sending summary notification emails, and force the users to log into the application to view them all, rather than trying to adopt a half-and-half solution where some things come by email and some only come in the application.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Hello Gurus.
we have Work flow for Purchase order release strategy.
Now in our customisation we have change the Agent id name.
But work flow do not send any SAP Email to that Newly Agent id.
Workflow works fine before changes in Customisation.
I also have checked in Workflow log, system shows Newly agent name and send SAP Email By Executing Manually.. But this is Manually process. System Do not send Automatically.
i am waiting your reply.
Regards,
Riten patelDear GURPRIT BHATIA .
We do not configure for external email. We just Use SAP Inbox Id.
Hope you understand.
I am waiting Your reply.
Thanks & regards,
Riten Patel -
Authentication error when sending email from workflow but list alters email work fine
I have a list. When a user enables alert on this list then he/she is able to receive email from SharePoint when someone adds a new item or change item.
But emails sent by SharePoint workflow or Nintex workflow are not being sent. Error is:
Error 530 5.7.1 Client was not authenticated
Why emails are not being sent by workflows?
EDIT
And by SharePoint workflow, I mean OOB Publishing workflow.Hi Frank,
For solving your issue , you can do as the followings:
1. Check all the email addresses are valid and they are not blocked by your SMTP admin
2. Check firewall settings if emails are blocking by any firewall or antivirus
3. You need to also check SPLog file if anything log there
4. Also create simple workflow with SharePoint Designer 2013, and give proper email to check whether it is working or not
Here is a similar article for you to take a look at:
http://techsuite.wordpress.com/2008/12/08/workflow-history-the-email-message-cannot-be-sent-make-sure-the-outgoing-email-settings-for-the-server-are-configured-properly/
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Sending emails from workflow to Outlook
Hi,
I have a couple of questions regarding generating emails to MS Outlook:
1. Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook? The default is standard text.
2. Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
Any help would be greatly appreciated... thanks!Hi,
I will try to answer your questions
1. Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook? The default is standard text.
Email can be send to MS Outlook using SAPConnect Interface.
You need to call the Task TS99700021 for execution. Using this Task message can be predefined.
Otherwise there is also possibilty to use ABAP Objects to trigger the mail out to MS Outlook.
Note : SAPConnect needs to be configured as prelimary requirement and also Mail Rely needs to be set to send mails to Exchange Server or other mail server,
2. Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
We have handled the situation by providing Time Stamp information using Custom Code and Tables.
I hope this will help.
Regards
Ajay -
Issue in sending mail to SAP Inbox from Workflow
Hi All,
I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
Thanks,
NehaHi,
the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
In workflow Log the last step shows the details as
name of the manager and the workflow background for mail sent step as shown below
Sumit Vij Background work item created 10.01.2012 12:08:43
Sumit Vij Execution started automatically 10.01.2012 12:08:43
Workflow Hintergrund Work item processing complete 10.01.2012 12:08:44
Thanks -
Workflow is not sending FYI emails. When I look at STATUS field in WF_NOTIFICATIONS table, it is showing me "CANCELLED" status.
Can any one of you tell me what could me going wrong.
Thanks
AmarAmar,
There is another possibility (I think).
I looked at something like this some time ago when a test case of mine was failing miserably, and I vaguely recall that WF won't send an FYI notification if the performer is also the owner of the current process. I was starting my process from the WF web pages and setting myself as the process owner, and never received a notification.
Of course, I could be wrong! -
Unwanted emails from workflow mailer
Hi,
Users are getting thousands of emails thorugh mailer which was failed 2 months back.
Please let me know how can i trouble shoot this issue.Hi,
Please see if these documents help.
Note: 736508.1 - How to Cancel Email Notifications for Particular Workflow Type
Note: 372933.1 - How to purge e-mail notifications from the workflow queue so the e-mail is not sent
Note: 847889.1 - Stop Workflow Notification Emails During Clone
Note: 828812.1 - How To Stop Old Outbound Workflow Notification Email Messages During Clone Activity
Note: 603003.1 - How To Remove Workflow Data On A Test Or Cloned Instance
Thanks,
Hussein -
I have a simple sharepoint workflow that sends and email to users. I know that the mail portion works because I can put a user's email address in the to: field and it sends fine. If I use a string variable with the email address, I get a workflow
error.
Simple steps to repro for me:
Create a new workflow in SPD (I have tried a list workflow and site workflow)
Create a workflow variable named email.
Set the variable to an email address where the user is in the site
Send email and do a variable lookup to the email variable just set.
The workflow just hangs in this scenario
I do get an error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://[tenant].sharepoint.com/_api/sp.utilities.utility.SendEmail
Correlation Id: 568e9c68-ea75-d057-ab9f-d86f6cae3021 Instance Id: 9cc721a4-78e6-456f-812b-67351dfc9710
The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
Retry nowSimple answer... When I used the variable, I marked it as a string. There is an email address setting.
-
Navigating to MM03 sap transaction from workflow userdecision step inbox
Hi,
I have a requirement to navigate to MM03 from a link in used decision step in SAP-Inbox.
If user finds data displayed in MM03 in afetr clking on link in User decision for particular material then only user will approve material.
Can anybody guide me how to fulfill this requirement.Hi Sanjay,
You can also, call your method in 'Method' Tab at the Task.
Already you have a method and inside the method you are calling the Transaction MM03.
Enter this method in the Method tab --> Secondary method of the Task. SO at run time what will happen is, User click the workitem, then it will show the user decision screen and MM03 screen.
But for this you have to copy the standard user decision task into the customized one.
Thanks. -
How to send the email to different email addresses from Workflow
Hello,
i an not getting that how to send the email from Workflow in SAP.
plz give the steps to do that.
i have done lots of time but system is not sending the email to different email address.Hi,
lot of configuration is invloved in sending
mail to external email id. check BASIS to
configure for external mails ans also check
debug FM and see which conditions exceptions
(Document not sendis raised)
also check below code
CLEAR: DOC_CHNG, OBJTXT, OBJBIN, OBJPACK, OBJHEAD, RECLIST,
RECIPIENT_INT, DOC_SIZE,TAB_LINES.
REFRESH: OBJTXT, OBJBIN, OBJPACK, OBJHEAD, RECLIST.
OBJBIN[] = CONTENT_OUT[].
Populate e-mail title
DOC_CHNG-OBJ_NAME = 'MAIL'.
CONCATENATE 'EETS for Contract #'(245)
OIA01_TAB-EXGNUM
INTO DOC_CHNG-OBJ_DESCR SEPARATED BY SPACE.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
It is a text document
CLEAR OBJPACK-TRANSF_BIN.
The document needs no header (head_num = 0)
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
but it has a body
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
of type RAW
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Create the attachment (the list itself)
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
It is binary document
OBJPACK-TRANSF_BIN = 'X'.
we need no header
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
but a body
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
of type PDF
OBJPACK-DOC_TYPE = 'PDF'.
OBJPACK-OBJ_NAME = 'Attachment'(239).
CONCATENATE 'EETS_' OIA01_TAB-EXGNUM '_'
IT_ZMMTACCUID-ACCTUSRID
'_' SY-DATUM '_' SY-UZEIT '.PDF'
INTO OBJPACK-OBJ_DESCR.
READ TABLE OBJBIN INDEX TAB_LINES.
DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
OBJPACK-DOC_SIZE = DOC_SIZE.
APPEND OBJPACK.
Get e-mail address
CLEAR IT_ADDRESS.
READ TABLE IT_ADDRESS WITH KEY ACCTID = IT_ZMMTACCUID-ACCTUSRID
BINARY SEARCH.
IF SY-SUBRC = 0.
RECIPIENT_INT-ADDRESS = IT_ADDRESS-SMTP_ADR.
ENDIF.
*Send email to external mail address
RECLIST-RECEIVER = RECIPIENT_INT.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
CLEAR RECLIST.
*Send email to SAP Office mail address
RECLIST-RECEIVER = IT_ZMMTACCUID-ACCTUSRID.
RECLIST-REC_TYPE = 'B'.
APPEND RECLIST.
CLEAR RECLIST.
SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
FOR SENDING DOCUMENTS WITH ATTACHMENTS
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = doc_chng
put_in_outbox = 'X'
importing
sent_to_all = sent_to_all
tables
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
also check
https:/Re: mail sending problem
Regards
amole -
SCOT don't work correctly when I send mail from Workflow
Hi.
I setting from SU01 the mail of users. I send an email from Workflow, I find this mail in SCOT.
But the SCOT don't send the mail to user.
Can I solve it?
Regards
AngelaHi Angela,
I don't think your problem lies in SAP. You need to check with the exchange guys to see if the e-mail you send is relayed in the exchange server. Depending on your sending address it is possible the exchange server will not send it on. Depending on the place the exchange server is, there is a possibility there still is a firewall which blocks smtp communication.
Regards,
Martin -
Hai All,
I want to delete a email from SAP inbox, without logging into SAP with that person's userid. Please let me know how to do it.
Regards,
H.K.Hayath Basha.Hi Hayath Basha ,
You can do if you have a Workflow Administrator role and have access to Tcode : SWI5 (WorkLoad Analysis).
Following is the procedure :
1. Go to SWI5
2. Provide the required parameters ;
Resposibility :
Type US
ID User ID of whom you want to delete the WI.
Period :
Choose To be processed by
3. Execute the Report..
Now you will see all the workitems in his inbox.
4. Select the workitem you want to delete from the list.
5. Double click on the workitem selected.
6. select the menu Goto -> Technical work item display
You will be taken to Display workitem screen
7. In Display workitem Screen select the menu
Edit -> Change
Now you will be give a option to Delete Logically.
8. Click on Delete Logically button to actually delete the mail from the SAP inbox.
Let me know if this works.
Thank you
Srinivas -
Cannot Send Email from SAP Business One
Hi Experts
I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
Now I have an Issue for One User,
Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
Have anyone encountered the Issue before
Please hep to solve this issue permanently
Thanks and Regards
Vinodh Kumar MohanHi Vinodh Kumar Mohan,
If the email can be found in Sent box, it must be delivered already.
The problem could be on the email recipient side. It may go to the junk mail.
Thanks,
Gordon
Maybe you are looking for
-
How do i download videos from 4s to my computer?
I'm having a tough time finding my videos which I've tried to download from iPhone 4s to Cloud. How do I do this/
-
So I recently migrated to a new hard drive since my laptop just ran out of warranty. Everything was working fine I just wanted a faster one. I used SuperDuper to make a true direct copy and everything seemed to running smooth. Until I launched compre
-
Repainting image does not work
Hi, I have this repaint() problem. I have a timer that calls the moveM1() method which updates the currentX_M1(X position of fly), and then repaints it. However, the fly isnt repainted to its new coordinate even if the currentX_M1 is incrementing. im
-
Debit card abysmal customer service
Not sure where else I can say this where Paypal might pay any kind of attention. I called to give a travel notification so I could use my card abroad. The first guy put me on hold for 11 mins (I have a timer on my phone) until I just gave up. Seco
-
Help! I uninstalled Garageband due to problems but can't reinstall
I have a Power Mac G5 which was bought 2nd hand a week ago. Garageband had never been used i take it as it had the old version 2. something.. The program would open but nothing would show on the screen. Next to the apple sign at the top left of the s