Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2011 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.