Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Rejection Note Mandatory in Trip Expense Workflow

Hi,

We have trip expense workflow in SAP Portal UWL. We want to make the Memo Note to be displayed and made mandatory when a request is rejected. I have used below XML snippet in UWL configuration. However this does not work and I am unable to view the memo note. Any suggestion ?

<ItemType name="uwl.task.webflow.decision.TS20000118.DE1CLNT100" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">

<ItemTypeCriteria systemId="DE1CLNT100" externalType="TS20000118" connector="WebFlowConnector"/>

<Actions>

<Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="yes" launchInNewWindow="no">

<Properties>

<Property name="UserDecisionNote" value="true"/>

<Property name="decisionKey" value="0002"/>

</Properties>

</Action>

<Action name="com.sap.pct.erp.mss.tra.action.approver.RejectTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="yes" launchInNewWindow="no">

<Properties>

<Property name="UserDecisionNote" value="mandatory"/>

<Property name="decisionKey" value="0003"/>

</Properties>

</Action>

</Actions>

</ItemType>

Former Member replied

The error is appearing because you are not editing the downloaded XML file properly.

Use word pad (instead of notepad) to edit the XML files and make sure you have the proper formating maintained.

Then you can easily upload the XML configuration file.

***************************************

To turn on UWL support information:

System Administration - System Configuration - Universal Worklist & Workflow - Universal Worklist - Administration.

Under Optional Universal Worklist Service Configuration - Open the Tray for the Optional UWL Service Configuration - Display support information to TRUE.

Now, when you are in the Universal Worklist view, you can see a whole lot of information below your tasks. This will give you information on which XML is getting picked up and which one needs to be modified.

**********************

Now, with UWL support information turned on, and when you are logged in as the employee - select the item in your UWL and look for all the details.

Thanks,

Shanti

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question