07-11-2011 9:48 PM
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
07-12-2011 2:55 AM
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
07-16-2011 11:13 PM
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