Bulk uploading to Generic Object Services

Hi there,
We have started using Generic Object Services to attach documents and notes to object (contracts, rental objects, etc) in REFX (Flexible Real Estate).
Is there a way to upload large volumes of notes and attachments to different objects (like LSMW)?
Thanks
J

Ya Arghdip, please elaborate how to instantiate the object inside the workflow design using GenericInstantiate Method of SYSTEM Business Object.
in my case I am getting required entries in table but even thn I am not able to see workflow overview from Generic Object Services.
Please help.
Regards
Nitin

Similar Messages

  • 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

  • Create Attachments to Generic Object Services from Webdynpro appliccation

    Hi,
    I have requirement to Create Attachments  to Generic Object Services(GOS) in equipment master (IE03)  from webdynpro when a user clicks on upload button and also allow the user to delete the attachments .
    Can anyone advice me of any Function Modules or logic to use from Web GUI.
    I used below logic from R/3 to create attachments, but from webdynpro this method doesn't work.
    DATA lo_attachment TYPE REF TO cl_gos_document_service.
      CREATE OBJECT lo_attachment.
      CALL METHOD   lo_attachment->create_attachment
           EXPORTING  is_object = ls_object
           IMPORTING  ep_attachment = lp_attachment
    Your inputs are appreciated.
    Thanks
    Rajesh Yalda

    Hi,
    try using the Class CL_GOS_SRV_ATTACHMENT_CREATE with Method EXECUTE_ITS.
    best regards,
    Michael

  • Display and Manage Attachments of Generic Object Services in Webdynpro

    Hi All,
    I need to have a button in the webdynpro that when a user clicks it will pop up a table that display a list of files already attached to a Generic Object Services(GOS) and also allow the user to delete the attachments and upload new attachments.
    Can anyone advice me of any Function Modules or Methods that i can use to achieve those functions (retrive and display attachments in the GOS, delete existing attachment from GOS, upload new attachment to GOS).
    Thanks and Regards,
    weilong

    Hi
    You need to pass parameters as per the code below
    ****Data Types
      CONSTANTS:lc_dokob        TYPE dokob VALUE 'KNA1',
                  lc_dokar      TYPE dokar VALUE 'LEG',
                  lc_dappl      TYPE dappl VALUE 'BVO',
                  lc_sign       TYPE c VALUE 'I',
                  lc_option(2)  TYPE c VALUE 'EQ',
                  lc_docpart(3) TYPE c VALUE '000',
                  lc_docversion TYPE dokvr VALUE '00',
                  lc_status     TYPE dokst VALUE 'AL',
                  ls_attc-doknr    TYPE doknr,
                  ls_return TYPE bapiret2,
    *****Function Module
      CALL FUNCTION 'BAPI_DOCUMENT_DELETE_DIRECT'
            EXPORTING
              documenttype    = lc_dokar
              documentnumber  = ls_attc-doknr
              documentpart    = lc_docpart
              documentversion = lc_docversion
            IMPORTING
              return          = ls_return.
    Thanks
    Vishal

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

  • 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

  • Show originally filename in attachment list (generic object services)

    Hello everybody,
    does anybody know, if it is possible to show the originally filename of a document in the attachment list of generic object services?
    If I add more than one document for the same document type in generic object services, I'm not able to distinguish the documents.
    When I want to save an attachment to local PC, SAP offers me the originally filename as default. Therefore, the filename has to be saved somewhere...
    Thanks for any help or ideas in advance,
    Peter

    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 create a Generic Object Services for a standard tcode.

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Instead of copyg the std fm to z, do the following,
    1. Go to se37 open FM VIEW_KURGV in display mode.
    2. Click on the spiral icon on the top.
    3. Then in menu go edit->enhancment options -> show implicit enhancement
    4. """""""""""""""""""""" kind of lines will appear in the cde, just rt click on the line at the place u want to insert the code and select
         enhancement implementation create.
    5. Give apropriate name for thi , it will inset a n place to write your code.
    This is an std sap methodology and is supported in upgradde also.

  • Add BUS2009 to generic object services

    Hi Experts,
    We have header level release strategy to PR approval. We are using BUS2105 delegated to ZBUS2105.
    There is another custom workflow has been defined, using BUS2009 delegated to ZBUS2009.
    in ME53n, Generic object services I can only see ZBUS2105 Workflows.
    Is there any method I can add show both the workflows there.
    Your help is much appreciated.
    Thanks,
    Gaurav

    Ya Arghdip, please elaborate how to instantiate the object inside the workflow design using GenericInstantiate Method of SYSTEM Business Object.
    in my case I am getting required entries in table but even thn I am not able to see workflow overview from Generic Object Services.
    Please help.
    Regards
    Nitin

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

  • Adding Generic Object Services attachments to PRA trans O3U_DO3

    I would like to add the generic object services attachment menu that is found in vf02 - invoice create to the production and revenue accounting module transaction O3U_DO2/O3U_DO3 Maintain/Display DOI Owners.  I need the ability to attach external documents through archive link to this transaction.  If not possible with generic object services, any other suggestions on how to attach the documents is greatly appreciated.

    Hi,
    Welcome to the SDN Forums!!!
    You need to supply the PC file extension in the container element 'DOCUMENTTYPE'.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    In your case change the above statement as below:
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'pdf'.
    <b>OR</b> change the default value of p_msgtyp to 'PDF'.
    Cheers,
    Ramki Maley.
    Please reward points if the answer is helpful.
    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
    Message was edited by: Ramki Maley

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

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

  • 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

  • Generic Object Services for a standard transaction code

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit trail we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that handles the approval process in order to depreciate the asset. How to show this workflow details using Generic Object Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Hello Ashish,
    i dont think activating of GOS will solve ur probs..... GOS wont create a WF item ...... try to get some kind of GOS before u do anything in SAP systems.
    u can do like this ......
    1 create custom screen where u can enter asset details and store in custom tables....and generate one custom doc.number to track.
    2. trigger WF when user submits it for approvals.
    3.Upon final approvals.--->run BDC to do postings......
    4.Give a Option to attach documents to the parking documents. ( that GOS ).
    regards
    Prabhu

Maybe you are looking for