Skip to Content
                View Sundeep Sethi's profile on LinkedIn            

Universal Work List or UWL as we popularly know it can be rightly referred to as the inbox of SAP NetWeaver Portal. UWL always seemed to be a black box to me until recently when I had to work on resolving an issue when I learned some cool stuff about it. This blog is not a guide on how UWL works but only contains the knowledge I gained while troubleshooting. I know a lot of information is available on SDN forums and SAP help, however I cannot help myself but write this blog , and hope it helps fellow practitioners.

So lets get going:

  1. Pass dynamic parameter to a task in UWL: UWL can be used to show Workflow tasks from different ECC systems. The list of tasks from ECC system can be found in the transaction SWFVISU. SWFVISU is a very useful transaction when working with UWL and can hold the key to many of your requirements. In order to pass a dynamic parameter value to a task when it is launched from UWL, go to transaction SWFVISU –> Task Visualization and locate your task.

                            

Open Visualization Parameter for this task. Let’s say you want the task to pick up the SYSTEM_ALIAS at runtime. To set this parameter dynamically enter the value for SYSTEM_ALIAS = ${item.systemId}. This way you can pass dynamic values for other parameters also.

                          

Check the corresponding UWL XML file generated for the ECC client in portal at

System Administration –> System configuration –> Universal Worklist-Administration. Every time we make a change in backend for the task id make sure to re-register  the system alias in portal.

                        

     2. Hide Attachments in UWL for specific tasks

For each work item in UWL standard iView there appears an Attachment Section at the bottom. If it is required to remove the Attachment section for all tasks it can be easily done by following the instructions given in SAP Help at the below link.

http://help.sap.com/saphelp_nw04s/helpdata/en/0a/ad68c125ae496f8c04a25090bd2e3c/frameset.htm

The challenging task is when you are asked to remove the Attachment Section only for Specific Tasks say Leave Workflow task while they should appear for other UWL work items.

The answer again lies in transaction SWFVISU.

Go to transaction SWFVISU in ECC System and double click on Object Visualization.

In my scenario I had to hide the Attachment section for Leave Workflow type tasks which was based on an ABAP Class.                     

                      
                      

Enter Object Category (this can be ABAP Class or Business Object), Object Type which is the name of the class. Method name can be left blank, Visualization Type should be “Object Not Represented”.

Doing this will hide the Attachment for the work items in UWL which are based on the provided ABAP class.

The SAP Help link is useful and provides further info:

http://help.sap.com/saphelp_nw04/helpdata/en/45/a7863f445f4617e10000000a114084/frameset.htm

     3. Useful Transactions:

For tasks originating from ECC systems following transactions are useful:

– SBWP: This is the SAP Business Work Place. The work items of ECC system shown in UWL can also be found here.

– SWI1: Selection Report for Work Item- If you expect a work item in UWL from an ECC system but it does not show there, it might be a possibility that the workflow encountered some error. In this transaction you can find the status of work flow items and if it ended with some error.

– PFTC: Display Task details. In this transaction we can change the Work Item title text that appears in the description when a work item is clicked in the UWL. In the Description tab of this transaction we can also change the Description text that appears in the UWL view in portal when a work item is clicked.

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. harish reddy

    Hi Sandeep,

      I implemented the steps which you described to hide UWL attachments but it didn’t worked. Please tell me do I have to follow any other steps like restarting portal after doing changes etc.

     

       I have the same requirement please help me out in this.

    Thanks,

    Harish Kommera.

    (0) 
    1. Sundeep Sethi Post author

      Hi Harish,

      Are you trying to hide the attachment section completely or or are you trying to hide it for specific UWL tasks.

      Thanks

      Sundeep

      (0) 

Leave a Reply