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

Similar Messages

  • 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

  • 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

  • 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

  • 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

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

  • Generic Object Services (GOS) feature to be activated on QP01/02/03

    My client want to have the Object Services(GOS) capability turned ON on
    QP01, QP02 and QP03 screens which will allow them to link documents to
    the Inspection Plan. And right now that feature/icon is not there on
    QP01/QP02/QP03 screens. When I tried to activate the 'Services for
    Object' on those screens, I got the message 'No Service Available'.
    Could anyone please provide a solution to turn on that feature for the
    Inspection Plan screens?
    Thanks & Regards,
    AnjiReddy Pulagam.

    You need to implement a BADI to generate the GOS toolbar for that transactions, and put this code inside:
    DATA: LO_MANAGER  TYPE REF TO CL_GOS_MANAGER,
              LA_OBJ      TYPE BORIDENT.
    * Set object Key
        LA_OBJ-OBJTYPE = 'BUS1191'. "Bussiness object for inspection plan
        LA_OBJ-OBJKEY  = inspectionPlanIdentifier. " Inspection plan number
    * GOS toolbar
        CREATE OBJECT LO_MANAGER
          EXPORTING
            IS_OBJECT    = LA_OBJ
            IP_NO_COMMIT = SPACE
          EXCEPTIONS
            OTHERS = 1.
    Regards

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

  • 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

  • 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 Service (GOS)

    Can anyone tell me for what documents that the GOS is available.
    Generally I need to know whether it is available for all logistics documents and whether other types if so what are the types.
    Thanks

    Hi,
    The Generic Object Services offer functions that are available in various SAP applications which are bases on Business objects.
    The generic object services can be used for ant/all/only objects of the Business Object Repository (BOR).
    This link may be helpful - http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm
    Regards,
    Anand Mandalika.

  • 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

  • Generic Object Services(GOS)-Link to URL

    Hi,
    I have a requirement in Generic Object Services.I have to Create External Document(URL) [example:www.sap.com] in <b>background</b> for a FI document(which is viewed in Txn FB03).
    Any idea to achieve it?
    Thanks,
    S.Banukumar

    did you manage to do this?

  • User-Exit in VA41/VA42 at ITEM level for output determination?

    Hello Experts,
    Am looking for user-exit/BADI/Enhancement Spot, my requireemnt is I need to populate the output (VA41/VA42 Tx>Menu>Extras>Output>ItemEdit goes to next screen, here we hv a column with lable of Output) output with my_z_output as soon as user inputs a line item and press ENTER (if its ONLY 1 item user may press SAVE button), pls. let me know whiich is the good spot for my req. in VA41/VA42
    Thank you

    Thank you. But, functional analyst is saying its 'not' or may be some other reason!
    Pls. let me know wht is the good user-exit in VA41/VA42 to populate a value into a custom field (inserted via APPEND STRUCTURE) of a standard SAP communication structure? This is for output determination
    Thak you

  • 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

Maybe you are looking for

  • The boxes representing my screen displays in arrangement tab are missing

    Hey guys, the blue boxes that represent the two displays that i have are missing in the arrangement tab.  my computer will not let me move my cusor between the monitors, but i still see my desktop backround.  and if I turn on mirroring it works fine.

  • Should I get Flash?

    I know a small amount of C++ and a lot of GUI stuff in Java, but I don't yet know how to make graphics in either of them (much less a 2D/3D game). I was wondering if Flash might be the right choice for me if I am a beginning game designer and just wa

  • Error occured in Ejb deployment to Oracle9iAS

    Basically I have created one application in 11g jdeveloper with two projects called, model and view controller. I have created one VO called test_VO, based on one EO Test_EO and I have associated that VO to the Application Module Test_AM. I have crea

  • Low capacity on new replacement battery

    I've recently had my PowerBook battery replaced as part of the battery exchange program. With the new battery, I followed the instructions word for word - plugged in the battery without the power supply connected, discharged it completely, plugged in

  • Date Ranges with EOMONTH

    Hi I'm look for a date ranges query, any help would be greatly appreciated<o:p></o:p> Ie 01/06/2014 to 30/06/2014<o:p></o:p> SELECT count(DISTINCT[Form Number]) as OutofFunding FROM [dbo].[NEWVIEW] WHERE [Cohort Desc] IN ('Apprenticeships') AND [Expe