GOS attachments - link with workitems

Daley, Mark M. MARK.DALEY at woodside.com.au
Wed Oct 21 22:27:42 EDT 2009


Hi Jay,

what I've done in the past is to put a link from the workitem to the docs attached to the bus obj via GOS. I did this by creating a class or BOR with a default method that gives a popup list of the GOS attachments(same as the one you get via the GOS icon). I then instantiate this class/BOR in my workflow so it appears as an attachment to the workitem. When the user clicks on the attachment, the popup of GOS attachments appears.

This way the docs can stay attached to the bus obj, but you get to see them from the workitem.

In your default method this FM gives the GOS popup of attachments.

  CALL FUNCTION 'GOS_EXECUTE_SERVICE'
    EXPORTING
      ip_service             = 'VIEW_ATTA'
      is_object              = ls_object
      ip_no_commit           = space
      ip_popup               = space
*     IMPORTING
*       EP_EVENT               =
*       EP_STATUS              =
*       EP_ICON                =
   EXCEPTIONS
     execution_failed       = 1
     OTHERS                 = 2.

Cheers
Mark
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of jayachandra reddy
Sent: Tuesday, 20 October 2009 8:09 PM
To: sap-wug at mit.edu
Subject: GOS attachments - link with workitems

Hi,

When a document is attached through generic object services in a transaction, can we get the same attachment in the corresponding business object workitem?

Thanks
Jay


________________________________
________________________________
>From cricket scores to your friends. Try the Yahoo! India Homepage!<http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew>

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091022/82af1ada/attachment.htm


More information about the SAP-WUG mailing list