"Services for Object" in my own transaction

Hi everybody,
In MM02 you see the button for the toolbar "Services for Object" in the titlebar.
I want to add that same functionality in my own transaction. Does anybody know how to do this?
Thanks,
Tim van Steenbergen.

Sure,  you can do that.  Something like this.  You will have to use a valid object and key.  The example uses a maintenance notification.
report zrich_0001 .
parameters: p_check type c.
at selection-screen output.
  call function 'SWU_OBJECT_PUBLISH'
    exporting
      objtype                 = 'BUS2038'
      objkey                  = '000010004288'
*     CREATOR                 = ' '
*     METHOD                  = ' '
*   TABLES
*     CONTAINER               =
   exceptions
     objtype_not_found       = 1
     others                  = 2.
start-of-selection.
Regards,
Rich Heilman

Similar Messages

  • Services for object in me23n

    Hi
    I can see the "Services for object "functionality in ME23N transaction. I want to replicate the same functionality for my custom program.Is there any badi or Function Module .
    Please let me know if I can get any pointers for this.
    Regards
    krishna

    i solved myself................................
    goto table SRGBTBREL
    give RELTYPE = ATTA
           INSTID_A =  give ur pr no. with pre-attachement of 00
    get details and use them in function module GOS_ATTACHMENT_LIST_POPUP
    in this way u can replicate functionality of Services Of Objects
    Edited by: krishna chaitanya on Sep 25, 2008 7:39 AM

  • Want to replicate services for object functionality in my z- program

    Hi
    I can see the "Services for object functionality" in IW32 transaction. I want to replicate the same functionality for my custom program.
    Please let me know if I can get any pointers for this.
    Regards
    Swetabh

    Hi,
    check out the program of the iw32 tcode.
    then in debugging mode find the code where exactly the requirement is going on with the code of the program.
    then copy that code in your custom program and do the needful changes.
    Regards,
    Venkat n

  • Replicate services for object functionality in my customised  program

    Hi
    I can see the "Services for object "functionality in ME23N transaction. I want to replicate the same functionality for my custom program.Is there any badi or Function Module .
    Please let me know if I can get any pointers for this.
    Regards
    Deesanth

    hi desanth,
    i am in need of same requirement.
    if you any solution please let me know...........
    thanks,
    krishna

  • Attachment not shown in MIRO (service for objects)

    We have a problem with services for object in MIRO transaction.
    There's no "service for objects" icon in MIRO transaction, and through menu ("System=>Services for objets") we get this message:
    "No service available".
    But there's an entry with that object ID (invoice number) in table TOA01 with object type BUS2081 (Incoming invoice), which means there's A link for that object ID.
    We checked customizing and compared it to other systems where it's fine and seems ok.
    Can't understand why it doesn't work. Something missing in MM?
    I'd really appreciate any clue.
    Thanks in advance.
    Regards,
    J

    Thanks for answering.
    Well, we have same archivelink customizing in another systemo for MIRO transaction and it works fine.
    There's a development, of course. There's a job that executes a program and attaches the pdf from a server, etc.
    So we can attach pdf files when entering an invoice. Guess there's a missing step, but don't know exactly which.
    Maybe basis people blocked something, but we don't have a clue.
    Regards,
    J

  • Services for object in transaction EHSAMBTAET (Health Center Services)

    Hi all.
    In transaction PA30 there is a functionality called "services for object". I would like to have this functionality in the transaction EHSAMBTAET (Health Center Services) as well. At the moment when you choose it in the menu it just says: "No services available". Can anybody give me a hint on how to do this?
    Many thanks
    Liselotte

    As far as I know, that "Services for object" is the Global Object Services (GOS), and requires a Business Object (BOR).
    The Health Center Service doesnt currently provide such a BOR object.
    see for more info: http://help.sap.com/saphelp_erp2005/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    Message was edited by: Frank Besler

  • Service For Objects functionality (SDV transaction)

    Hello experts,
    Some users are getting an authorization error while trying to display an image from t-code FBL1N (services for objects). After identifying the reason of this issue with NSU53, the simple fix is to provide access to the user to transaction SDV. Actually, we are proposing to the security team to provide the access in a Generic role, so all user can get the access.
    Their concern is that if for any reason, any of the users runs the t-code directly (SDV), and not through the Services for Objects funtionality, they might be able to access other documents that they should not be allowed. To be honest, I haven't seen this as an issue before in my 13 years working with SAP.
    The question for you guys is: what is the best approach to grant access to users from different modules to Services for Objects functionality without violating security policies?
    Thanks,
    Alfredo

    own

  • Add new function to Services for Object in transaction XD03

    Hi expert,
    Do you know how to add a new function to the Services for Object appeared at the beginning of the title bar on transaction XD03? I would like to add it to the Create list. Please help, thanks!
    Chuong

    Hi,
    Check this Post, May help you
    XD01 ENHANCEMENT
    Regards,
    Satish

  • View workflow logs in services for object tab in transaction

    HI All ,
    Is there any settings that need to be done to see the workflow associated witha particular Tcode in Services for Objects  tab.
    Actually i  want to see the custom workflow logs other than using tcode swi1  .
    Regards ,
    Sijin K P
    Moderator message: not directly related to ABAP development, please see the Workflow forum.
    Edited by: Thomas Zloch on Jan 17, 2012

    Hi,
    You have to implement GOS (Generic Object service).
    Plenty of material available for it, you can reffer to meet your requirment.
    Regards,
    Manish

  • Services for object in VA01 and VA41

    Hello Seniors,
    I want to use the "services for object" ( icon that comes on the top left corner ) for transactions VA01 and VA41. I have enabled it for VA02, VA03, VA42 and VA43 by going to the path system-> User profile -> Own data-> parameters tab by passing 'X'  for the parameter ID "SD_SWU_ACTIVE" . What do I do to get it enabled for the transactions VA01(Create Sales Order) and VA41(create contract) also.
    Thanks in advance,
    Chaitanya.C.N

    Done by enabling user-parameter SD_SWU_ACTIVE.

  • Unhide "Services for object" tab (MM02, MIRO, ...)

    Hi, everybody!
    I'm in trouble with "Services for object" tab. I need it in transactions: MM02 and MIRO, but it is hidden.
    I'm not sure about it, but I guess this could be solved with the right authorization. Just don't know which one.
    Could anyone help me?
    Thanks in advance.

    Hi,
    I guess BADI GOS_SRV_SELECT could solve the problem. You may disable the change button and other functions (perhaps using authorizations as a trigger).
    *Structure IS_LPOR contains
    *INSTID * Obkey := keyfields of Business Object
    *TYPEID * i.e. BOR TYPE 'ZDGF_DG'
    *CATID * i.e. 'BO' for BOR
    Be carefull - It is used for all kind of objects - so add CASES for combinatons of CATID/TYPID and call an own function/method for each.
    Kind regards,
    Holger

  • How to add the "Services for Object" icon/functionality.

    Dear all.
    I have seen in some SAP standard transactions a button named "Services for Object" in the title bar of the screen. An example is in transaction MM03. The button is to the left of the title "Display Material xxxx".
    Does anyone know how I could incorporate such functionality in my own program.
    Thanks
    Lande.

    Hi,
    You need to use GOS for this.
    1. Create a Generic object thru transaction SW01.
    then call the following method in the PBO
    module call_gos_attachment output.
      if sy-tcode eq c_yatt2 .
          i_borident-objtype = 'YASTATTA'.
          i_borident-objkey = yatt-number.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_no_commit         = ' '
            exceptions
               object_invalid       = 1.
      endif.
      if sy-tcode eq c_yatt3.
          i_borident-objtype = 'YASTATTA'.
          i_borident-objkey = yatt-number.
          create object gos_manager
            exporting
               is_object            = i_borident
               it_service_selection = i_services
               ip_mode              = 'D'
            exceptions
               object_invalid       = 1.
      endif.
    endmodule.                               " Call_gos_attachment Output

  • Services for Object in creation mode

    Hi colleagues,
    I am facing one problem and I would appreciate your help and ideas. I want to enable user to use a functionality of "Services for object" in creation mode (in my case transaction IW31). In change or display mode this functionality is enabled, so creating new BOR object and such things are not necessary.
    I understand that services for object are disabled by default in creation mode, because it is not meaningful to assign some documents to object which does not yet exist. But in theoretical way, it should be possible to implement some "tricky" solution. Probably some temporary object could be created at the start of IW31 and attachments could be assigned to this object. And in some user exit executed during processing of save statement (after all checks and such things), attachments could be re-assigned to a real (persistent) object. For unsaved orders it would be necessary to delete temporary object and also attached documents.
    Have someone implemented something similar? Or any helpful ideas?
    Thank you all in advance.
    Regards,
    Adrian

    Hi,
    We have implemented exactly the same in a Ztransaction. Not sure to what extent this will help you. Check below code
      CREATE OBJECT w_gosman
      EXPORTING
    *     io_container     = io_container
    *     is_bc_object     = is_bc_object
        is_object        =  wa_object            "BOR object
    *    it_service_selection =
    *     io_callback      = io_callback
    *     ip_start_direct  = space
        ip_no_instance   = l_inst             "Pass SPACE in your case
        ip_no_commit     = l_commit        "Pass SPACE in your case
        ip_mode          = c_e
      EXCEPTIONS
        object_invalid   = 1
        callback_invalid = 2
        OTHERS           = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    "Here just we are creating a reference by publishing the object.
    "During the transaction commit call below method.
      wa_object-objkey = "Pass your object ID.
    wa_object-objtyp = "Pass your business object
        CALL METHOD w_gosman->set_id_of_published_object
        EXPORTING
    *      is_bc_object   = is_object
          is_object      = wa_object
        EXCEPTIONS
          no_publication = 1
          OTHERS         = 2
        COMMIT WORK.
    Thanks,
    Vinod.

  • Attachment list in Services for Object toolbar

    Does anybody know if there is any user exit or BADI that I can use to filter certain file attachments in Attachment list of Services for Object toolbar.
    For example, in transaction XK03 (Vendor display), Services for Object toolbar, you can see the Attachment list and it will display list of pc file attachments, however, we have a requirement to display only those that met certain criteria, is there any BADI or user exit for this?
    Thanks in advance for your help.

    you can use BADI
    GOS_SRV_SELECT
    for this.
    Regards
    Raja

  • Services for Object in VF02 & VF03

    Hi All,
    Attaching a document through "Attachment list" option by the "Services for Object" icon in VF02. however some options are grayed out. Please read through for the explanation of the problem.
    1) Go to transaction VF02.
    2) Input a billing document and press Enter.
    3) Click on "Services for Object" button and a dropdown list opens which has the following options -:
    a. Create
    b. Attachment list
    c. Private Note
    d. Send
    e. Relationships
    f. Workflow
    g. My Objects
    h. Help for Object Services
    However the option "b" and "e" (i.e. Attachment list and Relationships) are grayed out. Can anyone please help on how to activate the above mentioned options. Is it done by BASIS team. Please help.
    PS: "Services for Object" icon is found exactly BELOW the "Enter" (green tick icon in the top left) button.
    Thanks & Regards,
    Himanshu Bhusan Sahoo.

    Hello,
    Please check the roles related to the below authorization object.
    Authorization Object  
    S_WFAR_OBJ          
    Value  
    NV          
    Value  
    VBRK          
    Value  
    YP3INVOICE          
    Value  
    03          
    archiving Related role will give you access to View the billing document in PDF.
    Thank you
    Regards
    Bala

Maybe you are looking for