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

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

Similar Messages

  • How to call GOS(Generic Object service) attachment ( BMP file ) into SAP

    How to call GOS(Generic Object service) attachment ( BMP file ) into SAP script
    Example: MM02 Service object there attaching the bmp file the same file i need to call script based on the material number
    Please provide the procedure and  coding.
    Thanks in advance
    Raju

    Hi,
    The following link may be useful to u.
    help.sap.com/printdocu/.../BCSRVOBS.pdf

  • How to activate GOS (Generic Object Services) in Transaction SU01?

    Dear All,
    We want (for documentation reason) activate GOS (Generic Object Services) within Transaction SU01 (User Maintenance).
    I looked already around for Setup Guidelines, but did not find anything.
    Has anybody already acitivated GOS within SU01 and would explain this?
    Regards,
    Markus

    Hi Vamshi,
    SD_SWU_ACTIVE is the parameter, but it is not for SU01, it is VA02 and VA03 only.
    Thanks,
    Naga

  • GOS: Generic Object Services (BC-SRV-GBT)

    Hi All,
    I have a requirement to implement GOS for our Netting document - object type OIA_BUS001, we need to link a url to our document. And I managed to get the toolbox to appear besides the gui title, using both the FM SWU_OBJECT_PUBLISH and the OO codes that was provided in the SAP help.
    But the results is not quite right - in both cases, when I click on the toolbox -> create, all the functions listed, 'Create attachement, 'create note', etc, are greyed out.
    Is there something that I'm missing here?
    That's not the least of my problems. When (being optimistic here) this ok, I need to find a way on how to update the url in the background....
    Appreciate if anybody have some pointers here.
    Regards,
    Nik

    Try the following code.
    /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
    Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    Written By : Ram Manohar Tiwari
    Function   : We need to maintain links between Business Object and
                 the attachment.Attachment document is basiclally a
                 business object of type 'MESSAGE'.In order to maintain
                 links, first the attachment will be crated as Business
                 Object of type 'MESSAGE' using Message.Create method.
                 Need to check if we can also use FM
                 'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
                 than using Message.Create method.
    REPORT  Z_RMTIWARI_ATTACH_DOC_TO_BO             .
    Include for BO macros
      INCLUDE : <CNTN01>.
    Load class.
      CLASS CL_BINARY_RELATION definition load.
      CLASS CL_OBL_OBJECT      definition load.
    PARAMETERS:
    Object_a
       P_BOTYPE LIKE obl_s_pbor-typeid DEFAULT 'BUS2012', " e.g. 'BUS2012'
       P_BO_ID  LIKE OBL_S_PBOR-INSTID DEFAULT '4700000368',  " Key  PO No.
    Object_b
       P_DOCTY  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       P_MSGTYP LIKE SOFM-DOCTP        DEFAULT 'URL'     NO-DISPLAY,
    Relationship
       P_RELTYP  LIKE mdoblrel-reltype DEFAULT 'URL'.
      types: BEGIN OF TY_MESSAGE_KEY,
              FOLTP TYPE SO_FOL_TP,
              FOLYR TYPE SO_FOL_YR,
              FOLNO TYPE SO_FOL_NO,
              DOCTP TYPE SO_DOC_TP,
              DOCYR TYPE SO_DOC_YR,
              DOCNO TYPE SO_DOC_NO,
              FORTP TYPE SO_FOR_TP,
              FORYR TYPE SO_FOR_YR,
              FORNO TYPE SO_FOR_NO,
             END OF TY_MESSAGE_KEY.
      DATA : LV_MESSAGE_KEY type TY_MESSAGE_KEY.
      DATA : LO_MESSAGE type SWC_OBJECT.
      DATA : LT_DOC_CONTENT type standard table of SOLI-LINE with header
    line.
    First derive the Attachment's ( MESSAGE )document type.
      P_DOCTY = 'MESSAGE'.
      CASE P_RELTYP.
      In case of URls
        WHEN 'URL'.
           P_MSGTYP = 'URL'.
      In case of Notes / Private Notes
        WHEN 'NOTE' OR 'PNOT'.
           P_MSGTYP = 'RAW'.
        WHEN 'ATTA'.
           P_MSGTYP = 'EXT'.
      Not implemented as yet...exit
         EXIT.
        WHEN OTHERS.
       ....exit
         EXIT.
        ENDCASE.
    Create an initial instance of BO 'MESSAGE' - to call the
    instance-independent method 'Create'.
      swc_create_object LO_MESSAGE 'MESSAGE' LV_MESSAGE_KEY.
    define container to pass the parameter values to the method call
    in next step.
      swc_container LT_MESSAGE_CONTAINER.
    Populate container with parameters for method
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTITLE'
                 'Title, created programatically'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTLANGU' 'E'.
      swc_set_element LT_MESSAGE_CONTAINER 'NO_DIALOG'     'X'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTNAME' P_DOCTY.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTYPE'   P_MSGTYP.
    'DocumentContent' is a multi-line element ( itab ).
    In case of URLs..it should be concatenated with &KEY& in the begining.
      CASE P_MSGTYP.
        WHEN 'URL'.
          LT_DOC_CONTENT = '&KEY&http://www.gtservicing.com' .
          append LT_DOC_CONTENT.
    In case of Notes or Private Notes, get the data from files on appl
    server or from wherever(? - remember background).
         WHEN 'RAW'.
           LT_DOC_CONTENT = 'Hi How r u?' .
           append LT_DOC_CONTENT.
    In case of File attachments
         WHEN 'EXT'.
          Upload the file contents using open dataset in lt_doc_content .
          Some conversion ( Compress ) might be required.
          Not sure at this point
      ENDCASE.
      swc_set_element LT_MESSAGE_CONTAINER 'DocumentContent' LT_DOC_CONTENT.
      swc_call_method LO_MESSAGE 'CREATE' LT_MESSAGE_CONTAINER.
    Refresh to get the reference of create 'MESSAGE' object for attachment
      swc_refresh_object LO_MESSAGE.
    Get Key of new object
      swc_get_object_key LO_MESSAGE LV_MESSAGE_KEY.
    Now we have attachment as a business object instance. We can now
    attach it to our main business object instance.
    Create main BO object_a
      data: LO_IS_OBJECT_A type SIBFLPORB.
      LO_IS_OBJECT_A-INSTID = P_BO_ID.
      LO_IS_OBJECT_A-TYPEID = P_BOTYPE.
      LO_IS_OBJECT_A-CATID  = 'BO'.
    Create attachment BO object_b
      data: LO_IS_OBJECT_B type SIBFLPORB.
      LO_IS_OBJECT_B-INSTID = LV_MESSAGE_KEY.
      LO_IS_OBJECT_B-TYPEID = P_DOCTY.
      LO_IS_OBJECT_B-CATID  = 'BO'.
    *TRY.
    CALL METHOD CL_BINARY_RELATION=>CREATE_LINK
      EXPORTING
        IS_OBJECT_A            = LO_IS_OBJECT_A
       IP_LOGSYS_A            =
        IS_OBJECT_B            = LO_IS_OBJECT_B
       IP_LOGSYS_B            =
        IP_RELTYPE             = P_RELTYP
       IP_PROPNAM             =
       I_PROPERTY             =
    IMPORTING
       EP_LINK_ID             =
       EO_PROPERTY            =
    *CATCH CX_OBL_PARAMETER_ERROR .
    *CATCH CX_OBL_MODEL_ERROR .
    *CATCH CX_OBL_INTERNAL_ERROR .
    *ENDTRY.
    Check if everything OK...who cares!!
      commit work.

  • Selection Criterion of Contents Server's Storage Types : Used by Generic Object Services

    Hi experts.
    I'm considering Contents Server Storage Types of attached files uploaded by Generic Object Services.
    I want to adapt Storage Type that can be housekeeped by specifying retention period.
    Please give me how to housekeep and how to use the benefits of each Contents Server Types.
    Regards,
    Taiki Shoji

    Hi Deepak,
    I don't use Open Text.
    When I attache file, I do following steps.
    Select "Service for Object"
         ->Create
              ->Create Attachement
                   ->Select attachement file and Open
    Regards,
    Taiki Shoji

  • Rename file title in GOS ( Generic Object Services )

    Hi All,
    When I use GOS to attached a business document for example in ME22N ( Create PO)
    when I display the attachment list, the file will be named/title as  "Archive Link document content Storage" which based on the document type text.
    Is there any possibilities to change the filename according to the filename???
    Any GOS out there ...pls adv.
    Thanks

    Anyone have solution for this?

  • GOS(Generic Object Service) User Restriction

    Hi
    can any one help me in this issue
    how to restric the users in GOS
    Thanks
    Surendra

    GOS access is generally provided for dialogue users, if you want to restirct user you can ask your security team to change the user type to OTHER THAN Dialogue in SU01 > logon data.

  • GOS(Generic Object Services) for Custom program ?

    Hi All,
    My requirement is to have GOS option to attach document for Custom program against each record.
    Do anybody have faced the same kind of requirement,please let me know how to do.
    Bharathi.J

    Hi Bharathi
    i to got the same requirement
    through manually im attaching the files,notes and URL's
    but how to attach through any class
    i use CL_GOS_DOCUMENT_SERVICE in that
    CREATE_ATTACHMENT method
    but it is not attaching the files to my GOS menu
    can u  help me
    Thanks
    Surendra

  • FB03 GOS (Generic Object Services) not working at header level

    Hi all,
    We have a problem with transaction FB03 when we try to display attached image documents for Fi documents.
    At Header level we have no image.
    At post level we can see the attached image.
    How can we let the display of image list active from Header level.
    Thank you in advance.
    Kind Regards
    Mohammed

    Hi,
    I have same problem but in this case only user specific.
    2 users with same authorization. First can park the invoice, attach document and can view after document save. Then he post document and able view attachment added during park.
    But other user when upload attachment during park document not able to view same attachment when document is posted. Also strange part is when this user upload new attachment during posting other users are not able to see new attachment he has attached during posting.
    I dont see any authorization difference in two except parameter values for F02, F03 and FP is different.
    Can anybody tell me how this can be resolved?
    Thanks,
    Bharati

  • GOS - Generic Object Services - Change dynamically the title of attachments

    Dear Experts,
    how can I change dynamically the title of the single attachment in the attachment-list of cl_gos_manager?
    I hope you can help me.
    Thanks in advance.

    Thanks for reply.
    I solved the problem by the following way:
    - Function ARCHIV_GET_CONNECTIONS for getting all linked documents
    - Showing list in popup with ALV-Grid
    - SET HANDLER handle_double_click
    - Function ALINK_DOCUMETS_DISPLAY_MIX for viewing selected document on popup
    Marco

  • 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

  • Generic Object Services in massive transfers.

    Hi there,
    I need to massive assign pictures as attachments to fixed assets... the way to assign the pictures is using the Generic Object Services but when I try to use recordings to automatically assign the attachments this option is disabled, can anyone help..
    Thanks in advance.
    J. Valencia

    Hi,  I actually have a function module which you can use to upload attachments to the GOS.  In accepts  the object type and key as well as the file path where the image is to upload.  If you are interested, please email me at the address on my business card and I can help you further.  I can not post the code here.
    Regards
    Rich Heilman

  • Configuring KPRO for generic object services

    Hello,
       I have a requirement where I have to configure KPRO as the storage for generic object services. We are using the generic object services for materials and hence using the Business object BUS1001. Please let me know of how to do the same or if we have any documents for configuring the Generic object services and KPRO please provide me the same.
    Regards
    Nilanjan

    Hi,
    i reply to the question you posted in my thread:
    I solved the request without using Kpro. Kpro ist just a more comfortable way in managing documents. But using ArchiveLink and GOS is all you need if you just want to upload documents and view them in a linked transaction. I would be able to give you a better help if you would give a short introdcution in what you plan to do in detail.
    kind regards Matthew

  • Indicator for Generic Object Services

    We are planning to use the Generic Object Services functionality to
    attach Word, Excel or PDF files to existing documents in SAP. Our plan
    is to use this in Accounts Receivable. The issue we have is when we
    are looking at the open items for a customer using transaction FBL5N
    there is no way to know which open item has attachments.  Once you've selected an open item, you can view any attachments but this does not help.  I posted an OSS notes and they replied "We regret to inform you that the function you require is not included inthe SAP standard system."  Does anyone know how I pursue this to have SAP develop this functionality?
    Thank You,
    Sue Rademacher

    While this is probably answered best in the ABAP forum, by doing a search on Generic Object Services in all forum categories, I found a number of answers about enhancements with this functionality. Re: How to link proces modeling to execution of services are found in this forum thread.
    Marilyn

  • Missing Function within VC01N Generic Object Services (simple note)

    We want to use the generic object services (GOS) within transaction VC01N. But we are missing the function to enter only a simple note. Behind the GOS Icon within VC01N menu step: Create -> Create note  is not available.
    This is different to other transactions with GOS functionality like VA02. There the menu step: Create -> Create note   is available.
    And idea why it is designed in this way and how we can make the simple note function available in CV01N.
    Many Thanks in advance for your help,.
    Klaus
    Edited by: Klaus Reitz on Sep 10, 2008 7:56 PM

    We want to use the generic object services (GOS) within transaction VC01N. But we are missing the function to enter only a simple note. Behind the GOS Icon within VC01N menu step: Create -> Create note  is not available.
    This is different to other transactions with GOS functionality like VA02. There the menu step: Create -> Create note   is available.
    And idea why it is designed in this way and how we can make the simple note function available in CV01N.
    Many Thanks in advance for your help,.
    Klaus
    Edited by: Klaus Reitz on Sep 10, 2008 7:56 PM

