GOS : Attachment list

Hi All ,
I would like to disable the Change and Delete buttons for the Service : Attachment list in GOS.
Please let me know how can i achieve this.
Helpful answers will surely be rewarded.
Thank you
Srinivas

Hi Raja,
Can you be more specific..I want to disable the buttons for the Attachment list service...
Also if you can provide me the example code..that will be helpful...
Thank you
Srinivas

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

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

  • Disable 'Delete' button for posted invoices  in GOS Attachment List

    Hi,
    when i open the attachement list of a generic object i see the attached files. In this dialog i want to disable the   "Delete" ( attachment)  button  for Posted invoices ( In MIR4 tcode -> If the invoice is already posted it should not allow to delete the attachment )
    I read oss notes and some ides of copying diverse classes but nothing really helps.
    I found two badis
    GOS_SRV_REQUEST
    GOS_SRV_SELECT
    but i dont know where we have to write our code .
    I read so many posts related to attachments but all the places described about authoriztion object .
    Can you please give some ideas to disable the delete button for posted invoices.

    Hello,
    For GOS there is no SAP Standard authorization concept. The only way to
    manage GOS authorizations is implementing it via custom code as
    described in SAP Note: 491271.
    Please have a look at the SAP notes:
    491271 Authorizations for generic object services
    701609 Authorizations for services: Final classes
    For the use of S_OC_ROLE: this object states if a user is an office
    administrator he can create, modify or delete every document, even
    those created by other users. If the user is not an office admin, the
    user is still able to create his own attachments.
    Regarding to the issue, there is an role object S_GUI for upload.
    To match your inquiry, pleaes find the user's role and active the
    object S_GUI.
    Regards,
    David

  • Arch.link doc.attribute is missing in GOS attachment list

    Hi,
    Currently the company that I work with is in implementing archive link to attach documents (e.g.
    office document) to some object types (e.g. BUS2007,BUS1001). I have done the required configuration and the functionality is working fine.
    However when I display the document in attachment list, the followings are not shown :
    1.the title of document is not showing instead it shows the description of document type description (this is from customizing)
    2.the creator name is blank
    I compare with standard GOS file attachments, the above functionality are working fine.
    Appreciate if anyone can help me on this.
    Thanks & Regards,
    Hendra

    hi,
    hendra,
    this could be possble please see the below URL,
    http://help-abap.blogspot.com/2008/11/generic-object-services-gos-toolbar.html
    Also chect with GOS authorization
    http://help.sap.com/saphelp_nw04/helpdata/EN/1e/31a40415b711d4a39200a0c943858e/frameset.htm
    Benakaraj
    ??P
    Edited by: benaka rajes on Jul 14, 2009 8:27 PM

  • GOS- Attachment List Inactive

    Guys, looking for your  help.
    My issue is, we have a Custom Transaction for PR. We have implemented the GOS functionality for the screen.
    We are able to attach documents and save the same to KPRO ( SAP Office).
    Documents are fine and sitting pretty there.
    Problem is when i leave the transaction and comeback again to the same document, the 'Attachment list' link in the GOS menu is grayed out. where in the attachments are saved in the Content repository.
    Any solution to this issue would be highly appreciated.
    Thanks
    Vinodh Balakrishnan

    Hi,
    I think you are using OO for this functionality. then
      select * from sgosattr where name ne 'VIEW_ATTA'
                               and name ne 'PCATTA_CREA'.
        i_service-sign = 'E'.
        i_service-option = c_eq.
        i_service-low = sgosattr-name.
        append i_service to i_services.
      endselect.
    * then call gos manager
        if v_tmode eq 'C'.            " Create or Change Mode
          i_borident-objtype = 'Y_ATTA'.
          i_borident-objkey = yhdr-docno.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_no_commit         = ' '
            exceptions
               object_invalid       = 1.
        else.                                " Display Mode
          i_borident-objtype = 'Y_ATTA'.
          i_borident-objkey = yhdr-docno.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_mode              = 'D'
            exceptions
               object_invalid       = 1.
        endif.
    aRs

  • Hoy to print image from GOS Attachment List

    Hello all:
    I have to print images attached as JPG format in Generic Object Service Attachment List.
    For Example: One material has several pictures. I need to print all them in a individual material report.
    The report is Smartform.
    Any Idea how to do that?
    Than you very much.
    Ibrahim Andres

    Hi Eray,
    I have come across an similar requirement, Can you please share the solution for your mentioned requirement.
    Thanks,
    Mansi

  • GOS attachment list could not open office 2007 docs

    HI All,
    My client environment is still uses office 2003.
    but documents attached to the financial accounting documents may have office 2007 files attached.
    when we try to open these docs we get an error.
    Is there any OSS note available for the same?
    it is in GOS services.

    Office 2007 changed their file structure. Files are now saved as .docx for word files. Old style was just .doc. Open the document on your PC, choose FILE-> SAVE AS-> 97-2003 document. This will save it with the .doc extension. Then transfer to your BlackBerry. Same for Excel and Powerpoint as well.

  • CV01N - Attachment List and Originals

    Hello everyone,
    I'd like to know what's the difference, within the transactino CV01N/CV02N, between:
    1) Create Attachment from the Generic Object Services Menu (icon in the upper left corner)
    2) Originals Tab (where I can attach files to the document being created/modified)
    In particular, I tried to attach a file through the Generic Object Services Menu and it appears in the attachment list for that specific object. However it doesn't show in the originals tab.
    Thank you for clarifying this for me.
    Regards

    Hi,
    basically the Attachment list in the generic object services (GOS) area and the originals area or tab in CV01N, CV02N, CV03N is not related. These are two separate functional areas.
    GOS Attachment list:
    This attachment list can be found for nearly all object (document info record, material master,euqipments,...) and allows you to add specific files to the object and store them by archivelink technique.
    Original tab in DMS:
    This area is something DMS specific and allows you to store original files to the document info records. This original files are normally stored in a content server and from DMS point of view you will have more functionalities as when you add the files to the attachment list. For detailed information please see the following link to the SAP online documentation:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c279c43c711d1893e0000e8323c4f/frameset.htm
    Best regards,
    Christoph

  • GOS attachement

    Hi
    is there any standard bapis or RFcs are available to export GOS attachment from R/3 to external systemsv.  the attachement will be exist in qm02 transaction . if in case of n attachment i have to upload latest one .

    hi reddy,
    Welcome to SDN forum.
    use function module
    <b>BDS_GOS_CONNECTIONS_GET</b>
    to get the GOS attachment list
    Refer this link
    /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
    Reward with points for helpful answers.
    Cheers
    Alfred

  • Changing the Attachment List of Generic Object Services (GOS)

    Dear Experts,
    i want to add columns to the attachment list of GOS depending of the given objecttype. The data to be displayed is from a customer-append of different TOAXY-tables. I want to use the functionality of the standard attachmentlist, but the type of the displayed table is defined as SGOS_ATTA and cant be reached directly because of the data-encapsulation.
    Is there anybody with experience in changing the attachment list in the above mentioned way?
    Do i have to modify all the used classes of the attachmentlist, or are there any customer-exits/badis that can help me to reach my goal?
    Or should I implement my own service from the scratch?
    I hope you can help me, i searched the web for about 3 days now...

    I found following Solution:
    I copied the following classes and changed them in some way to fit my requirements:
    1.CL_GOS_ATTACHMENTS
    2.CL_GOS_SRV_ATTACHMENT_LIST
    3.CL_LIST_BROWSER
    Changes to the Classes:
    1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
       Changed method INIT_BROWSER:
    go_browser ?=
        zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
    2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
    3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
    method zcreate_browser.
      case ip_btype.
        when gc_list_browser.
          *create object ro_browser type zcl_list_browser.*
        when gc_tree_browser.
          create object ro_browser type cl_tree_column_browser.
        when others.
          raise exception type cx_sobl_browser
            exporting
              gp_error = cx_sobl_browser=>gc_wrong_type
          exit.
      endcase.
    endmethod.
    Modified the code of method ___DISPLAY to my needs.

  • Missing menu item attachment list in GOS regarding purchase order

    Hello All,
    I customized the archiving for different kinds of documents.
    There is all quite good for example with sales orders or invoices. I can call the transaction codes to view a speacial document - in those cases VA03 / VF03 - , click on the special GOS-icon and select from the drop-down menu the attachment list. The attachment list opens as a popup and there I see all created PDF documents.
    Only with purchase orders it won't work. Calling the ME23N and clicking on the GOS-icon the menu item attachment list is not active (light grey). With administration transaction OAAD I can see that there are archived PDF documents. So, the archiving works but still not the viewing of archived purchase orders.
    How can I activate the attachment list in this case? Maybe I forgot to do something?
    Thank you very much for your help!

    Hi,
    Check if note 1506581 is present in your system,if not please implement the same.
    Also check if in /SPRO -> IMG Customizing -> "Integration with
    our mysap.com components" -> Supplier Relationship Management ->
    Message Control -> "Activate Document Transfer"
    the customizing is correctly set for BUS2012 (Purchase Order).
    If not, please maintain this entry correctly and re-test the
    scenario.
    Regards,
    Ashwini.

  • Attachment list option from the GOS

    Hi freinds
    We have a custom Transaction for which we have activated the GOS icon on the screen. We have that icon and we care able to save the document to the Content repository fine.
    The issue is immediately after attaching the documents, if you use the
    " Attachment list" option from the GOS menu, it brings the attached documents.
    But if you leave the transaction and get in for the same document, the same function is not working.
    In what basis i have to save the document...
    Kindly pl throw in your ideas on this issue.
    Thanks
    deva

    Hi Kruthika,
    Here iam explaining how i resolved in my case
    i created a database table with the selection screen values
    if i attach any document in the GOS menu than keep a save button and write logic for save button to save the selection screen values in database table
    than after that if u see tha attachments again give another button like GET if u give any value which is in database tabel than press get it will get the all selcetion screen values and the attachmentts
    Note:Just iam explained what i did but i dont know what is ur requirement exactly
    if u come with ur requiremnt than we will help u
    Thanks
    Surendra

  • Problem with GOS view attachment list in SAP Upgrade

    Hi,
    The view attachment list is working fne in 4.6c for the Z  transaction. When I run the same transaction in ECC6, I am getting the 'GOS View Attachment List' icon, but when I click on
    this icon, it is given short dump in ECC6 where as in 4.6c it is working fine. It shows the followin dump in ECC6.
    SET HANDLER: Reference to handler object cannot be NULL.
    The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    When specification a handler for an event in the SET HANDLER statement,
    the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
    Program CL_GOS_TOOLBOX_VIEW===========CP
    Include CL_GOS_TOOLBOX_VIEW===========CM004
    Row 69
    Module type (METHOD)
    Module Name DISPATCH_SERVICE
    =============================================
    When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.
    =============================================
    I am using the following code.
    data: lo_container type ref to cl_gui_custom_container,
    ls_object type borident.
    ls_object-objtype = 'ZRECON'.
    ls_object-objkey = gs_rec_all_scr-reconobj.
    case ok_code.
    when 'ATTACH'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'CREATE_ATTA'
    is_object = ls_object
    io_container = lo_container.
    when 'LIST'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'VIEW_ATTA'
    is_object = ls_object
    exceptions no_object = 1
    object_invalid = 2
    execution_failed = 3
    others = 4.
    endcase.
    The short dump given at
    call method go_myobject->start_service_direct
    Thanks a lot.
    Zakir.

    Hi,
    I am facing the same issue. Can somebody help me to fix this issue?
    Thanks,
    Geetha

  • How to create GOS view attachment list in ECC6

    Hi,
    I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.
    Thanks in advance.
    Zakir.

    Hi all,
    I've following problem with class CL_GOS_ATTACHMENTS.
    Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.
    Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.
    As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.
    I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??
    Many thanks
    Regards
    m@x

Maybe you are looking for

  • MacBook Pro as external screen

    I have got a MacBook Pro with Retina display. Can i use it as external monitor for my iMac?

  • Best way to protect my MPB

    Which is the best way to protect my MacBook Pro Retina from sratches ?

  • How to disable wrapping in textarea

    I try to disable the standard wrap="virtual" for a textarea. In the HTML Form Element Attributes of this textarea I add wrap="off" but Apex is no using this setting, instead I see wrap="virtual". I also tried adding the inline style on the textarea.

  • Bug in Auto Upgrade Install

    I've noticed this the last couple of times and it happened again this time. When the tray icon says there are updates and I allow the icon to download and install the updates, the old version still shows in Add/Remove programs. Also, some web pages d

  • IDOC NUMBER ON SALES ORDER

    How to find Idoc Number on sales order screen .Also any table that holds both Idoc number and sales order number? Appreciate your Help Thanks!