Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get TaskId's Information using UWL in Webdynpro?

Hi,

I've to get TaskId's Information using UWL in WebDynpro

from SAP R/3 workflow.

For e.g. Name, Creation Date, Status etc.

I'm able to see property Value in WebDynpro but instead of Property Value I want same Information in WebDynpro without using any Functional Module from R/3

I'm giving the XML file structure which I'm using

I want to display information about the task Id which I'm giving in this configuration.

<?xml version="1.0" encoding="utf-8"?>

<! DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd' [

]>

<UWLConfiguration version="1.0">

<ItemTypes>

<ItemType name="uwl.task.webflow.TS91000129.UWL" connector="WebFlowConnector"

defaultView="Test" executionMode="default" defaultAction="launchWebdynpro">

<ItemTypeCriteria systemId="UWL" externalType="TS91000129" connector="WebFlowConnector"/>

<Actions>

<Action name="launchWebDynPro" handler="SAPWebDynproLauncher"

returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="width=800,height=600,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

<Properties>

<Property name="WebDynproApplication" value="TEST"/>

<Property name="WebDynproDeployableObject" value="local/TEST1"/>

<Property name="isnewwindow" value="1"/>

<Property name="fruit" value="apple"/>

<Property name="DynamicParameter" value="wi_id=${item.externaId}"/>

<Property name="System" value="LocalSystem"/>

</Properties>

</Action>

</Actions>

</ItemType>

</ItemTypes>

</UWLConfiguration>

Then in WebDynpro application I'm using this code

String text = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("DynamicParameter");

If I give any other property name I'm able to get in WebDynpro application.

But I tried it for Task Id using Dynamic Parameter I was getting a Blank Value.

Please Help Me.

Former Member
replied

Hi,

Maybe you can call for example RFC SAP_WAPI_GET_HEADER in the corresponding R/3 system. This gives basic data on the workitem in question.

Regards,

Igor

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question