Maybe you are looking for

  • Acrobat 9 Pro blue-screens during installation (registration) and bluescreens during uninstall

    I tried to install Acrobat 9 Pro.  It got to the registration part and Acrobat crashed my Win 7 laptop with a PAGE_FAULT_IN_NONPAGED_AREA (error 0x50 on bluescreen).   Attempting to uninstall results in the same error/blue screen.   I can do an insta

  • Acrobat Pro X not converting word docs properly

    When I convert to PDF a word docco with call outs, the text in the callouts is fragmented? has anyone else seen this? (office 2010) I used the print method and the icon on the ribbon both give me the same results. When I use Word to convert to PDF al

  • BLOB display issue

    Hi, I've inherited a database that has a table that contains BLOB images. I assume they are JPG but I can't be sure as were inserted by a program and I don't have the source code. I've tried various approaches including http://blogs.oracle.com/xmlpub

  • How to process records one by one(not in parallel) with LSMW(BAPI)

    We loaded a batch of records (around 800) in lsmw with biz object method(BAPI). The records were processed in parallel and this caused some locking issue. Is there any way to make sure the records in LSMW with biz object method(BAPI) are processed on

  • How Mac User Can Learn Windows XP????

    I am and will continue to be a big Apple fan (see my history below) -- but since I can't sit around any longer waiting for a Mac netbook, I broke down and bought the new 10.1-inch Acer Aspire that comes with Windows XP Home Edition. Since I've never