How to transfer GOS attachment to my work item

Florin Wach florin.wach at gmx.net
Wed Jun 25 08:38:27 EDT 2008


Hello,

I assume, that you're talking about the functionalitiy  GOS-->Create...-->Create Attachment  where you can upload a file.

This uploaded attachment/file is stored in a hidden folder of the SAP Business Workplace and is linked to the GOS Services with the current Business Object in use.

This has nothing to do with ArchiveLink documents (tables TOA01, TOA0x) or the Business Object type IMAGE.

The table for the relationships is: SRGBTBREL

The document type, which is stored there, is a SAP Office Document, which could be instantiated using the Business Object type SOFM  (e.g. via a background task). This object instance then needs to be added to the container of _ADHOC_OBJECTS that it is available through the work item (or as a secondary method or whatever is feasable here).

To analyze, which values you'll need to find the entry in the table above, I'll suggest that you open a separate GUI window, just before you create the attachment, and trace the SQL statements via transaction ST05, restricted to your user-ID. When you have uploaded/created the attachment, stop the trace and get the list.
You'll find, what you're looking for, at the end of the list:

Example:
SRGBTBREL  EXECSTM     1      0 INSERT VALUES( '100' , 0x48623BFE355A0274E10080000ABE74FC , 'ATTA' , '4510314480' , 'BUS2012' , 'BO' , 'FOL18          4 EXT3... etc. ')


Best wishes,
Florin


-------- Original-Nachricht --------
> Datum: Wed, 25 Jun 2008 13:53:22 +0800
> Von: "Ibrahim Khan" <ikhansap at gmail.com>
> An: "SAP Workflow Users\' Group" <SAP-WUG at mit.edu>
> CC: Imthiaz Shabeer Ahmed <imthiaz at smartsoftus.com>
> Betreff: How to transfer GOS attachment to my work item

> Hi Friends,
>   I have the following requirement. The user while creating a
> Appropriation
> request in tcode IMA1N will create an attachment using Generic
> Object Services(GOS). once he saves my workflow will trigger and it will
> go
> to approval. I need to show the attachment created using GOS
> in my Work item. How to achieve this. Please advice.
> 
> Regards
> IKhan



More information about the SAP-WUG mailing list