cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable reject button for shopping cart in UWL SRM 5.0

Former Member
0 Kudos

Hi,

In the UWL you have the possibility to Approve or rejects shopping carts.

We want to hide or disable the reject button only for shopping cart (or purchase order).

The approver must still be able to approve a shopping cart from UWL.

Anyone has an idea to do this ?

The request from the business is that when a shopping cart is rejected the approver always has to fill a rejection reason in the Approval NOTE. However when rejecting from UWL we can not check if Approval Note is changed or not. One solution considered was to disable rejection button from UWL.

I am new to SRM so I hope some more experienced guru can help us out with this problem.

Thanks in advance,

Steve

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Steve,

To remove action from specific workitems, you can do this in the UWL configuration file.

1) Download the configuration file (in ZIP format). Go to:

System Administration > System Configuration > Universal Worklist & Workflow > Universal Worklist Administration

Click to "Administrate Item Types and View definition".

Then download file 'com.sap.pct.srm.core'.

2) Navigate to each WI you would like to change:

- <ItemType name="uwl.task.webflow.srm.TS40007952"... (SC Completion)

- <ItemType name="uwl.task.webflow.srm.TS40007953"... (SC Approval)

- <ItemType name="uwl.task.webflow.srm.TS40007954"... (SC Approval)

3) Within those item types, put a new property to action reference "reject" for 'Actions' definition like below:


<Properties>
   <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail" />
</Properties>

4) Save and upload file again.

Regards.

Laurent.

Answers (1)

Answers (1)

jason_boggans
Active Contributor
0 Kudos

Created in the wrong Forum, moved to Workflow forum.