Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer GOS Attachment (Single/Multiple) from custom program to XK01

Former Member
0 Kudos

Hi,

GOS - Generic Object Service is a way one can attach single / multiple attachment. I have a custom program where there is a GOS with some attachment (used CL_GOS_MANAGER class).

Next I need to send / transfer this GOS attachment from my custom program to say a standard transaction , eg XK01.

Whether we can achieve this functionality, ie. we are able to create/save attachment but is there a way to send attachment (not via email) such that the same attach itself to the GOS of the standard transaction. I don't see any method in the CL_GOS_MANAGER class by which we can achieve this!

Any suggestion/solution will be highly appreciated!

Thanks,

Deb

2 REPLIES 2

Former Member
0 Kudos

Hello ,

have a look at my wiki on GOS.

http://wiki.sdn.sap.com/wiki/display/ABAP/GOS-AttachmentstoSAP+Documents/

regards

Prabhu

Edited by: Prabhu Peram on Jul 12, 2011 9:56 AM

0 Kudos

Hi,

I am trying to send attachment linked to a custom BO to standard BO eg, LFA1 using 'GOS_SERV_TOOLS_TEST' (copy_linked_objects).

Surprisingly, I am able to copy/send attachment list within same BO (LFA1) from one LIFNR to another LIFNR. But the same method does not work when I try to copy attachment between diff BO example from VENDOR BO to MATERIAL BO. Why is it so?

Also it does not work between a custom BO & standard BO. Please suggest in case I am missing on anything!

Thank,

Deb