on 07-03-2008 11:04 AM
Hi,
I need to read the dynamic parameter while opening the workitem link in UWL. as this application is configured in the XML, the called application should know which line item was clicked in the UWL to open it. Please let me know which class/methods i have to use to fetch the parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Firstly in the xml file, find what parameters are mapped against the workitem :
You will find somewhat like this :
<ItemTypes>
<ItemType name="uwl.task.webflow.TS91100019" connector="WebFlowConnector"
defaultView="DefaultView" defaultAction="launchSAPAction">
<ItemTypeCriteria connector="WebFlowConnector" externalType="TS91100019"/>
<Actions>
<Action name="launchWebDynPro" handler="SAPWebDynproLauncher">
<Properties>
<Property name="WebDynproApplication" value="MyApplication"/>
<Property name="WebDynproDeployableObject" value="sap.com/tcwdtools"/>
<Property name="DynamicParameter" value="wi_id=${item.externaId}"/>
</Properties>
</Action>
</Actions>
</ItemType>
</ItemTypes>
If you want some dynamic parameters , you need to specify the the property=DynamicParameter and then map what should be the value.And then from the webdynpro application you can fetch the value for the "wi_id" parameter from the request.
Use the following code
String workItemID = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("wi_id");
Thanks
Ritushree
Edited by: Ritushree Saha on Jul 4, 2008 10:13 AM
Edited by: Ritushree Saha on Jul 4, 2008 10:16 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.