Hi
Someone asked the same question recently.Have you checked for some SCN blogs on this topic?
Anyway, here are some of the basic ingredients you need to get Workflow and Webdynpro to play together nicely.
- the execution of a dialog workitem triggers a Webdynpro application (configured via SWFVISU)
- the workitem id (WI_ID) is passed to the Webdynpro when it is triggered
- the Webdynpro reserves the workitem, using SAP_WAPI_RESERVE_WORKITEM
- the Webdynpro reads the workitem container using SAP_WAPI_READ_CONTAINER
- the Webdynpro presents this information on the screen to the user, and also provides them with some buttons to push (NB you have to build these screens!)
- the workitem is completed by calling SAP_WAPI_WORKITEM_COMPLETE (or by raising a terminating event). You can also make changes to the workitem container using
SAP_WAPI_WRITE_CONTAINER
cheers
Paul