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.

Similar Messages

  • Attachment List in Generic Object Services disabled

    I want to attach documents to a work centre (transaction CR02, business object BUS0011). This has been configured so that the document will reside in the content management server and will be accessed using Archivelink. I can successfully store the doc using trasnaction OAWD, and can then retrieve the doc using transaction OAOR. The links are correctly created in table TOA03.
    However, when I try and view the docs from the Generic object services button for transaction CR02 the "Attachment List" link is greyed out.
    I've just set this up for invoices (object BKPF) so can't understand why this hasn't worked for work centres. 
    I've implemented the interface IFARCH21 for BUS0011, and this hasn't resolved the issue.
    Any ideas?
    Thanks
    Richard

    Richard,
    Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out.  Best thing to do it see what the object the program is publishing.  This is what GOS is looking for.  IFARCH21 is not the answer, unless your using workflow

  • How to attach document using Generic Object Service

    Hi all,
    How can i create attachment to the parked invoice using Generic Object services? i want function modules which are used to do it.
    Actually I want to do this from the business object method. I am having word document as one of the workitem step. once i get this document I need to attach this document to the parked invoice so that users can see that document by view object list.
    Its urgent.
    thanks.

    Hello,
    Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
    Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
    This will help in attaching the document to your required business document.
    To verify you can check the archivelink table or by transaction OAAD.
    Hope this will help you.
    -Thanks,
    Ajay

  • Attach Documents using Generic Object Services

    With reference to Manual Bassani's SDN Contribution of code examples on how to attach documents using Generic Object Services - we have found that since implementing ECC 6 the following code no longer works (at the end of page 9):
    CALL CREATE ATTACHMENT SERVICE FROM TOOLBAR
    WHEN 'ATTACH'.
    CALL METHOD MANAGER->START_SERVICE_DIRECT
    EXPORTING
    IP_SERVICE = 'CREATE_ATTA'
    IS_OBJECT = OBJ
    EXCEPTIONS
    NO_OBJECT = 1
    OBJECT_INVALID = 2
    EXECUTION_FAILED = 3
    OTHERS = 4.
    It is necessary to use IP_SERVICE = 'PCATTA_CREA' to get this to function correctly.
    The original document can be found at [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Generic Object Services (GOS) + ArchiveLink against IXOS.

    Hi all,
    I'm currently working on a project where I'm supposed to extend the Generic Object Services (GOS) Icon with a menu item for storing documents down to IXOS through ArchiveLink, and a functionality for retrieving them / attaching them to an email.
    So far, I concluded that I need to create a class, whose superclass is CL_GOS_SERVICE, and at least override the EXECUTE() method with some functionality.
    The ARCHIVOBJECT function group contains some (probably)
    useful function modules - like ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_BYTES / ARCHIVOBJECT_GET_TABLE.
    My problem so far is that I don't see the "connection",
    ARCHIVOBJECT_CREATE_FILE takes ARCHIV_ID, DOCUMENT_TYPE
    and PATH as arguments (parameters), and returns ARCHIV_DOC_ID - an unique ID to the stored document
    But how is the link between the archived document and the business object (i.e. the current object of the transaction I'm in) maintained?
    Thanks in advance,
    regards,
    Lars Wilhelmsen

    Hi again,
    Thanks for the answers, they were very helpful,
    but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
    I'm to develop a new GOS menu item, that will show
    a normal Open File dialog, and a following popup
    where the user can change the document title shown
    in the Attachment list.
    ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
    along with ARCHIV_CONNECTION_INSERT should probably
    cover the functionality I need.
    I know both the BOR type ID and the object ID is
    available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
    Regards,
    Lars Wilhelmsen

  • Regarding Generic Object Services (GOS)

    Hi
    Is there any Tcode/Std. Report where I can see the document attached through Generic Object Services (GOS).And which tables are involved in Generic Object Services (GOS).Whenever I attach document entry goes in SOOD table.What are other tables for this.
    Thanks in advance.

    Hi ajit,
    Welcome to SDN.
    Below is the link for complete documentation on GOS,
    http://help.sap.com/saphelp_erp2005/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    Regards,
    Azaz Ali.

  • Enable Generic Object Service (GOS) for CS01-CS03

    Hi Gurus,
    ¿how I can enable GOS service in CS01-CS03 to use attachments, Workflow, notes, etc.?
    Thanks.

    Hi,
    Go through following links which will help you get details about GOS :
    Generic Object Services (GOS)
    http://wiki.sdn.sap.com/wiki/display/SI/FrequentlyaskedquestionsaboutGenericObjectServices+(GOS)
    Hope this helps.
    Regards,
    Tejas

  • Attach doc from external content server- using Generic Object Service (GOS)

    Dear All,
    i have intergrated an external content server to SAP using SAP archive link. All the scanned document are there in Content server and corresponding entries are done in SAP.I can search and view document using tcode : OAAD
    Please tell me steps for "how to attach a document from external content server using Generic Object Service "
    Scenario is :  For example when we change any Master records or create a new PO, or do some financial transaction then i need to attach the supporting document which is there in my content server connected  to SAP.how do we manual attach a Document in SAP using GOS.
    Do we need to do some special configuration to use GOS .please give the steps from initial.
    Thanks
    sandeep

    Hello,
    Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
    Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
    This will help in attaching the document to your required business document.
    To verify you can check the archivelink table or by transaction OAAD.
    Hope this will help you.
    -Thanks,
    Ajay

  • Generic Object Services(GOS)-how to get Attachment info like Title and Type

    Hi,
    I would like to know the type of document attached whether PDF, JPG,TEXT file etc.
    Ideally I could see these as an icons on the Attachment List window.
    Here my requirement is i need to create a report program which lists the attachments information as below:
    Title of the attachment                         Attachment Type
    <Title1>                                                  Pdf
    <Title2>                                                 Text or Notepad
    <Title3>                                                 jpg or Image
    How can i get this title and Attachment(document type) information.Can you suggest table or FM or Class/Method etc?
    Thanks In advance.
    Regards
    Lokesh

    Hi Folks,
    I got the answer.
    There is a parameter OBJECT_HD_DISPLAY in the FM 'SO_OBJECT_READ' which i need to capture. This will contain the title and the doc type extension ( notepad - txt ; adobe - pdf etc ).This will solve my problem.
    Thanks
    Lokesh

  • Attachments Activating Generic Object Services (GOS) in VA41/VA42 at item level

    Hi to All,
    I'm trying to manage attachments for sales document at item level.
    I've already read this wonderfull post (Activating Generic Object Services Toolbar in SAP Objects) but I didn't understand how manage attachments at item level.
    Please, if anyone has ideas of how to achieve it please share solutions.
    Thanks & Best Regards,
    Umberto

    Hi again,
    Thanks for the answers, they were very helpful,
    but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
    I'm to develop a new GOS menu item, that will show
    a normal Open File dialog, and a following popup
    where the user can change the document title shown
    in the Attachment list.
    ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
    along with ARCHIV_CONNECTION_INSERT should probably
    cover the functionality I need.
    I know both the BOR type ID and the object ID is
    available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
    Regards,
    Lars Wilhelmsen

  • Events available in Generic Object Services (GOS)?

    Hello everybody
    Searched around in SDN and also tried to find something useful in our system (SWO1) but can't find useful information on GOS events so I guess it probably doesn't exist?
    I'm searching a way to catch GOS events when someone adds, changes or deletes an attachment (URL) in the generic object services of an object, e.g. for a material master (BUS1001006). I'd like to create a change document for this and based on that to trigger some further processing for one of our interfaces.
    Anybody out there knowing how to achieve this?
    TIA and best regards,
    Renaud

    There's a couple of BaDIs with GOS names such as GOS_SRV_REQUEST that might help.  Otherwise I'd try using SE30 with lots of logging options set on to trace where you may be able to grab this info from.  GOS subscriptions may be another thing to look at.
    Jonathan

  • How to use Generic Object Services(GOS) for each table control record.

    Dear Expert,
                       I am using generic object services for document attachment but i am facing a problem while attaching document to a table control row. my requirement is to attach separate document for each and every row of table control but  i am unable to attach document row wise of the table control.for each row GOS should display corresponding attached document not all the attached document.
    Thanks in Advanced
    Bhuwan Tiwari
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM

    You haven't explained what object and object key you're using, nor have you provided any indication of how you implemented the GOS attachment functionality.  You need to provide more information to resolve an issue like this.

  • Urgent!! Issue in using Generic Object Services (GOS)

    Hello Friends,
    I have created a GOS Business object and i am using this to attach documents at the selection screen of my programs.
    The implementation is successfull and working fine. When i execute my program, i can see the GOS Toolbar, i am able to upload document from my PC and view in the attachment list too.
    But the issue is, when i end my session, and try to see attachment list by executing the program again, it comes blank with no documents. This means, once i end the session, i am not able to see the attachments that i have created earlier.
    Any helpful input will be appreciated and rewarded.
    Thanks and Regards,
    Vikas Bittera.

    Hello Vikas
    The document has to be uploaded to the <b>BDS </b>(Business Document Service).
    I will give you an example how I did this:
    1. Create business object 'ZREPORT'.  " for attaching documents to reports
    2. Call transaction <b>OAER </b>(Business Document Service) with the following parameters:
        - Class name = 'ZREPORT' (my business object)
        - Class type  = 'BO' (business object)
        - Objekt key  = leave empty or enter name of report (if empty, a popup appears)
        - Storage system = 'BDS_DB' (seemed a good choice to me)
    3. Execute
    4. In the BDS choose tabstrip "<b>Create</b>" (lower left part of screen). Right-click on the <i>Word document icon </i>and choose<i> Import File</i> from the context menu.
    As soon as you have uploaded your Word document it is visible in your business object (attachment list). When you display the attachment list and right-click on the document you can directly open it in the BDS.
    Regards
      Uwe

  • Reg. Generic Object Services - GOS

    Hi All,
    I've a requirement where I need to call the toolbox and make attachments for a Custom create transaction from screen 100 to 200. Everything is working fine but my problem is I'm not able to view the Attachment list Icon (It is in Disable mode) in screen 200 and after saving the Attachments list is enabled with the key generated after coming back to screen 100. Is there any way to view the attachments list with a Temporary Object key in screen 200 and after saving this number should be assigned to the actual generated number for the create transaction? I searched in SDN but didn't find any solution. I'm using the class CL_GOS_MANAGER.
    Your valuable solutions are surely appreciated.
    Thanks,
    Bhaskar

    Dear Bhaskar,
    You will need to use "early number assignment" in your application to be able to do so. As far as I know SAP standard transactions use somethin like this.
    Best regards,
    Dezso

  • Generic Object Services (GOS) Question

    I'm using "GOSAddObjects" to store documents but I wanted to know where/how SAP stores these document. I can't seem to find if they are saved in a table or where they go. Any help would be great.
    David

    Hi,
    it is sophisticated and there are some SAP notes. You may start with note 530792 - Storing documents in the generic object services
    regards
    Walter Habich

Maybe you are looking for

  • Sending material from one subcontracting vendor to another vendor

    Hi Experts we have a scenario we have more than one subcontracting vendors.so the unused raw material should be send to one vendor to another.so how can we configure it.please give me feedback. Thanks in advance...

  • Installation of oracle 8.1.5 on solaris8 install

    I have 2.5 GB HardDisk, I installed Solaris8 on intel using autolayout & then I tried to install Oracle8.1.5 on solaris but installation process is hangingup at this oracle.sysman.oii.oiic.oiicInstaller.run(oiicInstaller.Java:287) oracle.sysman.oii.o

  • OEM IOException in sending Request :: Connection refused

    Hi, When I want to connect to OEM, I recieve an "java.lang.Exception: IOException in sending Request :: Connection refused". In emdb.nohup there is "----- Fri Apr 25 12:11:57 2008::The agentTZRegion value in /oracle/10.2.0/SUNAPART_ARTED08/sysman/con

  • After OSX reinstall, my screen goes to Darwin! Help!

    I reinstalled OSX on my system after OSX would not load. Now when I log in, the screen goes to black and I get a welcome message from Darwin! It asks me for my username and password, but I can not get to my system. Any advice? Thanks!

  • Issue when using Navigation attributes for filtering in BEX

    Hello, We are encountering an issue when applying filter on Navigation attributes in BEx query built on top of a BW HANA Virtual Provider. The interface is as below : HANA Calculation View -> SAP BW 7.4 Virtual InfoCube -> Multiprovider -> BEx Query.