cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer GOS attachment to my work item

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I think you can retrieve this entries of attachment list from table TOA01 or TOA02 or TOA03 whichever you are using as an attachment list.

To diplay the document you can use "ArchivedDocsDisplay" of business Object Archive.

Thanks

Arghadip

Former Member
0 Kudos

I have some annotations:

The object type ARCHIVE is for archived Data Files from the DataArchiving. The object type for ArchiveLink documents is IMAGE

The default method is .Display to display the document.

The GOS-Attachment is not a SAP ArchiveLink document. This attachment is stored in SOOD and linked via the GOS-relationship table SRGBTBREL

The business object, that can be used here is: SOFM

The object instance needs to be found with a custom self-made background method, to find the correct link and create an object instance.

After that, this instance can be used as a secondary method in the work item's execution or attached to the ADHOCOBJECTS as already mentioned here.

Good luck,

Florin

P.S.: Similar reply cross-posted to SAP-WUG

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

normally attachments of workitems will be displayed in workitems automaticly (on bottom, righten side as a kind of textlink). So when you do not see the attachment go to SWDD Workflow Builder and check if you made the correct binding. In detail: Check if your Attachment is binded from Wf container to task container of approval step.

regards

Former Member
0 Kudos

Hi,

Do you mean that the document attached using GOS will be automatically available in the work item??

sorry i don't have test data, so i can't test it now..