Skip to Content
0
Former Member
Apr 01, 2014 at 08:48 AM

Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

214 Views

Hello

Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.

I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.

1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction

2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.

3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.

I have gone through the following post in SCN:

https://scn.sap.com/thread/2056959

I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.

If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.

Thanks