Greetings,
System Info:
NW AS 7.03 ABAP Stack 731 Level 8, ECC 606 (EHP 6) with SAP_HR 604 Level 69 and EA_HR 607 (HR-Renewal 1) Level 20
Background:
We are using FI-TV (SAP Travel Management). In Our business process, the traveler creates a travel request and sends it for approval to his manager, at this point a workflow is used as an alternative to the POWL technology which we don't use. The manager receives the request in his UWL, is supposed to be able to see the form of the request (non-interactive adobe form) and any attachments added by the employee (via GOS/KPro/SAPOffice, integrated in the WDA Request in Standard) as a foundation for his decision to approve or reject the request.
Problem:
Having realized the above described requirements, there's one thing being a nuisance in the Workitem or rather in the presentation of the UWL. It's the "attachment" of the process object of BUS2089 highlighted in the following screenshot:
This link/attachment to the BUS2089 is superfluous and not wanted. I want it to be hidden/deleted/removed from the access of the manager, but up until now I haven't achieved that.
What I tried so far / Analysis:
I've gone through the following threads / documents:
How to enable attachments in UWL work items ???
Workflow Customizings in Travel Management - ERP Human Capital Management - SCN Wiki
Including Attachments in Web Dynpro Travel Expenses - ERP Human Capital Management - SCN Wiki
Universal Worklist - Frequently Asked Questions - Technology Troubleshooting Guide - SCN Wiki
I've tried to manipulate the Workitem programatically in a program exit of the decision task of the workflow, but I haven't found a suitable class/method for runtime manipulation that deals with "process objects", i.e. the BUS2089 is not an attachment so I can't use the Workflow API methods available for attachment-manipulation.
Even assuming I would have found a way to remove the process object, I wager it'd break the process and on top of that, the KPro relations between SOF-Documents and Trip are linked via a key of Trip Number and employee number from BUS2089...so... meh :-/
Bottom line I just want that process object BUS2089 not to appear in the UWL's task. Any ideas, destructive criticism and RTFM-*****slaps (in case I've overlooked something very obvious) are welcomed and highly appreciated.
Cheers, Lukas