Skip to Content
0
Former Member
May 02, 2008 at 07:32 PM

workitem Excel attachment

174 Views

Hello experts,

How can I add an attachment to a workitem that is simply a link to an Excel spreadsheet that resides on our intranet?

The intent is to have an initiator create the spreadsheet from a template (handled by an ABAP program) and start the workflow (either SWE_EVENT_CREATE or SAP_WAPI_EVENT_CREATE). The first user who receives the workitem will click on the link attachment to open/modify/update the spreadsheet, then the wf will continue to the next person who will add more details to the spreadsheet, then the wf continues to the next person, etc., etc.

I thought I'd have to use BO SOFM but don't know how to define the key since the object is external on the intranet.

I know that in a workitem, one can add an attachment as a URL that will find the correct spreadsheet. But I need the attachment there when the workitem is first opened and not rely on the user creating the attachment.

I've also tried an activity step using method ImportFile on BO SOFM. However it's not allowing changes to the spreadsheet to be saved. (I can make changes and click Save, but when I reopen the attachment, the changes are not there.) Besides the attachment description looks like the key fields of SOFM.

Any help would be greatly appreciated.

Ron