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

Similar Messages

  • Service for Object - GOS

    Hello all,
    My client is wanting to use Services for Objects (GOS) to store comments about documents, notifications, etc.  One disadvantage of GOS is there is no visible way to tell if an attachment has been made.  I have been told there was an enhancement to the GOS that if an attachment is made to the GOS, the Icon would change color (or something visible) to indicate there is an attachment.  Can anyone help me with this?  I have searched OSS Notes but no luck so far.
    This site is running SAP version 710 Patch level 6. 
    Thanks,
    Bill

    I know this is an old post but for reference, this is what we currently do.
    implement badi gos_srv_select, in method select_services
    (code snippet)
      zstat = cl_gos_attachment_query=>count_for_object( is_object = is_lpor
                                                         ip_url = ' '
                                                         ip_arl = 'X'
                                                         ip_private = ' ' ).
      describe table zstat lines znum.
      if znum > 0.
        message s888(sabapdocu) with 'At least one note or attachment exists'.
      endif.
    I'm sure there are many other ways, this works good enough for us.
    Jim

  • Where does the Services for Object (GOS) store data?

    I have a requirement that I need to upload a Blocking Reason document for any blocked vendor.
    The normal process we follow for blocking is XK02->Extras-> Blocked Data or XK05.
    We want to check before the Vendor is saved with blocked data whether he/she (who is blocking the vendor) has uploaded the Blocking Reason Document .
    I found out that we have an option in Vendor screen for uploading a document under 'Services for Object' in XK02 as shown in the below (in the red box).
    After uploading the attachment it will show the uploaded document in the Attachment List as shown below.
    I don't know where this entry is stored. I checked in the table SOOD (SAPoffice: Object definition), but there is no entry in there.
    I would like to know on how to check whether the file has been uploaded at the time of saving the vendor.
    If anyone knows the table in which this data is stored, kindly point it out.
    Thank You,
    Sreejith Babu.

    Hi Sreehith,
    Please refer the following document: http://wiki.scn.sap.com/wiki/x/yIEEBQ
    These attachments can be downloaded using FM BDS_GOS_CONNECTIONS_GET
    Refer the following document: Printing or Downloading Service For Object Attachments to local desktop
    Regards,
    Vijay

  • Material list   not showing after saving the sales document

    Hi
    any body can give the answer  for this question : AFTER SAVING THE SALES ORDER MATERIAL LIST IS NOT SHOWING . Thanks in advance

    Hi,
    Go to Menu EDIT >> DISPLAY RANGE >> ALL ITEMS
    Also set it on sales order document type in VOV8
    Display Range -  UALL
    Kapil

  • Contact list not show after migration Exchange 2007 to 2010

    Hello.
    I have a old infraestructure with exchange 2007 and new organizacion with exchnage 2010
    If I migrate a mailbox from 2007 to 2010 I can open the mailbox on 2010 without problems,
    From owa works correct active sync and outlook work correct, I can send a receive mails but, from outlook client I can not see the Global Address list.
    Step by step:
    User with mailbox over exchange 2007.
    Outlook, owa active sync.. all is working fine and I can see the Global Addres list from owa and from outlook.
    Move mailbox from 2007 to 2010
    Completed ok without errors
    The user mailbox on 2010 working fine, I can access by owa by outlook and active sync and from owa I can see the Global Addres list but from outlook I can not see the GAL.
    I've tried diferents outlook versions: 2003 2007 and 2010 but I can not see the GAL
    If I try to download de GAL from Outlook I see outlook download the correct list and complete ok without erros but not show on outlook.
    I don't know why..
    Exchange 2007 with sp3 and 2010 with sp3 too.
    Any idea how could resolve this problem?
    Thanks in advance¡

    Hi
    Did you migrate your address list or create a new one? Move-OfflineAddressBook "Default Offline Address Book" -Server <your Exchange 2010 server>
    Get-OfflineAddressBook | fl *server*
    Set-OfflineAddressBook "\Default Offline Address Book" -VirtualDirectories "your exchange server\OAB (Default Web Site)"

  • Phonegap Build service for jquery mobile themed page not showing on mobile

    I am trying to use jQuery mobile inside the Adobe Dreamweaver CC and then use phonegap build service to deploy the application to my phone. The issue here is that the Dreamweaver design panel is showing the jQuery Mobile UI but the application APK which is deployed over the phone does not.
    Please find below the screenshot of Dreamweaver CC with design and code panel.
    http://stackoverflow.com/questions/17334492/adobe-dreamweaver-cc-phonegap-build-service-is sue
    Find below the entire index.html code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>jQuery Mobile Web App</title>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-role="page" id="page">
        <div data-role="header">
            <h1>Page One</h1>
        </div>
        <div data-role="content">  
            <ul data-role="listview">
                <li><a href="#page2">Accenture</a></li>
                <li><a href="#page3">Digital</a></li>
                <li><a href="#page4">CASF RIA</a></li>
                <li><a href="#page5">Hybrid Applications using PhoneGap</a></li>
            </ul>      
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page2">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>ACCENTURE Page</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="selectmenu" class="select">Select Technology Areas:</label>
            <select name="selectmenu" id="selectmenu">
              <option value="option1">Digital</option>
              <option value="option2">Oracle</option>
              <option value="option3">Mobile</option>
            </select>
          </div>
          <div data-role="fieldcontain">
            <label for="slider">Value:</label>
            <input type="range" name="slider" id="slider" value="0" min="0" max="100" />
          </div>
          <div data-role="fieldcontain">
            <label for="flipswitch">Option:</label>
            <select name="flipswitch" id="flipswitch" data-role="slider">
              <option value="off">Off</option>
              <option value="on">On</option>
            </select>
          </div>
          <div data-role="collapsible-set">
            <div data-role="collapsible">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
          </div>
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page3">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>DIGITAL Page</h1>
        </div>
        <div data-role="content">  
        <div id="Accordion1">
          <h3><a href="#">Section 1</a></h3>
          <div>
            <p>Content 1</p>
          </div>
          <h3><a href="#">Section 2</a></h3>
          <div>
            <p>Content 2</p>
          </div>
          <h3><a href="#">Section 3</a></h3>
          <div>
            <p>Content 3</p>
          </div>
        </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page4">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>CASF RIA</h1>
        </div>
        <div data-role="content">
          <ol data-role="listview" data-inset="true" data-split-icon="arrow-d">
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
          </ol>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page5">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>HYBRID APPLICATIONS using PhoneGap</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="email">Email:</label>
            <input type="email" name="email" id="email" value=""  />
          </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <script type="text/javascript">
    $(function() {
        $( "#Accordion1" ).accordion();
    </script>
    </body>
    </html>
    This is how it looks in device:
    This is how it looks in the mobile devices:
    Could anyone please help?

    Try defining a site and then create the mobile themed page within that site and DW will copy all the assets relative to the site path and will not be as its in your current page.
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    HTH
    --Bhawna

  • Friends "buddy list" not showing after the last update..!!

    I just downloaded the update and for some reason i cant see my friends online, i tried restarting couple of time and its still the same, and two of my other friends are having the same problems, any advise ?

    First.
    Repair permissions.
    Applications > Utilities > Disk Utility
    Highlight your Mac's HD and click the Repair Disk Permissions button near the bottom.
    Restart iChat

  • My workflow is not listed in the GOS (Services for object)

    Hello Experts,
    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?
    Appreciate your help.
    Regards
    Siva S

    Hi Siva
    Thanks for marking this thread answered.....We are glad that your issue was solved :-) ....... But I do agree with Rick Bakker, the first correct answer was by Paul Bakker and I had just elaborated on that.
    Please mark the first correct answer as the "green" one.
    Regards,
    Modak

  • Display GOS without click on 'Service for Object' button

    Please try the following step to figure out.
    1) VA03
    2) At header of report (on the left hand side of 'Display S/O SysB SDI xxxxxxxxx:Overview' ) has a button called 'Services for Object' (GOS)
    3) Click on that then it will popup icon menu set.  <--- Want this to be displayed when access VA03 by no need to click the button in 2)
    My requirement is I want this popup to be displayed suddenly after I access VA03 (no need to click on the Services for Object button anymore).
    <b>
    Could you please provide me any solution, function, example, similar case, etc. (based on 4.6c)?</b>
    Thank you all expert in advance.. I'll be here to provide you more information that need.

    I found the solution yet. Let me drop a note to be a memorandum.
    (1) Insert code into the last line of form <u>USEREXIT_READ_DOCUMENT</u> within report <u>MV45AFZZ</u>
    PERFORM UNITEXIT_READ_DOCUMENT.
    <b>*{   INSERT
    *[Display Attachment Service Automatically]
        DATA: lo_myobject  TYPE REF TO cl_gos_manager,
              lo_container TYPE REF TO cl_gui_custom_container,
              ls_object    TYPE borident.  "BOR Identifier
          ls_object-objkey  = vbak-vbeln.
          ls_object-objtype = 'BUS2032'.
          CREATE OBJECT lo_myobject.
          CALL METHOD lo_myobject->start_service_direct
                      EXPORTING ip_service   = 'VIEW_ATTA'
                                is_object    = ls_object
                                io_container = lo_container
                      EXCEPTIONS OTHERS          = 2.
    *[Display Toolbox]
        CALL METHOD lo_myobject->DISPLAY_TOOLBOX
                    EXPORTING  is_object       = ls_object
                               io_container    = lo_container
                    EXCEPTIONS OTHERS          = 2.
    *}   INSERT</b>
    ENDFORM.
    (2) Try open VA03 and insert attachment at Service for Object.
    (3) Reopen VA03, attachment list displayed suddenly.
    <i>Reference Source# SAP Library, search 'Starting Only One Service Directly'.</i>
    <b>NOTE:</b> You can use another relevant object by SE24 -> CL_GOS_MANAGER

  • Forward PO as pdf attachment from Services for Object to external emails.

    Hi,  I am trying to forward PO to external email address from PO services for objects.  I could not send as pdf document to external email address.  SAP users are receving as SAP object in inbox.  I can achieve this trough Message Determination for vendors. However my requirement is to forward to muliple external parties and internal users who do not have SAP access.  Please advise any configuration or development need to be carried out to forward PO as pdf attachment.  Advance thanks for your valuable inputs.

    check answer given by Soumyaprakash in below thread:
    http://forums.sdn.sap.com/thread.jspa?threadID=2111142 and
    also have a look at below thread
    http://forums.sdn.sap.com/thread.jspa?threadID=1324971
    but i would like to know why you need to send PO to anybody but supplier?
    yogesh
    Edited by: Yogesh Lohiya on Feb 8, 2012 7:25 PM

  • In Attachement List Services for Objects White Screen when I Display a Note

    Hi Expert,
    Need your assistance.
    I am trying to view a note in Vendor Master data but no information provided and I can only see white screen. Below are the steps that I performed:
    1. Go to FK03
    2. Open a Vendor
    3. Click the Services for Objects
    4. Attachement List
    5. Select a Note
    4. Display it
    5. Pop up window appreared and no information occurred. Only White screen
    Is there's a missing configuration, plugin, or data in my SAP system/workstation?
    I tried to login to other PC and it worked.
    Just wondering what is missing on my computer.
    Your response will be helpful.

    Hey,
    I have the exact same problem as you have described. I also used my ipod as a watch but starting from today, whenever I unlock it the screen turns white until a reset is done. Even a factory reset through itunes didn't fix it.
    Have you found any solution?
    Bah, this is annoying.
    //Gubbar

  • Services for Objects Attachement List Display Note not Viewable

    Hi Experts!
    Good day! I'm trying to display a note in FK03 (related to Services for Objects - Attachment List) and I only see white screen pop up window. No message and text information. When I tried to use another PC I can successfully view it.
    Is there's a plugin that I may need to install?
    Your help will be greatly appreciated.

    Hi Marty
    It is my understanding that the IXOS licensing is based on users retrieving of documents not necessarily the viewer so the licensing implications of having non-IXOS viewers accessing documents using the generic archivelink viewer is still likely to result in licensing implications if an audit is conducted at any stage.
    The transaction for specifying the viewer is the OAA3 and OAG4.
    Regards,
    Athol

  • IE02 services for object- How to collective list attachment by many equip?

    Hi all,
    IE01/IE02  i create attachment by services for object for equipment.
    But I want to collective  list attachment by equipment, not by individual  equip to display.
    How to do that?  or which table can i find the info?
    thanks a lot

    derek,
    I don't think there are any [Generic Object Services|http://help.sap.com/erp2005_ehp_04/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm] (GOS) transactions to mass update objects...
    I suspect you would need to develop a custom BDC program for this purpose.
    PeteA

  • ME51N services for object- How to collective list attachment by Requisition

    Hello!!
    When create ME51N or Change ME52N a puechase requisition, the users use the Service for Object to attach some word, excel, pictures files as attachements.
    There is away to see in a table or in a report what documents have an attachemnt and what not have it?

    Hi
    There is no standard report for attachment list. But for a particular document you can view attachment by selecting services for object and view attachement lists.
    Regards
    M P D Kamath

  • Attachment list in Services for Object toolbar

    Does anybody know if there is any user exit or BADI that I can use to filter certain file attachments in Attachment list of Services for Object toolbar.
    For example, in transaction XK03 (Vendor display), Services for Object toolbar, you can see the Attachment list and it will display list of pc file attachments, however, we have a requirement to display only those that met certain criteria, is there any BADI or user exit for this?
    Thanks in advance for your help.

    you can use BADI
    GOS_SRV_SELECT
    for this.
    Regards
    Raja

Maybe you are looking for

  • Why can I not send a text to more than one person at a time on my iphone 5

    I have an iphone 5 IOS 8.1.3, and I can only send text messages to one person at a time. I cannot send GROUP text messages. It will then tell me they are not delivered.  What is wrong? How can I correct it?

  • Smart Album Not Loading Images

    I have not seen a discussion (nor Apple support document) that answers my newest Aperture 3 dilemma. First of all, let me say that I am not new to Aperture. I've been using the program since Aperture 2 was introduced. I have successfully used Smart A

  • Where are the book files located

    Where are the iBook files located in OS X 10.10.1? I do NOT want to use iCloud but much prefer to make hard backups of all my books but I can't find the files

  • Need to send FYI Notification - Oracle Applications

    Hi, I need to send FYI notification upon completion of one concurrent program of PL/SQL procedure type. Can I use WF_NOTIFICATION.SEND method? Alreay I have one custome FYI message defined in WF_MESSAGE table. I am new to workflow and dont want to to

  • Volume bar is frozen

    from time to time the volume bar and volume controls on my OSX LION mid2010 13MBP freezes up - Any idea why this is???