Hi,
I have requirement to programmatically forward Work item to other user.
Requirement is, If work item is with user A, then based on certain condition User B can forward it to User C.
I am using FM 'SAP_WAPI_FORWARD_WORKITEM' and giving the work item and user. It is working fine but when User A opens the work item and then close it with out taking action, then above FM is giving error
'Work item is reserved for a different agent'.
I tried with FM 'SAP_WAPI_ADM_WORKITEM_FORWARD' and it is giving same issue.
Please suggest any Fm or alternative to forward the Work item programmatically.
Thanks