on 10-09-2008 1:00 PM
Hi,
Í have this workflow where people have to create attachments to a workflow. The workflow continues to another agent but might come back later. The original agent then has delete one or more of the attachments. (and maybe create new ones)
From the Workplace i can click on the paperclip (manage attachments) and then i get the option to "delete attachment", however if i choose that option i get an message saying: "no attachments that can be deleted"
Now i know that attachments can not be deleted by other agents but i thought that the agent who created the attachment could delete it again.
Any suggestion how to deal with this?
Thx
Robert
Hi
It is NOT possible to delete the attachment, unless:
1) you are the user that created them AND the workflow is still in the step where the attachments are created,
OR
2) you are SAPADMIN and go to workflow logs where you can delete anything you like.
So be careful with attachments in workflows.
Kind regards
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its weird I thought the agent who creates and attachment can delete it.
When you tried to delete the attachment did u double check the user.
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why not consider removing the line from element "_Attach_Objects" in the workitem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
Use this wapi to delete the attachment in the workitem. "SAP_WAPI_ATTACHMENT_DELETE".
But this Function module needs the workitem id as the mandatory parameter.
Hope this is helpful to you.
Thanks and Regards
Balaji E.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.