Filtering work items in UWL ?

Dart, Jocelyn jocelyn.dart at sap.com
Thu Nov 3 00:19:56 EDT 2011


Even so...Tushar.... that's still standard UWL Configuration.

Just copy the standard UWL Iview (or delta link)  and change the "Main View" to the View that you want to use.
Similarly you can point to the Root navigation node you want to use in your copied UWL Iview.

A lot of the standard applications do it this way - so it's worth looking at any special  UWL configuration files added by Portal Business Packages to get the idea, e.g. the hradmin file added when you load the portal business package for HR Administrative Services.

A lot of effort has gone into making the UWL configuration flexible enough to handle all kinds of scenarios so please use it to its maximum.

You should only need code if you are writing a custom worklist outside of the portal.... and even then there are standard alternatives/APIs/new worklists coming that you should take into consideration first.

Regards,
Jocelyn

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Tushar Shinde
Sent: Thursday, 3 November 2011 2:47 PM
To: SAP Workflow Users' Group
Subject: Re: Filtering work items in UWL ?

Hi Folks,
        I guess what Mr.Vijayendra is expecting is to show different workitems in two different UWL iViews not in 2-Different views of a same UWL iView.

UWL iView - 1 -> All WorkItems
UWL iView - 2 -> Only Absence related workitems.

I will try if this is possible.

Regards
Tushar Shinde.
tushar.shinde20 at gmail.com<mailto:tushar.shinde20 at gmail.com>


On Thu, Nov 3, 2011 at 8:13 AM, Dart, Jocelyn <jocelyn.dart at sap.com<mailto:jocelyn.dart at sap.com>> wrote:
Hang on folks - you don't need to code anything.
This is standard UWL Configuration.

Just copy the uwl.standard file to your own custom version.
The NavigationNodes at the bottom control the tabs.
The Default View is the standard view that you'll need to copy to create your Absence view.
Make sure you look at the UWL_Configuration.DTD - you'll need to add Description tags to add a text to your new view for the users.

Create a View which only supports your desired tasks (see the format of the task names in file uwl.webflow), create a Navigation Node for it referencing the view.
Upload your new files at medium priority.
Refresh the UWL cache.
And that's it.

You can even try the UWL Configuration Wizards - or read Darren Hague's book on the Universal Worklist.

VJ - Send me a direct mail and I'll send you a powerpoint that explains further.
Regards,
Jocelyn



From: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu> [mailto:sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>] On Behalf Of Vijayendra Rao (Absoft)
Sent: Thursday, 3 November 2011 2:53 AM

To: SAP Workflow Users' Group
Cc: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>
Subject: RE: Filtering work items in UWL ?

Hi Sanjay,

Thanks for your reply. Apologies for my ignorance any idea where I should be using this code? I thought it is possible to achieve via configuration?

Any thoughts?

Cheers
VJ

________________________________
From: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu> [mailto:sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>] On Behalf Of Sanjay9 P
Sent: 02 November 2011 15:16
To: SAP Workflow Users' Group
Cc: SAP Workflow Users' Group; sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>
Subject: Re: Filtering work items in UWL ?


Hi,

Please use the FM SWN_UWL_GET_WORKLIST to filter based on task type.

Please find some sample code below.

ls_task_filter = 'TS91000072'.
     APPEND ls_task_filter TO lt_task_filter.

CALL FUNCTION 'SWN_UWL_GET_WORKLIST'
   EXPORTING
     user           = lv_userid
     im_task_filter = lt_task_filter
   IMPORTING
     worklist       = lt_worklist.

Thanks and regards,
SNJY

____________________________________________
From:

"Vijayendra Rao (Absoft)" <vrao at absoft.co.uk<mailto:vrao at absoft.co.uk>>

To:

"SAP Workflow Users' Group" <sap-wug at mit.edu<mailto:sap-wug at mit.edu>>

Date:

11/02/2011 07:43 PM

Subject:

Filtering work items in UWL ?

Sent by:

sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>


________________________________



Hi,

In our portal we have the UWL iview in 2 different places. One under the Home menu and the other under a bespoke Tab called 'Absence' menu. Our requirement is that when the users go to the UWL from the home menu they should be able to see all the different types of work items. But if they go via the bespoke menu 'Absence' then they should be able to see only the work item related to absence request.

Any idea how to achieve this?

Regards,
VJ_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug

=====-----=====-----=====

Notice: The information contained in this e-mail





message and/or attachments to it may contain

confidential or privileged information. If you are






not the intended recipient, any dissemination, use,

review, distribution, printing or copying of the






information contained in this e-mail message

and/or attachments to it are strictly prohibited. If






you have received this communication in error,

please notify us by reply e-mail or telephone and






immediately and permanently delete the message

and any attachments. Thank you










_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20111103/7bbc66db/attachment.htm


More information about the SAP-WUG mailing list