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.

Hi Niharika,
I think you have a typo in your code. You can retrieve the work item id by using [code]<Property name="DynamicParameter" value="wi_id=${item.<b>externalId</b>}" />[/code] instead of [code]<Property name="DynamicParameter" value="wi_id=${item.<b>externaId</b>}"/>[/code]
In addition, you can get values from the work item container by extracting them as custom attributes:
[code]<ItemType name="uwl.task.webflow.TS90000001.<system id>" connector="WebFlowConnector" ...>
  <ItemTypeCriteria ... />
  <CustomAttributes>
  <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="<element name>" ...>
  <Attribute name="<element name>" type="string" displayName="<element description>" />
  </CustomAttributeSource>
  </CustomAttributes>
  <Actions>
    <Action name="launchWebDynPro" handler="SAPWebDynproLauncher">
      <Properties>
        <Property name="DynamicParameter" value="<custom param>=${item.<element name>}" />
      </Properties>
      <Descriptions default="" />
    </Action>
  </Actions>
</ItemType>[/code]
Hope this helps,
Mikko

Similar Messages

  • How to get Remote System informations using java

    Hi
    Any one know how to get remote machine information, processor speed , mainmemory size, etc using java .
    Thanks in adv.......

    Hi
    Any one know how to get remote machine information,
    processor speed , mainmemory size, etc using java .
    Thanks in adv.......That's impossible.
    Kaj

  • How to get current sesssion information using Webappscontext in servlet?

    Hi,
    I have an applet embedded in a self-service page (using OAHTMLWebBean). This applet sends information to a servlet, to query the database. I would like to use the session that was created when I logged into Oracle Applications as the session for the servlet.
    I have tried using Webappscontext myCtx = new Webappscontext(System.getProperty("JTFDBCFILE")); in the servlet, but it always creates an ANONYMOUS user session.
    Is there anyway I can access (or set) the Oracle Apps session in the servlet?
    Any response would be appreciated.
    regards

    I figured out how to do it.
    Try this if you have the same problem.
    import oracle.apps.fnd.common.WebAppsContext;
    import oracle.apps.fnd.common.WebRequestUtil;
    // Use the HttpServletRequest and HttpServletResponse from the servlet to get the current webappscontext that the user is logged in with.
    WebAppsContext ctx = WebRequestUtil.validateContext(request,response);
    String respId = ctx.getRespId();

  • How to get regional options information using java api

    Hi all
    I want to read what is properties like what is the currency symbol , what is the precession , what is the digit seperator and No of digits after the decimal .. such information i want to get using the java API
    How can i get this information.
    i tried with Locale API.
    But it always giving me the default information only.
    If i go and change those things in teh regional options it is not effecting
    Any suggestions.
    Thankin you

    http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormatSymbols.html

  • How to get the dynamic columns in UWL portal

    Hi All,
    I am working on UWL Portal. I am new to UWL. I have down loaded uwl.standard XML file and costomized for getting the  values for "select a Subview" dropdown and I am able to see the values in the dropdown. Now my requirement is to get the dynamic columns based on the selection from dropdown value.
    can any body suggest on how to get the dynamic columns in UWL portal.

    Hi  Manorama,
    1) If you have already created a portal system as mentioned in following blog
                  /people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer
    2) If not, then try to create the same. Do not forgot to give the Alias name .
    3) After creating a system, log on to the VC, Create one iView.
    4) Now Click on "Find Data" button from the list which you can view in right side to Visual composer screen.
    5) After clicking on "Find Data" button, it will ask for System. If you have created your system correctly and Alias name is given properly, then your mentioned Alias name is appeared in that list.
    6) Select your system Alias name and perform search.
    7) It will display all the BAPIs and RFCs in your systems.
    8) Select required BAPI and develop the VC application.
    Please let me know if you any further problems.
    Thanks,
    Prashant
    Do reward points for useful answers.

  • How to get RMAN catalog information from Target database?

    Hi,
    How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
    Thanks

    If you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
    The RMAN backup script would have the connection identifier for the Catalog.
    Hemant K Chitale

  • How to get the directory name using vnode address

    All,
    I am writing a C program and need info on the following:
    1. I have got the vnode address of the current directory. my question is "How to get the inode information (in particular, directory name) from the vnode address ?". What calls i need to use in order to get the info ?
    2. Any helpful web sites containing the above information ?
    Thanks in advance

    package x.y;
    import java.io.File;
    public class Test {
        public static void main(String[] args) {
            System.out.println(new File(Test.class.getResource("").getFile()).getAbsolutePath());
    }

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • I tunes has stopped working in windows 7 and I don't know how to get the crash information that everyone else seems to get to know what the cause is....any help?  I have a toshiba windows 7 computer.

    I have a toshiba computer and it is windows 7, recently after I installed imatch everytime I open itunes I get the message 'i tunes has stopped working' and windows cannot find a solution and has to close.  There is no solution and I don't know how to get the crash information on my computer....can anyone help as I want to finish downloading all my songs to match to be available on my mac products.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • How to get a field that using variable in order to create a query

    Hi,
    I found a difficulty when creating a query. so, I would like to ask you some question.
    1. How to get a field that using variable which that field I want to put it in my query?
    For example, I would like to take quantity field in inventory audit report. And when I put my cursor in
    quantity field, there was only variable, item, etc. How to get this and put it in query?
    2. How to combined the invoice quantity with inventory audit report quantity?
    3. I have a query like this:
    SELECT distinct T0.[DocDate] as 'Tanggal', T0.[DocNum] as 'No.Faktur', T1.[ItemCode] as 'Kode Barang',
    T1.[Dscription] as 'Deskripsi', T1.[Quantity] as 'Quantity', ((T1.[LineTotal])/(T1.[Quantity])) as 'Harga
    Satuan', T1.[LineTotal] as 'Harga Total', T3.[CalcPrice] as 'HPP Satuan', ((T3.[CalcPrice]) * (T1.
    [Quantity])) as 'HPP Total', T4.[ItmsGrpNam] as 'Jenis Barang', T5.[SlpName] as 'Nama Sales', T1.
    [WhsCode] as 'Kode Gudang' FROM [dbo].[OINV] T0 INNER JOIN [dbo].[INV1] T1 ON T0.DocEntry =
    T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OINM T3 ON T2.ItemCode
    = T3.ItemCode INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod INNER JOIN OSLP T5 ON
    T0.SlpCode = T5.SlpCode WHERE T3.[TransType] = '13' and T3.[CreatedBy] = T1.[DocEntry] and T0.
    [DocDate] >=[%0] and T0.[DocDate] <=[%1] and T4.[ItmsGrpNam] =[%2] and T1.[WhsCode] =[%3]
    Is it possible if I just take one invoice with invoice quantity and only show up at once although I have a
    lot item cost for that item? (because I'm using FIFOmethod).
    Please help me.. cause I'm stuck with this thing :l.
    Thank you very much, and I'm waiting your respon soon.
    Regards,
    Sisca

    Try this one:
    SELECT distinct T0.DocDate as 'Tanggal', T0.DocNum as 'No.Faktur', T1.ItemCode as 'Kode Barang',
    T1.Dscription as 'Deskripsi', T1.Quantity as 'Quantity', ((T1.LineTotal)/(T1.Quantity)) as 'Harga
    Satuan', T1.LineTotal as 'Harga Total', T3.CalcPrice as 'HPP Satuan', ((T3.CalcPrice) * (T1.
    Quantity)) as 'HPP Total', T4.ItmsGrpNam as 'Jenis Barang', T5.SlpName as 'Nama Sales', T1.
    WhsCode as 'Kode Gudang'
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON T0.DocEntry =T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OINM T3 ON T2.ItemCode = T3.ItemCode AND T3.TransType = '13' and T3.CreatedBy = T1.DocEntry AND T3.Warehouse = T1.WhsCode
    INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
    INNER JOIN OSLP T5 ON T0.SlpCode = T5.SlpCode
    WHERE T0.DocDate >=[%0\] and T0.DocDate <=[%1\] and T4.ItmsGrpNam =[%2\] and T1.WhsCode =[%3\]
    Thanks,
    Gordon

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

  • How to get the list of Used Quotations & Non Used Quotations

    Hi MM Gurus,
    How to get the list of Used Quotations & Non Used Quotations.
    i am not talking about Open quotation ,closed quotation..
    if once i created PO through quotation it should be used quotation. i not created PO through quotation
    it s should be Non used quotation. how to get this list through when we create PO  through ME21N
    document over view. is there any opetion in Dynamic selection or somthing ..???
    Thanks in Advance..
    Anthyodaya.

    ok.

  • How to get list of tables used in packages

    Dear All
    Can you pls tell me how to get list of tables used in packages
    Regards

    select referenced_name
      from user_dependencies
    where name = 'your_package'
       and referenced_type = 'TABLE'Regards,
    Rob.

