Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

cancel and keep workitem in ready state in user decision step


In a user decision step,there is a default option 'Cancel and keep the work item'.

Now clicking on this option, the workitem goes into "Inprogress state"

whereas i want to keep the workitem in "ready state" after i click on the option 'Cancel and keep the work item'.

I am trying to modify the Process method of Decision Object type to incorporate this funcationality by using FM "SAP_WAPI_PUT_BACK_WORKITEM.

but im getting the error that this FM cannot be used at runtime.

Place where im trying to call this FM:


I am getting the value of RESULT.

If result is SPACE or sy-subrc is not 00 then i am calling this Fm which takes Wi_id of the userdecision as input.

Kindly help


Former Member
Not what you were looking for? View more on this topic or Ask a question