Skip to Content
author's profile photo Former Member
Former Member

Access the Universal Worklist (UWL) with a Web DynPro

Hi,

my boss requested me to create a Web DynPro to access the UWL on our SAP Portal in order to provide users some WorkItem search facilities. Can someone point me to some documentation that explains, possibly step-by-step, how to create a project to use the UWL (how to make a component, which dependencies are required, ...)?

Thank you,

Pietro

PS. I'm developing on SAP NetWeaver Developer Studio 7.1 SP03 PAT0005

Edited by: pietro.m on Sep 28, 2010 3:09 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Sep 28, 2010 at 01:21 PM

    Hi Pietro,

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/802bfda2-8a85-2b10-9290-d67da32d0c01.

    Please check this document from SAP for doing the same.

    Regards

    Nizamudeen SM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2010 at 04:29 AM

    Hi,

    You can configure the Work items in the UWL to open in different envirinments like you can create a webdynpro application which will be launched on click on the specific work item type. This will depend on the UEL configuration.

    Please refer to below links these might be helpful

    http://help.sap.com/javadocs/NW04S/SPS09/uw/com/sap/netweaver/bc/uwl/doc-files/uwldtd.html#UWLConfiguration

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103e2cf0-ec95-2b10-d198-a2d5edfbd7f8

    Regards,

    Raju Bonagiri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2010 at 02:25 PM

    I succeeded in putting up a test application that accesses the UWL and gets the item list, and it seems to work.

    But I have two problems:

    1.

    The QueryResult "result" object holds 527 entries when I retrieve the task list with my credentials. But the ItemCollection that I get when I call result.getItems() holds only 100 elements. Why does this happens? Is it possible to get the full list?

    (below the code I used to get the list)

    	IUWLSession uwlSession;
        	uwlSession = uwlService.beginSession(uwlContext, sessionIdleTimeout);
        	uwlContext.setSession(uwlSession);
    
        	IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
        	QueryResult result = itemManager.getItems(uwlContext, null, null);    	
        	ItemCollection items = result.getItems();

    2.

    If I use my credentials, the QueryResult holds 527 items. If I use another credentials, that has the same roles and is member of the same groups as me, the QueryResult holds 0 (zero) items. What are the criteria on which the item list is fetched?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      a little update on the matter.

      I've found out a way to solve the problem of the ItemCollection by creating a QueryProperties instance and by calling on it setMaxNumberOfItemsToFetch. In this way the getItems method of the QueryResult element retrieves (at maximum) the number of items that you pass to the setMaxNumberOfItemsToFetch method.

      Currently I'm stuck with the problem that I cannot see other user's tasks. Is there a way to have some kind of "Administrator access" (the same one gets by accessing /nwa on the portal and then "Manage Processes" or "Manage Tasks") to allow the user to get the list of all tasks registered in the portal?

      Thank you,

      Pietro

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2010 at 08:08 AM

    Unanswered question: closed due to inactivity

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.