on 07-12-2015 7:36 AM
Hi,
I want to forward workitem to outlook. I am using RSWUWFML2 program. Currently the user who has scheduled the program is sender of the mail. But I want to change the sender with the person who has created that workflow. This workflow initiator is dynamic. Please suggest how to achieve it.
Hi,
Instead of using RSWUWFML2 program , create new task and use function module SO_NEW_DOCUMENT_SEND_API1 for sending the mail. In this FM you can mention the mail id of the sender.
Regards,
Shamsudheen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Ideally you should use "Extended Notification" for reminder mails instead of program RSWUWFML2.
Also, RSWUWFML2 should be scheduled as BATCH job under a system user and not any user and the email sender should be batch user and not WF Initiator otherwise it can lead to misunderstandings. You can include the name of WF Initiator in the approval text of the workitem.
You always have an option of copying program RSWUWFML2 and making changes to logic to fetch mail sender but it is NOT recommended. ""Extended Notification" is recommended.
https://service.sap.com/sap/support/notes/1646056
Regards
sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
It is not a good idea to change the sender name . Can you explain the business driver behind this requirement. If the job is executed by Batch user then it should have batch user email ID(Eg: NOREPLY.Workflow@abc.com). You can mention the initiator User ID and email ID in approval task text description.
Regards
Sandy
Hello
Have you explained the client that in order to meet this requirement ,
Include the above points in your Technical specification as concern and get an endorsement from business and then its up-to your organisation . Technically it is feasible as mentioned in my previous posts.
Regards
Sandy
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.