Skip to Content
May 19, 2009 at 12:31 PM

Workflow step is not getting executed


Hi all,

I have designed a workflow in which I have a Decision step. after taking the a decision then it is taking so much time to execute the next step which is a background step.

The waiting time is varying from time to time some times it is getting executed in 20 min, some time it is taking 1 hr no fixed time.

I have used SAP_WAPI_DECISION_COMPLETE function module and I am passing space to the DO_COMMIT becuse of this the workitem is getting completed but it is not going to the next step. This fm is called under a button Approve of a WD application. after completeing the entire cycle of the WD application we are using the statement COMMIT WORK but still the execution is not going to the next step.

In this regard , please, can any body share their views and ideas.

And it is mandatory that only after the webdynpro application execution finishes they want to COMMIT the work.

One more thing while searching forums I found like there are terms like DB COMMIT and simple COMMIT WORK what is the difference between them .