Generic Object Services ; create attachment function grey out in Tcode KA03

Hi all,
I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
Currently it was grey out.
However, was tried to use the same function in KS03 and it works.Please help. Thanks!

I just found the solution...
SAP note : 961572
Symptom</u>
In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
Other terms
KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
Reason and Prerequisites
The problem is caused by a program error.
Solution
Implement the attached program corrections
Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
Then change the release status by navigating as follows:
Edit -> Change Release Status -> Object Type -> To implemented
Edit -> Change Release Status -> Object Type -> To released
Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
ObjectType      BUS1059         Revenue element
Object Name      RevenueType
Program          RBUS1059
Objtype status   generated       Saved      released

Similar Messages

  • Generic Object Services - Create Attachment

    Hi SDN experts
    In the trip details page of the travel expense manager, may i know what Function Module does the "Create Attachment" functionality in the Generic Object Services trigger? Appreciate if anyone is able to provide me with an answer. Thank you
    Regards
    LV

    You are in great trouble. Repeated posting of a single thread will really make you a Guest.
    You have replicated this post in SEVEN forums.
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    As you are new to the forum please Read the [Forum Rules|http://wiki.sdn.sap.com/wiki/x/FgQ] before posting more.
    Regards
    Karthik D

  • Object Services - Create Attachment ?????????

    Hi Experts,
                   I have some Quries regarding Object Services -
                   1) I want to attach 1 file ( Excel or word) to the Maintenance Order when I create attachement through Object Service and attach a document to the Order will it attach the document (i.e. Stored on SAP Server) or only create a hyperlink of the Document attached.
                   2) If it is creating only the link is there any other way to attach a PC file to Maintenance Order.
    I hv not implemented DMS over here.
                   3) Is there any customization required for the Object Services.
    With best regards,
    Narendra Dere

    1 - its stored on the server, not as a hyperlink.  For this reason you don't want to store immense amounts of data this way.
    2 - DMS is the only other way I know of to attach documents.  Many clients have set up a simple DMS config with PM being the only module using it.
    3 - No config needed for object services.
    see
    http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/BCSRVOBS/BCSRVOBS.pdf
    Edited by: Arthur Balajthy on Dec 15, 2008 6:41 PM

  • Generic Object Services - restrict toolbar functions?

    Hello,
    When I create a URL link to an object, there is always a 'delete' button in the toolbar of the attachment list. Apparently, there are no authorization checks being made and everyone can delete this link.
    Is it possible to remove this button from the toolbar? Or at least making sure that not everyone can delete the link?
    Thanks!

    Hi,
    I think you are using CL_GOS* class for this. then
    module call_gos_attachment output.
    "<< I have created a authorisation object and
    " and called here if user have only display or change
    " access then the ip_mode will get value passed
    " accordingly
      if ( sy-tcode eq c_yars2 or sy-tcode eq c_yars3 ).
          i_borident-objtype = 'YARS_ATTA'.
          i_borident-objkey = yarshdr-docno.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_no_commit         = ' '
            exceptions
               object_invalid       = 1.
        else.                                " Display Mode
          i_borident-objtype = 'YARS_ATTA'.
          i_borident-objkey = yarshdr-docno.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_mode              = 'D'      "<<<<<< Check for display mode
            exceptions
               object_invalid       = 1.
        endif.
    endmodule.                               " Call_gos_attachment Output
    or if this suit your need then
        create object gos_view
          exporting
            ip_mode = 'D'.                     " <<<<Display Mode
    * Start GOS Service for attachement view
        i_viewobj-objtype = 'YARS_ATTA'.
        i_viewobj-objkey = yarshdr-docno.
        call method gos_view->start_service_direct
          exporting
            ip_service = 'VIEW_ATTA'
            is_object  = i_viewobj.
    This i have done it for one of the custom Generic object, i think this one will help you out.

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • 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

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

  • 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

Maybe you are looking for

  • How to create and access a Virtual Host on the J2EE WAS?

    Hello, I have searched through the Forums and help.sap.com and found a lot of information on how to set up a Virtual Host on the J2EE server but am having issues with it working. The goal is to provide a simple virtual host on the J2EE Portal server

  • Kernel Panics all of a sudden

    THis morning when I came downstairs my iMac fans were roaring and I could not wake it up - after several minutes of trying I held the power key down to force poser off - when I restarted I got a kernel panic with the fans roaring before actually gett

  • Excluding Block for Payment Invoice from Correspondance list in F.62 tran

    Hi All, My requirement is Excluding those invoices for which Payment Block indicator is 'P' from Correspondance List in Transaction F.62 for SAP11 Variant. i.e. BSEG-ZLSPR = 'P'. Kindly advise me is there any BADI or User Exit or any other possibilit

  • Problem with Hal

    I am trying to execute hald daemon but when i start the daemon i obtain: 16:22:04.752 [I] hald.c:469: hal 0.5.7.1 16:22:04.752 [I] hald.c:534: Will not daemonize 16:22:04.753 [I] hald_dbus.c:3236: local server is listening at unix:abstract=/tmp/hald-

  • Filling selection extension using bdc

    Hi All, I'm trying to call a transaction with a big number (>8) of selection-entries. To do this I'm trying to fill a bdcdata table, somewhat like this: m_bdc:   'SAPMM08N' '0100' 'X' 'BDC_OKCODE' '%001',   'SAPLALDB' '3000' 'X' 'BDC_OKCODE' 'ACPT',