cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove Status Attribute from Tracking tab in UWL Globally

Former Member
0 Kudos

Hi,

We want to remove the Status attribute under tracking tab in UWL.

Can anybody let me know how it can be done.

Regards,

Pradeep B

Accepted Solutions (1)

Accepted Solutions (1)

former_member182598
Active Contributor
0 Kudos

Hi Pradeep,

Proceed as follows:

1. Navigate to System Administration->System Configuration->Universal Worklist and workflow->Universal Worklist Administration

2.Click to Manage Item Types and View Definitions

3. Download the xml file uwl.standard

4. Open the file with an XML editor

5. Locate the line <View name="ComboWorkItemRequestsView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.request, uwl.completedrequest" columnOrder="subject, creatorId, createdDate, priority, attachmentCount, dueDate, status" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="Last_3_Months" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tracking">

6. Replace it with

<View name="ComboWorkItemRequestsView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.request, uwl.completedrequest" columnOrder="subject, creatorId, createdDate, priority, attachmentCount, dueDate" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="Last_3_Months" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tracking">

7. Save it with a different name say uwl.custom

8. Upload this new configuration file don't forget to check the check box high priority.

9. Clear the cache and check the UWL.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

Thank you for the update.

Is there any possibility of changing it from the back-end apart from changing the code in XML file.

Regards,

Pradeep B

former_member182598
Active Contributor
0 Kudos

No, You won't be able to do it through back end. Changing the XML file is only option.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

Thank you for your valuable input.

I'm trying to change the XML code of UWL but we have already customized UWL, below is the XML code for it

Let me know if you are not able to see the code

 <View name="SL_MSS_View" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="subject, isEscalated, creatorId, createdDate, attachmentCount, *_status_*" sortby="createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tasks">
      <DisplayAttributes>
        <DisplayAttribute name="priority" type="string" width="10" sortable="yes" format="default" referenceBundle="priority" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
          <Menu>
            <MenuItem name="Low" actionRef="priorityLow" referenceBundle="menu_priority_low"/>
            <MenuItem name="Normal" actionRef="priorityNormal" referenceBundle="menu_priority_normal"/>
            <MenuItem name="High" actionRef="priorityHigh" referenceBundle="menu_priority_high"/>
            <MenuItem name="VeryHigh" actionRef="priorityVeryHigh" referenceBundle="menu_priority_v_high"/>
          </Menu>
        </DisplayAttribute>
      </DisplayAttributes>
      <AllowedFilters>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="yes" referenceBundle="filter_display_all"/>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_new">
          <Expression name="status" value="NEW" comparator="Equals"/>
        </CompoundExpression>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_inprogress">
          <Expression name="status" value="INPROGRESS" comparator="Equals"/>
        </CompoundExpression>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_duetoday">
          <Expression name="dueDate" value="Today" comparator="Equals"/>
        </CompoundExpression>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_overdue">
          <Expression name="dueDate" value="Today" comparator="LessThan"/>
        </CompoundExpression>
        <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="SL_TS25">
          <Expression name="itemType" value="uwl.task.webflow.TS94000025" comparator="StartsWith"/>
        </CompoundExpression>
      </AllowedFilters>
      <Actions>
        <Action reference="defaultGlobalWizard"/>
        <Action reference="addToNavigation"/>
        <Action reference="removeFromNavigation"/>
      </Actions>
    </View>
  </Views>
  <NavigationNode name="SL_MSS_Main" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
    <NavigationNode name="CombinedTask" view="SL_MSS_View" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks">
      <NavigationNode name="task2" view="DefaultView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="new_and_inprogress_tasks">
        <NavigationNode name="PersonalViewPlaceHolderTask2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
      <NavigationNode name="forwarded2" view="WorkItemsForwardedView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks_forwarded">
        <NavigationNode name="PersonalViewPlaceHolderforwarded2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
      <NavigationNode name="futureTask" view="FutureTaskView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks_for_resubmission">
        <NavigationNode name="PersonalViewPlaceHolderfuture" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
      <NavigationNode name="completed2" view="WorkItemsCompletedView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="completed_tasks">
        <NavigationNode name="PersonalViewPlaceHolderCompleted2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
    </NavigationNode>
    <NavigationNode name="notification2" view="NotificationsView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="notifications">
      <NavigationNode name="CombinedNotification2" view="NotificationsView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="all_notifications">
        <NavigationNode name="PersonalViewPlaceHolderNotification2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
    </NavigationNode>
    <NavigationNode name="CombinedTracking" view="ComboWorkItemRequestsView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tracking">
      <NavigationNode name="CombinedTracking2" view="ComboWorkItemRequestsView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="mytracking">
        <NavigationNode name="PersonalViewPlaceHolderComboTracking2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
      </NavigationNode>
    </NavigationNode>
  </NavigationNode>
</UWLConfiguration>

in the above code i mentioned a status word with bold and underlined as per my understanding from your code it think i need to remove that form this code.Please confirm me and also we need to change the range in tracking tab from Last three months to 1 year, where i should change this in code

Regards,

Pradeep B

