Skip to Content
Former Member
Apr 04, 2012 at 06:19 AM

Link to file in objects and attachments



is it possible the get a link to a file (txt, doc, xls, ...) in the "objects and attachments" of a workitem.

Normally there are the objects like bus2032 ...

I tried to create a new object with a method:

CALL METHOD cl_gui_frontend_services=>execute


document = [LINK]

operation = 'OPEN'

The file will open with this method. We created this method on the object selfitem and call it with the link as parameter. But this means, i must always open the file before, after ore parallel to the normal workitem.

The problem is the initialization of the "Link"-object. If have no key. It would be perhaps possible if i create a table with an id and the link and put the id into the "key fields" of the "Link"-object. But i wonder if there is another way.