on 04-16-2007 5:13 PM
We are creating a custom java web dynpro with an "Approval" view for use with a custom workflow. We would like to launch the web dynpro from the Universal Worklist in the portal. I see that transaction SWFVISU configures a web dynpro application to launch for a specific workflow task.
My question is... What development needs to be done in the java web dynpro to make it work with the SWFVISU configuration? In other words, how do we pass parameters between the web dynpro and the workflow.
We are using ECC 5.0 and EP 6.
Thank you.
Jeff Karls
Hi Jeff,
I have a similar requirment wherein i need to get the workitem details into webdynpro java screen. Can you please tell me if i had to get 10 details from the workitem how it can be done.??
Regards,
Sai Sharan Kalla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Jeff
This is one is fairly straight forward.
Step 1: In SWFVISU there is an option to setup a parameter (e.g wi_id, work item id alone is sufficient) that can be passed to custom WD application. To receive it in WD application use the WDProtocolAdapter to get the request parameter. Now you would have got the work item id that is the key to workflow. Set the parameter as an external id and UWL will by default pass it to the custom WD application.
Step2: There are several wapi's like SAP_WAPI_READ_CONTAINER that facilitates to read and similarly some others that help you write in to the workflow. For all the key is wi_id that is the work item id. These are standard Bapi's i guess available from ECC 5.0. Please use them with normal webdynpro - RFC calls.
Please remember to re register UWL everytime you change SWFVISU.
I have done this and it works successfully. Thanks.
Use this blog it is very comprehensive and even tells you the syntax to add the external id in SWFVISU. /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
It uses ABAP webdynpro but then getting it done using Java WebDynpro is cake walk. The difference would be the WDProtocolAdapter to read the request object. I hope this is sufficient. Thank you.
reg
vln
Message was edited by:
vln
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.