on 03-12-2019 5:20 PM
Hello,
I have this scenario.
A workflow workitem is with the correct agent approver and he got the email notification to release the purchase requisition.
Now, when he does the forward workitem to another agent, the workflow works, but we need also to send an email to the new agent who was sent the workitem.
how should we to proceed in the Workflow or activation of a event?
I don't think that secondary methods will help here - so I recommend that you take a look at SAP_WAPI* functions - perhaps SAP_WAPI_FORWARD_WORKITEM - you could piggyback the email functionality on to the forwarding. I have not used this WAPI myself though.
Good luck,
Sue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Step 1) Implement the program exit in the User decision task. i.e., by providing a custom class name that implements the Interface 'IF_SWF_IFS_WORKITEM_EXIT' in it.
Step 2) In the 'event_raised' method of the class get the header details. Example code: data(ls_header) = im_workitem_context->get_header( ).
step 3) Now pass the work item id from ls_header to function module 'SAP_WAPI_GET_WI_AGENTS' to get the user id to which the workitem is forwarded.
step4) Now use BCS classes to send mail to the forwarded class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have the same problem, did found something to solve it?
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi marcoantonio.romerosanchez2,
Did u get the solution, I also have the same requirement.
Please let me know how did u resolve it.
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.