on 07-06-2015 8:33 AM
Dear All,
We have created workflow in three level.
Level 1 - JV posted up to 3000000 ( multiple user)
Level 2 - JV posted from 3 Million to 6 Million (single user)
Level 3 - JV posted above 6 million (single user)
Mails are triggering when FI entry get parked. Its working fine.
There are multiple users in Level 1 e.g User1, User2, User3 etc....
When end user park the document mails are going to all Level 1 users inbox.
I want to restrict the mail trigger option for particular user only. e.g A & B (end user) park the document mail will trigger for User1 only.
C & D park the document mail will trigger for User2 only.
E & F park the document mail will trigger for User3 only.
How do we map in the system ?
Note: HR module is not implemented.
Regards,
Sampat
Dear All,
Thanks for your input.
I will update you very soon.
Regards
Sampat Kumkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Is this issue resolved?
Regards
sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sampat,
You can achieve this by Maintaining the User's and approver's in a Ztable
In your case
ZTABLE.
User who is parking (WF-Initiator) Approvers for those users
A(sap logon name) User1(sap logon name)
B " User1(sap logon name)
C " User2(sap logon name)
D " User2(sap logon name)
E " User3(sap logon name)
F " User3(sap logon name)
You will be getting the User name (WF_initiator) who is parking the document in your code.. based on that select the approver from Ztable passing the user name (WF-Initiator).
You will get the approver name to who you need to send the mail notification.
I hope this will help your requirement.
Cheers!!!
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sampat,
Actually you can specify the user either giving e-mail address to the 'send mail' workitem.
- by specifying the email directly, or using the container element placeholder which can be populated in previous work item(activity).
or
using the expression for the sap inbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sampat,
If you are using custom workflow , then the mail functionality must be enabled/written by you only. You can put a filter before the mail step. Create a internal table with your mapping and then in the backround task , read the desired mapping and send the emails.
Thanks
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Create a background step in the workflow and calculate the email recipient Agents. You can either use IF ELSE statement in the method or use a Custom table. You can check the user name of person who has created the park document from &WF_INITIATOR& container element.
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.