GOS attachment and KPRO

Hi
I understood GOS attachment(Contents of PC attachment ) file is stored in SAP table SOFFCONT1 and SOC3.
But i could not understand how GOS attachment can be stored using Kpro to external server.
SAP note explains documents are stored  using Kpro. how the Kpro setting is done to save the attachment in external server.
I referred sdn forums and SAP help. but no body explains about how kpro is linked with GOS attachment.
Pls shed light on this.
Regards
ckumar

thanks..found its linked with Bussiness workplace..thanks

Similar Messages

  • Attachment and workflow overview - GOS

    Hello All,
    I have a  new custom BO. No delegation to another  object.
    And new applications using  this BO.
    I want to include the  "Generic Object Services" -> Workflow  Overview & attachment
    and display this on  the transaction just like VA0x to display the  WF.
    I need a  starting point!
    I have document Generic Object  Services  (BC-SRV-GBT).
    Not sure how to add this functionality.
    Please help asap.
    Thanks & Regards,
    Sangeeta

    Hello Sangeeta,
    I am too facing the same kind of issue.
    I developed a workflow and linked the BO ZBUS2081. This is sub type of standard BO BUS2081. I am using the custom event INVOICEBLOCKED to trigger the workflow. The workflow is triggered propely when the invoce is created (with block) thru MIRO and I can see the workflow in SWEL or SWI6 or SWI14.
    But, the workflow is not listed in the services for objects button of the invoice display using MIR4.
    If I use the standard event 'BLOCKEDQUANT' as starting event, the workflow is triggered and I can view it in services for object.
    In the table SWW_WI2OBJ has all entries about the workflow triggered using standard event or custom event.
    How can I make the services for object in invoice list my workflow that was triggered using custom evet?
    I tried this solution but, still not working.
    Can you please tell me what needs to be done to make this working?
    Regards
    Siva S

  • Services for Object (GOS) Attachement List not showing after attachment

    Hi All,
    I have created a new entry for the Generic Object Service List and this links to a copy of the CL_GOS_SRV_ATTACHMENT_CREATE class (Create attachment) with some additional logic. However, after attaching a file, the "Attachment List" does not become available until after I re-enter the transaction. The attachment list is showing the correct attachments.
    After some (understatement...) investigation, I found that even if I try and link the new service to a unchanged copy of the CL_GOS_SRV_ATTACHMENT_CREATE service in SGOSATTR, it is not working. It is attaching fine, but the "Attachment List" entry in the Services for Object Menu is still greyed out. If I attach the original class CL_GOS_SRV_ATTACHMENT_CREATE to the newly created entry it works fine. e.g. straight after I attach a file to the transaction, the menu entry becomes available.
    I can't find where the re-draw of the GOS menu happens and hence can not determine what is going wrong. Does anybody know if this is part of the Kernel or is this actually done in ABAP ?
    Am I missing something ? Debugging including system debugging for two days now and can't find it... very frustrating.
    Any help would be appreciated.
    Thanks,
    Wouter.

    Hi Wouter,
    I had originally posted to ask if you had resolved this since I was facing the same issue, but then deleted my post when I was able to get it working. Sorry, I didn't mean to initiate a flurry of activity in such an old thread.
    My scenario is I created a new GOS service entry in table SGOSATTR using transaction SGOSM. My new service uploads attachments to an external document management system via a call to a RESTful web service. The class I use in the SGOSM entry is a custom subclass of CL_GOS_SRV_URL_CREATE.
    I resolved this issue by taking a look at what CL_GOS_SRV_URL_CREATE does in its EXECUTE method. The key bits to refresh the GOS Attachment List with the new attachment are...
    raise event commit_required. " if SGOSM has the commit flag checked
    raise event service_succeeded
           exporting eo_service = me.
    These events tell any subscribers to go do their thing-- which in this case includes a refresh of the GOS Attachment List. So in the EXECUTE method of my custom subclass, after I call function BINARY_RELATION_CREATE, I raise these events...
    CALL FUNCTION 'BINARY_RELATION_CREATE'
       EXPORTING
           obj_rolea     = gs_object
           obj_roleb    = rel_doc
           relationtype = 'URL'
       EXCEPTIONS
           OTHERS       = 1.
    CASE sy-subrc.
       WHEN 0.
           MESSAGE s043(sgos_msg). " The attachment was successfully created
           RAISE EVENT commit_required.
           RAISE EVENT service_succeeded
                 EXPORTING eo_service = me.
       WHEN OTHERS.
           MESSAGE s042(sgos_msg). " The attachment has not been created
    ENDCASE.
    I hope this is helpful to you even though your initial implementation was a while back. Thanks for replying to my question though!!
    Cheers,
    Amy

  • 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.

    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

  • Retrieve GOS Attachment

    Hi All,
    I am developing a program to retrieve the GOS attachment from PO attachment and send to the vendor through email. Kindly advise me to resolve this problem because I have no idea how to retrieve the attachment from the GOS table.
    Many thanks and best regards,
    Ting Wei Hong

    Hi,
    There is a class CL_GOS_MANAGER. Use that.
    See here for an example:
    data: o_gos type ref to cl_gos_manager.
      data: o_att type ref to cl_gos_attachments.
      data: ls_borident type borident.
      ls_borident-objkey = gs_data-vgbel.
      ls_borident-objtype = zcl_word=>co_busobject_worddocument.
      free o_gos.
      create object o_gos
        exporting
          ip_no_commit = space.
      call method o_gos->start_service_direct
        exporting
          ip_service       = 'VIEW_ATTA'
          is_object        = ls_borident
        exceptions
          no_object        = 1
          object_invalid   = 2
          execution_failed = 3
          others           = 4.
      if sy-subrc <> 0.
        message 'Geen bijlagen aanwezig. Toolbox wordt getoond' type 'S'.
        o_gos->display_toolbox( is_object = ls_borident ).
      else.
        message 'Bijlagen aangepast' type 'S'.
      endif.

  • Gos attachment on a dynpro

    Hallo Gurus,
    I need Your help!
    Is it possible to use a Gos attachment in a Module Pool?
    I have an image on material master data, and I would like to show it on a dynpro (for example with cl_gui_picture).
    I have read the attachment with function SO_DOCUMENT_READ_API1 but then I don't know how to use the result.
    Can anybody help me?
    Thank you very much indeed!

    try
    CALL FUNCTION 'SO_DOCUMENT_READ_API1
    EXPORTING
    DOCUMENT_ID = <doc>
    FILTER = FILTER
    IMPORTING
    DOCUMENT_DATA = <DOCUMENT_DATA>
    TABLES
    OBJECT_HEADER = OBJECT_HEADER
    OBJECT_CONTENT = OBJECT_CONTENT
    * OBJECT_PARA =
    * OBJECT_PARB =
    * ATTACHMENT_LIST =
    * RECEIVER_LIST =
    CONTENTS_HEX = CONTENTS_HEX
    EXCEPTIONS
    DOCUMENT_ID_NOT_EXIST = 1
    OPERATION_NO_AUTHORIZATION = 2
    X_ERROR = 3
    OTHERS = 4

  • RFCs to create GOS attachment

    Hi Experts,
    I'm not ABAPer at all. Here are only my suppositions and please do not judge me strictly.
    I need to upload PDF file as a GOS attachment to the QM notification from external system (SAP MII) using RFC. As I found out there is no remote-enabled FM for this. There is only SGOS_NOTE_CREATE for notes. I investigated it and found out that all FM's that are used inside it are remote-enabled.
    Question: is it possible to call from my external system same 3 FMs as in SGOS_NOTE_CREATE (SO_FOLDER_ROOT_ID_GET, SO_OBJECT_INSERT, BINARY_RELATION_CREATE_COMMIT) to create attachment instead of note? I guess that in general i need to provide SO_OBJECT_INSERT with some other parameters than it is done in SGOS_NOTE_CREATE, so it will create attachment-object instead of note-object in SAPoffice. Is this way possible, or there should be more steps to create attachment?
    thanks in advace,
    Petr

    Hi,
    In the above code what is is_object and attachment parameters corresponds to. What are the values needs to used in this parameters.
    data: l_object_id_loio type SDOKOBJECT,
           l_object_id_phio type SDOKOBJECT.
      call function 'SO_LOIO_PHIO_CREATE'
            importing
                 loio_object = l_object_id_loio
                 phio_object = l_object_id_phio
            exceptions
                 kpro_model_error = 103
                 x_error          = 1000
                 others           = 1000
    call function 'SO_KPRO_DATA_INTO_OBJCONT_PUT'
                  exporting
                       loio_object = l_object_id_loio
                  tables
    *                CONTEXT     =
                       objcont     = i_objcont.
       x_obj_data-file_ext = 'HTM'.
         x_obj_data-OBJPRI = '5'.
          x_obj_data-extct = 'K'.
         x_obj_data-objla = sy-langu.
         x_obj_data-objdes = '000004280212022400687486'. "wa_attach-filename.
         x_obj_data-objlen   = LINES( i_bin_data ) * 255. "i_soli_size. 000000007319
         CONDENSE x_obj_data-objlen.
    CONCATENATE '&SO_FILENAME=' '000004280212022400687486.htm' INTO x_objhead. "wa_attach-filename INTO wa_content.
         APPEND x_objhead TO i_objhead.
         x_objhead = '&SO_FORMAT=BIN' .
         APPEND x_objhead TO i_objhead.
         CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
             folder_id                  = l_fol_id
             object_hd_change           = x_obj_data
             object_type                = 'EXT'
             owner                      = sy-uname
           IMPORTING
             object_id                  = x_object_id
           TABLES
             objcont                    = i_objcont    "&SO_KProObjectID=SOFFLOIO E2870D61F569E7F186CB0013216A31DB
             objhead                    = i_objhead     "&SO_FILENAME=000227964812102400687486.htm &SO_FORMAT=BIN
           EXCEPTIONS
             active_user_not_exist      = 1
             communication_failure      = 2
             component_not_available    = 3
             dl_name_exist              = 4
             folder_not_exist           = 5
             folder_no_authorization    = 6
             object_type_not_exist      = 7
             operation_no_authorization = 8
             owner_not_exist            = 9
             parameter_error            = 10
             substitute_not_active      = 11
             substitute_not_defined     = 12
             system_failure             = 13
             x_error                    = 14
             OTHERS                     = 15.
         IF sy-subrc = 0 AND x_object-objkey IS NOT INITIAL.
           x_folmem_k-foltp = l_fol_id-objtp.
           x_folmem_k-folyr = l_fol_id-objyr.
           x_folmem_k-folno = l_fol_id-objno.
           x_folmem_k-doctp = x_object_id-objtp.
           x_folmem_k-docyr = x_object_id-objyr.
           x_folmem_k-docno = x_object_id-objno.
           l_ep_note = x_folmem_k.
           x_note-objtype = 'BKPF'. "c_message.
           x_note-objkey = l_ep_note.
           CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
             EXPORTING
               obj_rolea    = x_object
               obj_roleb    = x_note
               relationtype = 'ATTA'
             EXCEPTIONS
               OTHERS       = 1.
    I am using this code for attaching a .HTM external file automatically to a invoice document. But unable to attach it.
    Can you please help.
    Regards,
    Rafi

  • How to enhance the GOS attachment list

    Hi,
    I'd like to enhance the standard GOS attachment list as follows:
    - when archiving a new document (archive link) to write additional text into a z-table --> this I managed already
    - in the display of the attachment list, besides the standard fields display also additional fields (from the z-table) --> this is a new requested feature
    - add a new button with functionality (besides the already known change, delete, filter, etc. buttons) --> this is also a new requested feature
    I tried already some BADIs, but it seems that they are not really working.
    So, if someone could support in this case, it would be highly appreciated:
    a) read additional info and display it in the GOS ALV
    b) put additional functions / icons on the ALV
    The SAP release I'm working on is ECC 6.0
    kr,
    Andreas

    Hi Anderas,
    There is a class for GOS attachment list. CL_GOS_ATTACHMENTS
    go to se24 and checkout this class. There are various methods. As per my knowledge you can make enhancement implementations in method SET_TOOLBAR rto fullfill your requirement.
    By debugging check out for other methods which can suite your requirement.
    Regards
    Sachin.

  • How to Change Outlook Default Folder for Insert-Attachment and Save Email/Attachemnt while Outlook is open (VBA)

    Hello,
    Office 2010 32bit, VBA
    Is it possible to programmatically do the above while Outlook is running?  If so, I'm hoping to make that change from a Word macro.
    I tried tinkering with the reg key and that doesn't work because it appears Outlook only respects it at startup time. Similary changing Word File-options-location of documents is respected only when Outlook starts.
    I'm looking to seamlessly keep Outlook's default folder in sync with Word's default folder as the users change working folders in Word, which they do many times per day (and they chose the folder among a couple of thousand possibilities).
    I'm hoping there is a difficult-to-find Outlook object I can manipuate to get to the end result.  IF there is such an Object I have been unable to find it.
    Many thanks!
    Julie

    Hi Julie,
    Based on my research, I think outlook object model doesn’t provide the way to change the default folder for insert attachment and save email/attachment.
    The way to change it is that we need to modify the registry setting and the outlook app should be restart.
    # How to set the default attachment folder in Outlook
    https://support.microsoft.com/kb/252732?wa=wsignin1.0
    You may create the add-in to custom these actions (e.g. attach attachment, save email)
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • In mail, my attachments, both photos and documents appear in the body of the message.  How can I get my attachments to appear as a separate attachment and not as part of the message.  Thanks for your help, Karen.

    In mail, my attachments, both photos and documents, appear in the body of the message.  How can I get my attachments to appear as a separate attachment and not as part of the main message????  Thanks for your help, Karen.

    softwater wrote:
    ...and costs $14.99
    Yep! And if you absolutely need (or think you need) that functionality, it is worth every penny.
    As Don already pointed out, exactly what the recipient sees will depend on how they've set up their machine and what unnecessary 3rd party apps they might've installed to display attachments the way they want.
    In theory, that is true. In practice, Attachment Tamer will cause more of your messages to show up as plain-jane icons on the other end. The problem is, after all, people running Outlook 2003 and 2007. These people likely aren't doing many system modifications.
    If I were you, I'd use the free solutions provided above, save my money and let my recipients decide how they will handle their mail.
    I completely agree.

  • Mac won't open some files MasterPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.

    The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
    Please update this thread if your issue is resolved.
    Thanks,
    Shashi

  • I bought an ebook but when I  try to download it I receive a message stating 'Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wa

    Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
    Much appreciated

    I think you should ask in the Digital Editions forum, Adobe Digital Editions

  • How Can I Attach and Link an XML file to a 3D Model in a PDF?

    How Can I Attach and Link an XML file to a 3D Model in a PDF?
    What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file.  I would also like to be able to add to the parts list if at all possible once the pdf has been created.  A template to create future PDF's with the 3D model and list might also be useful.
    I am not entirely sure if this is all possible within a PDF file, but I have viewed a PDF (Adidas Trainer) example which has a Excel file attached to it which links to the 3D model.  I have also had a look at partner products such as Lattice, Tetra4D, Anark, which can do animations and all sorts, but frankly it seems a bit overkill for what I am looking to do.
    Please, any help would be appreciated.  Thanks

    AlliCT59 wrote:
    > Shared Object sounds like it would work, but hten agian,
    I'm really stuck!
    >
    > Thanks for any help.
    >
    > Allison
    I wrote about it while ago, let me paste the whole thing.
    This example has simple
    buttons which upon click go to new sites and in the same time
    place record in form
    of *.SOL file on user drive. That record is read when you hit
    the next button and
    based on that the button will be selected as the one last
    clicked.
    You could use the very same thing just instead of suppressing
    button simply gotoAndPlay frame
    to continue the part you need.
    http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/36649453 1f4fd02d/245a57d0cdaa1d29?lnk=st&q=&rnum=3&hl=en#245a57d0cdaa1d29
    The source is in a different place, i re-upload for you :
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/
    fla file
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/beentourl.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • I get a weekly email with a PDF attachment and when I open it it's to large to print. To date I'm not able to find a way to shrink or adjust the size. The doc was created on M/S Office-excell

    I get a weekly email with a PDF attachment and when I open it it's to large to print and I know of no way to shrink or resize the doc. It's created in M/S excel. Can anymore assist....TX

    From: Test Screen Name [email protected]
    Sent: Sunday, August 04, 2013 11:32 AM
    To: gunner0490
    Subject: I'm not able to open PDF files in Adobe Reader XI.
    Re: I'm not able to open PDF files in Adobe Reader XI.
    created by Test Screen Name <http://forums.adobe.com/people/TestScreenName>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/5565198#5565198

  • Why can't I open a pdf file on my desktop?  I keep getting this message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and w

    Why can't I open a pdf file on my desktop?  I have Adobe Reader and running OS 10.10.1  I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    I tried that.
    I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

Maybe you are looking for

  • Video Playback in synchroniz​ation to data display

    I've read a bunch of topics about recording live video, but my question has to do with playback synchronized to a data display.  I've got a simple black and white camera (RS170) already.  I'm going to get some sort of capture board.  I want to record

  • Can't display pdf's using IE 10

    This issue I have had for several months even using IE 9.  I can display PDF's just fine using Firefox. I have read and read and have exhausted all options...I think. I have the latest Reader and also have X Pro installed, using WIN 7, 64 BIT When I

  • I also have a problem

    Having come to the forum to ask an actual question, I have been laughing at Bill's dialog with himself. Anyway, here is the question: I have about 20 audio clips that I want to play for a client to get a feel for the type of music they might like. I

  • After oracle 10.2.0.1.0 patch set 10.2.0.4.0,It does not work

    Hi,ALL After I set patch on oracle 10.2.0.1.0,update to 10.2.0.4.0,it does not wrk at all. Error as below ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist When startup upgrade execute till to Redo Buffers ,it stopp

  • Handing over site files to client: absolutely necessary?

    I recently had a client ask me for the "access code" to his site; I told him such a thing didn't exist and if he wanted to update his own site he could purchase a CMS. While Contribute is another option, it is money detoured from me to Adobe, notwith