Quantcast
Viewing all articles
Browse latest Browse all 9656

Re: how to execute workitems or user decisions of workflow from webdynpro application

Hi,

 

Have you checked for some SCN blogs on this topic?

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

 

Good luck! The first one you build is the hardest, but it's plain sailing after that.

 

I think Webdynpros are great for presenting workitems to the user - you can provide a lot of sexy contextual information to help them make their decision.

 

cheers

Paul B


Viewing all articles
Browse latest Browse all 9656

Trending Articles