Generic Object Services for MB21

Dear friends,
  I would like to have GOS toolbar for Material Reservation - Tcode - MB21/22/23. Since this is not available in standard I have used implicit enhancement for creating instance of the class CL_GOS_MANAGER when the reservation is created(MB21) and then pass the key(reservation number) once the reservation number is available using  set_id_of_published_object method of class CL_GOS_MANAGER. I have used the code mentioned in the below link. I can see the GOS toolbar in the MB21 screen and able to attach documents as well. But the problem is I am not able to view them in MB22/23 even though I instantiate CL_GOS_MANAGER  with the key(reservation number). I think apart from instantiating the object and passing the key we need to do some more code to be able to view the documents in the change and display tcodes. Let me know what i am missing.
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm

Dear friends,
  I would like to have GOS toolbar for Material Reservation - Tcode - MB21/22/23. Since this is not available in standard I have used implicit enhancement for creating instance of the class CL_GOS_MANAGER when the reservation is created(MB21) and then pass the key(reservation number) once the reservation number is available using  set_id_of_published_object method of class CL_GOS_MANAGER. I have used the code mentioned below. I can see the GOS toolbar in the MB21 screen and able to attach documents as well. But the problem is I am not able to view them in MB22/23 even though I instantiate CL_GOS_MANAGER  with the key(reservation number). I think apart from instantiating the object and passing the key we need to do some more code to be able to view the documents in the change and display tcodes. Let me know what i am missing.
Set object Key
   la_obj-objtype = 'BUS2093'.
   la_obj-objkey  = rkpf-rsnum.
   IF rkpf-rsnum IS NOT INITIAL and go_manager is not initial.
       CALL METHOD go_manager->set_id_of_published_object
            EXPORTING
              is_object = la_obj.
     else.
     CREATE OBJECT go_manager
       EXPORTING
         is_object      = la_obj
         ip_no_instance = 'X'
       EXCEPTIONS
         OTHERS         = 1.
     endif.

Similar Messages

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

  • 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

  • Generic Object Services for Custom Object Type

    I would like some advice please. I am not an ABAP Developer but I would like to enable the generic object services for transaction PP01 for a custom object type.
    I have searched for information, which suggests that the object needs to be published using the function module SWU_OBJECT_PUBLISH so that it is available in the Business Object Repository. If this is correct, please could someone tell me (in simple terms) how I can do this (with the assistance of an ABAP developer)?
    My colleague did some debugging which seemed to suggest that in order for the generic object services to be available, the field OBJTYP needs to be populated in table T778O. Is this correct? If so, how should this be done?
    Your advice would be greatly appreciated.
    Regards
    Corinne

    Hi,
    i'm also looking for the solution you have asked for.
    if you know how to do it please reply me with the solution.
    Thanks,
    suresh

  • Generic Object Services for a Z program

    Hello all!
    I need to create a Z application for displaying master material data, related batchs, associated QA, and PP data, all in one screen.
    I need to have the Object Services Toolbox in the top of my screen just like in Material Master appears, for using it to attach files, notes, etc, being in this environment.
    I have read about first I need to create a BO in SW01, and then to call some methods in class CL_GOS_MANAGER.
    Does anyone have experience or any idea for do that?
    thank you very much,
    Ibrahim

    Slight modification,  check that a number has been entered in the field before you put the toolbox on the screen.
    report zrich_0001 .
    parameters: p_qmnum type VIQMEL-qmnum.
    at selection-screen output.
    <b>check p_qmnum <> space.</b>
      call function 'SWU_OBJECT_PUBLISH'
        exporting
          objtype                 = 'BUS2038'  "Maint notification
          objkey                  = p_qmnum
    *     CREATOR                 = ' '
    *     METHOD                  = ' '
    *   TABLES
    *     CONTAINER               =
       exceptions
         objtype_not_found       = 1
         others                  = 2.
    start-of-selection.
    I tested this with a valid notification,  I created an attachment in IW22,  then ran this program,  entered the number, hit enter, went into the toolbox, and my attachement was there.
    Regards,
    Rich Heilman

  • 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

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

  • 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

  • Generic Object Services - View Attachments disabled for non admin user

    Hi,
    I am using SAP 4.7 and the attachments created using table TOA01 - archive link are visible to an administrator user through Generic Object Services toolbox while same View Attachments option appears disabled for other non admin users.
    Kindly help !

    Hi Neha,
    I'm sorry I don't have answer to your question but I wonder if you could help me.
    I'm looking at OSS note 530792 to configure GOS 'create attachment' option to copy the attachments to the archive server. currently, these are written to the SAP office tables SOC3, SOFFCONT1, etc and I want to use the archivelink and SAPHTTP and copy to the archive storage.
    Have you successfully managed to configure your system since you mentioned TOA01?
    In the same GOS menu I've activated the 'Business document' option and can copy these to the archive server by correctly configuring OAC2 and OAC3.
    I'll really appreciate of you could please share your knowledge.
    Thanks.
    Soyab

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Could not be moved to the mailbox (null) alert - anyone know how to fix this?

    Greetings When I archive mails in one of my mail accounts, about 50% of the time, I'll get an alert that says - "The message XYZ could not be moved to the mailbox (null) - The destination mailbox does not exist." Anyone know how to fix this? Thanks,

  • Finder Cover Flow image preview size is small, cannot be adjusted and showing empty blank previews in Mavericks

    When using Cover Flow the image preview in the main window (not the thumbnail list at the bottom) images appear but only use about 1/2 of the window space available.  It is also showing black/blank preview images as I scroll through the files even th

  • LDB-Sort

    Hello All, After a long long time i am working on 3.1I and am using a LDB - BRF. In my code i am using GET BKPF Fields BUKRS BELNR GJAHR. (at this step - can i SORT the BKPF data by BUKRS BELNR? before i go to BSEG) and then use GET BSEG FIELDS X Y Z

  • Missing apps within creative cloud manager

    Hello, I decided to remove Dreamweaver CS6 as I use Dreamweaver CC, and now when I open creative cloud the 'Home' tab shows what's installed but the 'Apps' tab is empty and displays a 'download error' but no code and yet does say contact customer sup

  • High complexity problem...

    we have got a big problem here, maybe someone can help.... we need to make a diferent page (a blog, in this case), for each final user of the portal... this page must have an option to be selected on the top level navigation bar... We want this to be