on 03-15-2008 1:15 PM
HI,
I have a webdynpro view which is created from webdynpro java application. This view will be open when the work item is clicked in UWL.
How to pass work item id as a parameter from UWL iview to web dynpro java application,when work itm is clicked in UWL iview.
The problem is i can't get work item id in my webdynpro application.when work itm is clicked in UWL iview.
I want to pass URL or any other possible?
I want to change any XML coding?
if i want to pass a parameter UWL iview to webdynpro java application, How can i get the corrosponding parameter using wen dynpro application?
Tanks & Regadrs,
Boopathi M.
Edited by: boopathi m on Mar 15, 2008 2:17 PM
Edited by: boopathi m on Mar 15, 2008 3:20 PM
Hi,
You need to add an action to the UWL XML like this:
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="WebDynproApplication" value="+name of your application+"/>
<Property name="WebDynproDeployableObject" value="+deployable object name+"/>
<!-- the following line sends the work item ID as a parameter to the WD application -->
<Property name="DynamicParameter" value="workItemID=${item.externalId}"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
After this you can access this parameter within the WD application using:
//workItemID is the name of the parameter that we have defined in the XML
String workItemID = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("workItemID");
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.