on 02-18-2009 3:16 PM
Hi,
Can anyone help me in deleting or hiding the Attachment link and the launchWebdynpro button in the UWL iview. I dont want to do it in the iview properties which would affect all the tasks. Is there a way I can do it in the backend.\
I appreciate the help.
Thanks
Hi,
For Deleting the Attachment use FM SAP_WAPI_ATTACHMENT_DELETE.
To remove the Attachment, the binding which you assigned have to be removed. Then the attachment link won't appear.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Surjith,
I have the same problem. How can I remove the link? After I called the mentioned function module, the attachment was removed (content) but in the UWL the file name is still there:
From UWL:
myFile.pdf by WF-BATCH (94 kb)
myDeletedFile.pdf <-- I removed this one with the function module
CALL FUNCTION 'SAP_WAPI_ATTACHMENT_DELETE'
EXPORTING
workitem_id = me->mv_wf_instance_id
att_id = ls_att_id
delete_document = abap_true
IMPORTING
return_code = lv_return.
Could you please help me?
Thanks,
Thomas
Hi Thomas Mocker,
You don't want to see the attachment in the workitem right.
Goto T.code SWFVISU, Click the Object visualization and click new entries, give the select object and give your in Object type BO and in the 'visualization type' select 'None Object not Represented' .
Then save and test your workflow.
Regards,
Surjith
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.