cancel
Showing results for 
Search instead for 
Did you mean: 

User Decision Box while Rejecting in UWL

nishantbansal91
Active Contributor
0 Kudos

Hi,

How we can show popup or any text box while rejecting the TASK. We have done changes in UWL XML file.


<ItemType defaultView="TS99000059_view" connector="WebFlowConnector" name="uwl.task.approval.webflow.TS99000059.SAP_ECC_HumanResources">

<ItemTypeCriteria connector="WebFlowConnector" externalType="TS99000059"/>

-<Actions>

-<Action name="accept" handler="UserDecisionHandler" groupAction="yes">

-<Properties>

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

<Property name="UserDecisionTitle" value="Approve the request"/>

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

</Properties>

<Descriptions default="Approve"/>

</Action>

-<Action name="reject" handler="UserDecisionHandler" groupAction="yes">

-<Properties>

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

</Properties>

<Descriptions default="Reject"/>

</Action>

</Actions>

</ItemType>.

We have successfully uploaded the file in the system and clear the cache.  But the there is no textbox after click on approve button.

We have done the entry in SWFVISU tcode for the task that we have mentioned in the UWL file.

Please let us know how to configure.

Accepted Solutions (0)

Answers (1)

Answers (1)

troy_cronin2
Active Contributor
0 Kudos

Dear Nishant

I hope you are well and many thanks for using the SAP Discussion Forums .

In relation to the scenario that you have described you mentioned making changes to the XML files with reference to the UWL.

In terms of the XML files themselves there are two very important points to highlight.

  1. Firstly it is essential to backup unedited and unchanged XML files so changes can be reverted easily if required.
  2. Secondly XML files with reference to the UWL follow the notion of precedence. After you made changes did you re-upload the XML files with a new priority of "High" and then subsequently clear the UWL Cache/Restart the UWL Service.

Secondly I have outlined some guidance documentation below which will proivde you with a comprehensive overview of the scenario.

User Decision Text box not visible in SAP UWL

http://scn.sap.com/community/enterprise-portal/blog/2014/01/06/user-decision-text-box-not-visible-in...

UserDecisionHandler

http://help.sap.com/saphelp_nw04s/helpdata/EN/7a/df014b037141ca9afc6433ed42b519/content.htm

** Reference Documentation **

UserDecisionNote as Mandatory NOT working

http://scn.sap.com/thread/1953021

Kindly update me as per your findings.

Kind Regards & All The Best

Troy Cronin - Enterprise Portal Support Engineer