Skip to Content
0
Former Member
Dec 05, 2006 at 11:15 AM

How can I put back a workitem before I'm back in the business workplace?

69 Views

Dear experts,

we have quite an interwoven development of workflows with own business objects

and own applications. On double-clicking a workitem for an approval we call up

our own application to show the dataset in question along with functions for

"Approval", "Disapproval" or "Cancel". If the user chooses "Cancel" we are

coming up with a popup offering the user to put back the workitem, which he has

taken over by double-clicking it in the first place.

My problem now is that apparently I cannot use the standard-FMs

"SAP_WAPI_ADM_WORKITEM_BACK" respectively "SAP_WAPI_PUT_BACK_WORKITEM" because I'm locking myself.

I have scruple deleting the SAP standard lock set by the business workplace

in order to be able to execute a put back function.

Does anybody have an idea how I could solve this more elegant ?

Thanks in advance for your appreciated help !

Andreas