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

Similar Messages

  • 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

  • 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

  • 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

  • GOS and Services for objects are same?

    Hi
    Pls clarify my points
    Services for objects and GOS(Generic object service) are both same or different?
    To my understanding it looks like different as follows
    -Service for objects is single icon to click for attachment, can be used only from front end execution.
    -GOS is a toolbar kind of icon, have collection of menu inside, can be used for background execution also.
    Both functions are different? Pls confirm.
    Regards
    ckumar

    Understood the problem
    both are same

  • Difference between usage of "System -- Services for object" and GOS direct

    Hey folks,
    i was wondering if you know an answer for that problem:
    1) Start ME23N (no SAP Gui classic design!) and go to System - Services for Objects in order to start the GOS Toolbox. Try to to store a business document. In my case i don't have the authorisation S_WFAR_OBJ so i get the  Message no. 00398 "You do not have authorization for this function" Thats the behavior a want
    2) Start ME23N and activate GOS Toolbox by clicking directly on the button on the top left corner. Try to a store a business document. But there is no message coming up?! Same user, same PO! It seems that the Toolbox is just beeing restartet and thats it.
    Same behavior in IW53/IW33 too, no auth error message if GOS is started via "System --> Services for Objects".
    Thats our system:
    ERP ECC 6.04 with NW 7.01
    SAP Gui 7.20 PL 3 (signature design)
    Thanks for your help and best regards
    Olli
    Edited by: Oliver Grewenig on Jan 18, 2012 11:30 AM

    Hi Oliver,
    I have done a similar testing for Tcode FB03 since I have done Archivelink configuration for this FI object.
    Case 1:
    =======
    Start FB03 (no SAP Gui classic design!) and go to System - Services for Objects in order to start the GOS Toolbox. Try to to store a business document. In my case i don't have the authorisation S_WFAR_OBJ so i get the Message no. 00398 "You do not have authorization for this function"
    Case 2:
    ========
    Start FB03 and activate GOS Toolbox by clicking directly on the button on the top left corner. Try to a store a business document. Still got the same error message "You do not have authorization for this function".
    Later I added the required object in the authorization profile and it worked in both the cases mentioned above.
    Since the same program is being executed behind both the cases, it will check the same authorization object as designed.
    What I would suggest is that you perform this test again and ensure that no one modifies the authorization during your testing period.
    Regards,
    Deepak Kori

  • 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

  • GOS - Services for Object attachment icon

    I may be posting this in the wrong forum, but my question is this.  Is the Services for Object button ICON supposed to change colors or something when there is an attachment?  How can you tell if there is an attachment for the object?

    Thanks for the reply.  This is true, what you say.  But I was talking about the the Services for Object Icon.  I want to know if an attachment exists without having to click on on the button.  I would expect the button to change colors or something if there is an attachment.

  • Services for object in transaction EHSAMBTAET (Health Center Services)

    Hi all.
    In transaction PA30 there is a functionality called "services for object". I would like to have this functionality in the transaction EHSAMBTAET (Health Center Services) as well. At the moment when you choose it in the menu it just says: "No services available". Can anybody give me a hint on how to do this?
    Many thanks
    Liselotte

    As far as I know, that "Services for object" is the Global Object Services (GOS), and requires a Business Object (BOR).
    The Health Center Service doesnt currently provide such a BOR object.
    see for more info: http://help.sap.com/saphelp_erp2005/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    Message was edited by: Frank Besler

  • View workflow logs in services for object tab in transaction

    HI All ,
    Is there any settings that need to be done to see the workflow associated witha particular Tcode in Services for Objects  tab.
    Actually i  want to see the custom workflow logs other than using tcode swi1  .
    Regards ,
    Sijin K P
    Moderator message: not directly related to ABAP development, please see the Workflow forum.
    Edited by: Thomas Zloch on Jan 17, 2012

    Hi,
    You have to implement GOS (Generic Object service).
    Plenty of material available for it, you can reffer to meet your requirment.
    Regards,
    Manish

  • Services for Object  Icon not in ME21N

    Hello Experts:
    Does anyone know the reason why the Services for Object icon exist in ME22N but not in ME21N?
    Thanks in advance for your help!!
    -Edgar

    hi buddy
    The Generic Object Services do not appear in the Enjoy Create Trasactions ME21N and ME51N. This functionality is not provided until now. Please do the below manual activities and then apply the code change.
    Other terms
    GOS, Generic Object Services, ME21N, ME51N
    Reason and Prerequisites
    New functionality
    Solution
    Step 1:
    Create a new Method in the CLASS CL_PO_HEADER_HANDLE_MM.
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. enter the below details,
    Method name :GET_GOS_MANAGER
    Level: Instance Method
    Visiblity: Public
    Description:  Get Generic Object Services Manager
    3. Now Select the Method and add the parameters
    Parameter :RE_MANAGER
    Type: Returning
    Pass value : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save the method and activate it.
    Step 2:
    Modify the Method PO_READ
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Select the Method PO_READ
    3. Add a Parameter as below,
    Parameter :IM_GOS
    Type: Importing
    Optional : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save and activate the method.
    Step 3:
    Add a attribute to the Class CL_PO_HEADER_HANDLE_MM
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Fill the below values,
    Attribute : MY_GOS_MANAGER
    Level: Instance Attribute
    Visiblity: Private
    Typing: Type Ref To
    Associated type: CL_GOS_MANAGER
    Step 4:
    Modify the Method SET_PO_NUMBER
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Select the Method SET_PO_NUMBER
    3. Add a Parameter as below,
    Parameter :IM_GOS
    Type: Importing
    Optional value : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save and activate the method.
    Step 5:
    1. Go to SE24 and enter IF_PURCHASE_REQ_FACTORY.
    2. Select the method CREATE_HEADER and add the parameter.
    3. Fill the below values,
    Parameter :IM_GOS
    Type: Importing
    Optional : Select the CheckBox
    Typing Method :Type Ref To
    Associated Type : CL_GOS_MANAGER
    try this but the patch from sol manager will be recomended
    reward if useful

  • About Service for Objects in PO

    Hi dear,
    I know in Service for objects we can attach a document to Purchase Order,Production Order etc.
    But this document can be deleted by any user.
    Is it possible to set a condition (via SPRO or any functional module) so that attachment will be deleted only by that log on who had attached it to that Pur Ord or Prod Ord and not by any other logon.

    Hello ,
    Through ME22N attached documents .  The file is attached or not you will confirm through  table SRGBTBREL(Relationships in GOS Environment). In this  field INSTID_A   enter Purchase order number , you get the result PO has having the attachement or not.
    or else you can use this function module  SO_DOCUMENT_READ_API1  to get the result.
    Regards
    Mahesh Naik.

  • 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

  • Advantage of DMS over "Services for object" functionality

    Hi Experts,
    I have got very basic doubt about advantages of DMS Over existing standard functionality of SAP.
    We can attach documents or files to SAP Objects using "services for object" push button ( Next to title bar).
    So please answer for my below queries
    1. What is the disadvantage of using Services for Object??
    2. If I use services for object, then file is stored in SAP Data base or in my local drive??
    Thanks and Regards,
    Kiran T

    Hello ,
    DMS Vs GOS
    DMS- Document Management System
    The Document Management System (DMS) in SAP R/3 offers the following distinct advantages over the current procedures and systems.
    u2022     It avoids data redundancy, maintains consistency of data and minimizes the workload involved in entering and updating data.
    u2022     In order to use large databases to the full, it is required to exchange data quickly and securely.  Data can be accessed directly using electronic search tools, or find documents using known parameters. 
    u2022     Document distribution functionality  (SAP-Workflow functionality is required)
    The SAP R/3 Document Management System meets all these demanding requirements.  In addition to managing documents, it also coordinates document processing.  It is possible to automate the entire life cycle of a document: from document creation to document storage, its access and its update.  Each document can be accessed immediately from any computer on the netwerk.
    GOS-
    All these DMS advantages are not available with GOS.
    The Detailed PPT of comparison is sent to your id.
    Regards
    fapreeth

  • Query with links to 'services for object'

    Hi everybody
    I need your help
    We have pictures (jpg, pdf, tif) linked to materials in material master (in transaction mm02 – services for object). Sometthing like this - but form materials:
    http://www.le.ac.uk/mis/docs/sapdocs/ug/UG5-1%20Services.doc
    We would like to create the "stock report" with links to these attachments. Can anyone tell me if it is possible to create these links in the report?
    I would like the report to look something like this:
    material_number1; stock1; link_to_picture_on_material_number1
    material_number2; stock2; link_to_picture_on_material_number2
    the user should be able to open the attached picture (if it exists) by clicking the link at each material number (even better if the pictures were already displayed in the report)
    Thank you very much in advance
    BR,
    Jana

    There are a number of classes with methods for accessing objects saved using services for object - look for classes starting CL_GOS*
    Help for GOS is available at
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/f5/e16f3a53dee246e10000000a11402f/frameset.htm">Generic Object Services (BC-SRV-GBT)</a>
    In your report you could link to the relevant code to display the image based on an event like at line selection / at user command or using hotspots or similar in an ALV based report
    Andrew

