cancel
Showing results for 
Search instead for 
Did you mean: 

workflow- how to delete the entry in inbox

Former Member
0 Kudos

Hi,

I had the entry open from my inbox. The same entry was then opened by another sap user to modify. So I received the modified entry in my inbox (at that moment, it showed I received JE 1000000138 twice). I open the modified entry, and I approved it. Then I realize I have the "old version" of the entry still in my inbox, but I cannot delete it from my inbox. as per my needs i want delete the old entry, is it possible? if possible please explain me step by step.

Regards,

Revoori

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Click on the respective workitem then Click on Workflow Log->Click on the main workitem or the First one->Goto->Technical Workitem Display->Edit->Change->Logically delete.

I think your problem is a development issue and needs to be fixed by development.

Thanks

Arghadip

Answers (6)

Answers (6)

rahulkavuri
Active Contributor
0 Kudos

Ashok,

If you know the workitem ID from the workflow log then you can delete the workitem permanently using the program RSWWWIDE.

But please note that this is the scenario with an assumption that the workflow is a duplicate entry...

Former Member
0 Kudos

Hi,

Eventhough for the time being somehow you may be able to delete work item from your inbox, it seems as a design issue. Workflow development does not handle the logical deletion of workitem if same object is edited repeatedly.

Hope this has to be tackled by correcting the workflow.

Regds,

Akshay

narin_nandivada3
Active Contributor
0 Kudos

Hi Ashok,

Try using the FM SAP_WAPI_WORKITEM_DELETE. Pass the necessary parameters and would delete the inbox.

Check the workflow log for the workitem ID that has to be passed to the above FM.

Hope this would solve your issue.

Good luck

Narin

Former Member
0 Kudos

Hi,

You can use terminating event on workitem execution.

This terminating event you need to give in for the yask which is getting executed for the workitem.

And if this event get triggered you need to complete your workflow by adding process control so that previous workitem will be deleted.

Regards,

Yogesh

former_member185167
Active Contributor
0 Kudos

Duplicate

Edited by: Rick Bakker on Apr 30, 2009 2:20 PM

former_member185167
Active Contributor
0 Kudos

Hello,

What happens if you try to execute the workitem?

regards

Rick Bakker

Hanabi Technology

Former Member
0 Kudos

work item alredy deleted or ended - unable to execution again.