on 11-03-2014 6:54 AM
Hi All,
During approval, i wanted to remove the shopping cart work item from the inbox/UWL
Using the FM 'BBP_PD_SC_STATUS_CHANGE_WF', the status is set to approve.
Then FM SAP_WAPI_WORKITEM_COMPLETE is called to remove it from my inbox.
But, work item continues to remains there.
Could someone help with a function module or any other method to solve this issue??
Regards,
Eldho
Hi,
what is your process?
1. Forward the workitem from inbox of user1 to inbox of user2.
2. Approve the shopping cart in substitution of user1.
3. Approve the shopping cart as it was done by user1.
4. Reject the shopping cart?
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When we want to remove the items from the inbox we only complete the workflow.
A.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Eldho,
Is your problem resolved. I have used same FM that you have mentioned to approve the SC. However, the item still remains in the approver's inbox.
Please advice.
Thanks!
-Vishal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Eldho,
Are you using SAP standard workflow or a custom workflow (like WS9xxxx) ?
Please check the Task if 'Synchronous object methods' are chosen for it.
Below is the difference between synchronous methods and asynchronous methods:
- Synchronous methods that sit behind the work items do not need terminating event to finish the execution so when you save or go out of the transaction in the work item the execution is finish and so the work item will disappear from the inbox.
- Asynchronous methods need a terminating event in order to finish the execution of the work item so when you return to the inbox after execution the work item, it may still not have received its terminating event and will remain in the inbox. When you then refresh, the terminating event will have been rec and the work item execution finished and so will be removed from the inbox.
For those old workitems that are still in your inbox, you could try the below to complete them:
- Try manually raising the terminating event with the object instance via SWUE and see if it terminates the work item.
- If that does not work then you could manually complete the work item via SWIA.
I hope this helps,
Kind Regards,
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.