Maybe you are looking for

  • NFS vs ISCSI for Storage Repositories

    Anyone have any good guidance in using NFS vs ISCSI for larger production deployments of OVM 3? My testing has been pretty positive with NFS but other than the documented "its not as fast as block storage" and the fact that there is no instant clones

  • Program RHALEINI

    Hi all, i'd like to share with somebody a doubt concerning the program RHALEINI (transaction PFAL); For my customer i've set the HRMD_A message type for the transfer of certain infotypes from our system to their; The transfer mode is the doubt: how c

  • EPM 11.1.2.2 Financial Reports Second Instance

    Hi to alll, On a clean install wintel 2008 R2 box, very often (onde a day) the FR services freezes (service stays on but dos not accept requests). We have increased the heap size and configured the tlas keys on the registry ( java.lang.OutOfMemoryErr

  • Live 5.1 has no so

    hi new here but have had a look around and couldn`t find my problem addressed here so hope this thread will be able to help. i have a win2k system with a twin athlon .5 and 52 mem and a couple of hard dri'ves, a wildcat graphics card and a soundblast

  • TS3297 I keep getting a message when trying to download apps saying your purchase could not be completed contact apple store. What can I do to resolve this?

    I keep getting a message when trying to download apps saying your purchase could not be completed contact apple store. What can I do to resolve this?