cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Workitem Deletion

Former Member
0 Kudos

Hi All,

I had a requirement where i am sending one workitem for approval to 4 Approvers. Now once any one of them approve the workitem, i need to delete the workitem from other 3 users inbox.

For deletion of workitems i can use "SAP_WAPI_WORKITEM_DELETE" FM. But how to find that workitem number that needs to be deleted.

Regards.

Raman.

Accepted Solutions (1)

Accepted Solutions (1)

former_member193382
Active Contributor
0 Kudos

Hi Raman,

This is a automated process in SAP. You need not delete them manually. If you are sending the same workitem to 4 different agents and if anyone of them excutes and completes the execution of the workitem, the workitem will vanish from all other inbox as well.

Let me know if you have any queries.

Regards,

Raj

Former Member
0 Kudos

Thanks Raj.

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

Workitems in SAP behave as your requirement,

Let say that the rule has the determined 4 agents for the workitem and the workitem will go to all the 4 people. Now If any one of them executes then the workitem is disappeared from the otehr three inboxes.

If the otehr three should also approve the workitem then you need to reserve the workitem. with all the determined 4 agents.

former_member554978
Active Contributor
0 Kudos

Its a standard behaviour of SAP.

Once the workitem is executed...then the workitem form the other 3 inbox will get disappeared automatically.