Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Dheerendra
Participant

Recently I came across the requirement of custom filter in UWL. Customer wants a filter which filters the ESS Work-items with other R/3 related work-items. 

Problem Statement in Brief :

Customer was getting all the work-items in his UWL Inbox, either it is related to ESS (e.g. Leave Request approval/rejection, Medical etc.) or R/3 related work items (e.g.  SES & PO). User was unable to find out ESS related work-items in the Task view of Universal Work-list.

So, Customer want to differentiate the ESS work-items (leave approval/rejection, medical claims etc.) with other R/3 related work-items.

When I saw the requirement, I was clear that this can be accomplished with the help of Custom views. In this blog, I tried to explain the process steps.

Concept: We need to create a new sub views by modifying and uploading the new “myuwlconfig.xml” file.

Point to Note:  All required Task ID (ESS related) must be linked with the new custom view.

We can create custom views for specific tasks. For example, we can create a specific view for the approval of ESS related (Leave requests) Work-Items.

Process Flow:

In order to add custom views you do need to have some knowledge of the backend workflow. The first thing you need to know is the exact step from the workflow where the customized view is required. Workflows are divided into tasks. Each task is one step in the workflow that must be executed. The task links to SAP functionality.

The tasks are stored on the database with TS########.A task is always represented with the letters TS and a number. The number is unique to the task. You must know the exact task number that will link to the custom view.

I have downloaded the standard XML file (uwl.webflow.SAP_ECC_Custom.xml) and changed this XML file with my custom name (myuwlconf.xml) and then upload that into the Portal with high priority. To do this follows the menu path System Administration ® System configuration ®+ Universal Worklist and Workflow  +®Universal Worklist Administration.

Below is the Standard UWL Task View:

*Steps: </p><p>1-      Download the UWL-System specific file (e.g. uwl.webflow.SAP_ECC_XXX.xml) from the UWL Administration Iview.  (We are not going to discuss here how to download & upload the .xml file from UWL Admin & Config Iview) </p><p>2-    *Rename that file to "myessuwlconf.xml".

*3-    Insert Code for custom view inside the <Views></Views>  Tag.</p><p>4-*    Check the validity and upload the file with "high priority".

5-    If your file is not valid, you will get the error message while uploading the custom file.

6-    Clear the cache after uploading the file. 

In order to create new custom view (Subview or Filter) in UWL without any programming, I added the following code in the xml.

-


Sample Code For Custom View Starts here----


----


Sample Code For Custom View Ends here----

-


Have a closer look into the above code, inside the <View> tag; I have mentioned the different-2 Task number, which required for the ESS work-items.

After Performing above 6 Steps, login to portal and check, you must have the custom view, as shown in below picture.

When you select the custom view, then you will get the following look. This will work as Filter for the ESS work Items.

!https://weblogs.sdn.sap.com/weblogs/images/251701720/I4.JPG|height=191|alt=image|width=622|src=https...!</body>

10 Comments