Skip to Content
Dec 29, 2009 at 04:34 AM

Workitem in status ready


Dear Experts,

I have a workitem (activity step) in status ready. I have bind a webdynpro java application for this in SWFVISU tcode. So once user clicks workitem from portal dynpro java application will open. But workitem in R/3 remains in status ready even after user clicks submit from the java application. So on action submit I need to complete that workitem. Is there any FM to complete a workitem which is in status ready. This workitem is from a task of activity step. This is just a dummy workitem that is I have given a BO method inside it that does not have any code. I use this to start the dynpro java appln alone.

First i will be using sap_Wapi_write_container FM. Then I will complete the workitem. Then using sap_wapi_read_container I will read the written values. If i use sap_wapi_workitem_complete FM then the written values change back to old values again.



Edited by: bharath padmanabhan on Dec 29, 2009 10:06 AM

Edited by: bharath padmanabhan on Dec 29, 2009 10:28 AM