Maybe you are looking for

  • Repost-- Facing Problems while installation of SAP NW PT 7.0 on Oracle 10.2

    Hello Friend, Sorry Friends, for my last long.....long...Post..... Here , i m reposting the same matter...Please help. We are trying to Install SAP NW PI 7.0 on Windows 2003 Server Enterprise Edition x64, with Oracle 10.2 - 64bit Edition. On this hos

  • How can I know the security role of the logged in user

    When you design an enterprise bean or Web component, you should always think about the kinds of users who will access the component. For example, an Account enterprise bean might be accessed by customers, bank tellers, and branch managers. Each of th

  • Struts and javascript

    hi all.. am new 2 struts.. am using javascript for form validation ...my code is <html:text property="filename1" size="25"/> <html:text property="filename2" size="25"/> <html:image src="image/login.png" onclick="return HandleFileButtonClick();"/> my

  • Addons gone or de-activated suddenly

    Thanks for attenion. I am using a Windows System (Windows 7 prof. SP 1 64-bit system) with autom. updates. D-Data shareware totall protection, newest version, automatic updates for maleware-list. Using firefox version 31.0. Users: Me as admin, me as

  • Kernel panic after update (SOLVED)

    So I have update my kernel on my laptop, and now as soon as I launch firefox the two lights start flashing and everything freezes, just like a kernel panic. I thought it was cause my firefox, so I loaded opera, and I get the same result. Running simp