on 09-28-2010 1:53 PM
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
Hi Pietro,
Please check this document from SAP for doing the same.
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unanswered question: closed due to inactivity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Regards,
Raju Bonagiri
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.