Edited by: pradeep balam on May 19, 2011 12:14 PM

Edited by: pradeep balam on May 19, 2011 12:18 PM

former_member182598
Active Contributor
0 Kudos

To be sure that you are modifying the correct file

1. Navigate to System Administration ->System COnfiguration ->Universal Worklist and Workflow ->Universal Worklist Administration

2. Open the Tray for the Optional UWL Service Configuration

3. Edit and set the Display Support Information: to true.

Now go back to your UWL and you can see from which configuration file the configuration is being picked from.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

Thank you for the update.

It has been already set to true. I Opened UWL and selected an item it has displayed the information

Current Navigation Configuration Name: com.sap.pct.erp.mss.001

so i need to download the xml of com.sap.pct.erp.mss.001 under Manage item types and view definitions and modify it.

Correct me if i'm wrong

Thanks & Regards,

Pradeep B

Former Member
0 Kudos

and it is showing the information

Current View Configuration Name: uwl.standard

Former Member
0 Kudos

and it is showing the information

Current View Configuration Name: uwl.standard

former_member182598
Active Contributor
0 Kudos

Yes..

You are right.

Thanks

Prashant

Former Member
0 Kudos

so i need to download uwl.standard and modify, rename and upload it back, this is the one i need to do as you mentioned in the first reply.

Regards,

Pradeep

former_member182598
Active Contributor
0 Kudos

Hey Pradeep,

Sorry for the confusdion my last reply creates. I didn't see the last two responses you posted before posting mine.

You need to modify the

com.sap.pct.erp.mss.001

and upload with high priority.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

Ok, i downloaded that file but unfortunately i couldn't find the code which u mentioned as it is customized

below is the code i got starting with the line view="ComboWorkItemRequestsView"

view="ComboWorkItemRequestsView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tracking">

<NavigationNode name="CombinedTracking2" view="ComboWorkItemRequestsView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="mytracking">

<NavigationNode name="PersonalViewPlaceHolderComboTracking2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>

</NavigationNode>

</NavigationNode>

</NavigationNode>

</NavigationNode>

</UWLConfiguration>

Regards,

Pradeep

former_member182598
Active Contributor
0 Kudos

This file will not solve your purpose. Modify the uwl.standard file in that case.

Thanks

Prashant

Former Member
0 Kudos

ok, i will do that but want to get clarified one thing,

i will modify the code, upload it with a diff name (ex: uwl.custom) by selecting a system and checking high priority.

Now if i go to my UWL after clearing the cache i will be able to see

Current View Configuration Name: uwl.custom

and

Current Navigation Configuration Name: com.sap.pct.erp.mss.001

or

Current View Configuration Name: uwl.standard

&

Current Navigation Configuration Name:: uwl.custom

just clarify me this which one it is going to overwrite

former_member182598
Active Contributor
0 Kudos

Hi Pradeep,

It will not overwrite anything. UWL is designed in such a way that content from high priority configuration file takes the precedence. Incase you face any difficulty you can always delete the uwl.custom file and you will get what you have right now.

There is very little you can goof up here so don't worry and go ahead.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

I opened the XML file in XML editor but unable to edit it,it is not giving me option to do changes, is it ok if i open the code in notepad, do the changes and save it as xml file and then upload it.Let me know

Regards,

Pradeep

former_member182598
Active Contributor
0 Kudos

Hi Pradeep,

What I meant by XML editor was any local XML editor if you are comfortable with Notepad you can use that. I personally use pspad, which you can download for free from Net.

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant,

Thanks a lot.

It worked, assigned full points.

Just want to know one more thing the query range in the code is mentioned as Last_3_Months, it means it will fetch the last 3 months tasks/data, if i need it to change it to 1 year should i maintain it as Last_1_year in the same code which you mentioned or any other different way for that.

Let me know this

Thanks & Regards,

Pradeep

former_member182598
Active Contributor
0 Kudos

You will have to use

queryRange=u201CLastYearu201D

Allowed values for queryRange are

u2022

u201Cundefinedu201D

u2022

u201CLastWeeku201D

u2022

u201CLastMonthu201D

u2022

u201CLast_3_Monthsu201D

u2022

u201CLastYearu201D

Refer to http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/603958c1-3c20-2c10-8f92-e684f2139...

Thanks

Prashant

Former Member
0 Kudos

Ok, thank you, your information helped me a lot.

Thanks & Regards,

Pradeep B

Former Member
0 Kudos

Hi Prashant,

The status column is invisible now under tracking tab but when i select any item as i mentioned earlier it is showing

Current View Configuration Name: UWL.Custom.Hide.Status.SAP_ECC_HumanResources

&

Current Navigation Configuration Name: UWL.Custom.Hide.Status.SAP_ECC_HumanResources

but previously it was

Current View Configuration Name: uwl.standard

&

Current Navigation Configuration Name: com.sap.pct.erp.mss.001

so am in a confusion that the configuration used in com.sap.pct.erp.mss.001 is no more.

While uploading the file i select the system SAP_ECC_HumanResources and checked High priority,hope what i did is correct.

Regards,

Pradeep B

Answers (0)