cancel
Showing results for 
Search instead for 
Did you mean: 

Leave request order

marcelo_dudzin2
Explorer
0 Kudos

Hi

We have a Manager that needs to approve Leave request. He has several employees who have submitted each Leave request to him.

The Sent date is different in both cases.

One is from an employee named Battye and the other employee is named Hoyles.

Hoyles submitted his leave  on May 10th and Battye did it on Jan 29th:

When we click on either Hoyle (or Metcalfe) it is always bringing the Leave from Battye, it seems to show the order based on the name and not the date:

I have no idea about Portals, so could anyone help on how to change the order to display the Leaves in Sent date rather than in alphabetical name?

I guess that was something to do with the uwl xml file, but not really sure that I'm correct.

Below the existing xml code for that task

<ItemType name="uwl.task.webflow.TS90000057.QAS" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchOBN" executionMode="default">

<ItemTypeCriteria systemId="QAS" externalType="TS90000057" connector="WebFlowConnector"/>

<Actions>

<Action name="launchOBN" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

<Properties>

<Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>

<Property name="Operation" value="approveleaverequest"/>

<Property name="display_order_priority" value="5"/>

<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>

<Property name="ObjectName" value="employee"/>

<Property name="openInNewWindow" value="yes"/>

<Property name="System" value="SAP_ERP_HumanResources"/>

</Properties>

<Descriptions default=""/>

</Action>

</Actions>

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please check the note 1801494, It contains some changes in the XML.

you can also enable sorting inUWL check note 1680382. ie under UWL administration

http://wiki.sdn.sap.com/wiki/x/ehU

also, are you using

the standard workflow for WD ABAP leave request is WS21500001. Please

try out the behaviour with the correct SWFVISU settings, re-registering

in UWL and the standard WF WS21500001 (in V_T554S_WEB).