Add a new button in BP_HEAD_SEARCH

Hi Experts,
My requirement is to add a new button and disable GROUP button in MainSearchResult view of  BP_HEAD_SEARCH component.The steps i followed are..
1.Created a Enhancement set in BSPWDVC_CMP_EXT and assign it to BSPWDV_EHSET_ASG in SM30.
2.Enhancing view MainSearchResult of BP_HEAD_SEARCH  component using this Zenhancement set.
3.Redefin DO_PREPARE_OUTPUT method of impl class and add following code for disabling group button.
ls_button-enabled  = abap_false.
and for add new button
<button>-text  = 'Family'.
    ls_button-id       = 'CreateEmployee'.
    ls_button-type     = cl_thtmlb_util=>gc_icon_new.
    ls_button-text     = 'Employee'.
    ls_button-on_click = 'CREATEEMP'.
    ls_button-enabled  = abap_true.
    APPEND ls_button  TO gt_button.
But nothing is reflecting while testing in CRM_UI_FRAME....please tell me what step i m missing and m i doing correct.
Thanks
Gaurav

Hi Gaurav,
the customizing you did seems OK. Just make sure you activated the EH-Set for the right client.
In the BP_HEAD_SEARCH component you need to enhance view MainSearchResult
The class is: cl_bp_head__mainsearchres_impl
Here redefining the DO_PREPARE_OUTPUT is correct.
You could just do the following:
DELETE gt_button where on_click = 'CREATEGROUP'.
Maybe you put a breakpoint in the method and check what is wrong?
cheers Carsten

Similar Messages

  • How to add a new button in IC tool bar and handle the event for the button?

    Hi,
        I am working on CRM 2007 Interaction center. To add a new button to IC toolbar, customizing is available to define a new button and then assign in to the profile.
    In SPRO->CRM->IC webclient->Customer Specifc System Modifications->Define Toolbar Buttons, I defined one new button with ID ZSTART.
    Now in SPRO->CRM->IC webclient->Basic Functions->Communication Channels->Define Toolbar Profiles , I selected Default profileid and in Generic Layout Buttons Tab, I added the new button ZSTART in Position 3.
         So after completing the customizing when the user logs in using role IC_AGENT,  the button (with ID:ZSTART) gets displayed in the IC toolbar too.
          Now on click of this button, I need to create an object.
    To do so, I have to catch the event which is raised by this new button.
           Please let me how to implement the event handler for this new button. What will be the event name for this button click event and how I can subscribe for it ?
         Please let me know if anyone of you have already worked on similar requirements.
    Regards,
    Manas.
    Edited by: manas sahoo on Jul 22, 2008 7:49 PM

    Hello Manas,
    There are a couple of threads in the community that might help you out (if you haven't already found them):
    Re: IC Web Client Toolbar
    /message/3621917#3621917 [original link is broken]
    Regards,
    Renee Wilhelm
    Edited by: Renee Wilhelm on Nov 6, 2008 7:46 PM

  • Add a new button to BID Invitation screen

    Hi,
    How to Add a new button to Bid Invitation Screen in SRM?
    Thanks,
    Raveendra

    Hi
    Which SAP Version you are currently on ? What is the exact requirement ?
    If i understand you right, Incase you want to add a button to the existing screen template then it will require standard code change and also you need to plan out how will you will code the logic to activate the button.
    There is no BADI which can do this as this is not a SAP funtionality. You need to do a little bit of research on this to get the job done.
    Regards
    - Atul

  • How can I add a new button

    Can somebody tell me how to add a new shape buton to my menu?
    There is only 3 shapes and I dont like any of them ....

    I agree. There should be more options here. Might want to make this suggestion directly to apple here:
    http://www.apple.com/feedback/idvd.html
    In the meantime, you may wish to consider using one of the 16 Frames offered in iDvd as opposed to one of three Shapes.

  • How to add a new button in an ALV using factory method

    im using factory method to creat an ALV
    The reason why I'm doing this is because I want the ALV and the selection screen in the same screen like exemplified here http://help-abap.blogspot.com/2008/10/dispaly-alv-report-output-in-same.html
    CALL METHOD cl_salv_table=>factory
                EXPORTING
                  list_display   = if_salv_c_bool_sap=>false
                  r_container    = lo_cont
                  container_name = 'DOCK_CONT'
                IMPORTING
                  r_salv_table   = lo_alv
                CHANGING
                  t_table        = me->t_data.
    The above code already uses every parameter that method as to offer.
    Is it possible to add extra buttons to an ALV using that method?

    Hi Ann,
    The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
    Hope that helps.
    Regards,
    Tanisha

  • Add a new Button to PR05 Transaction

    Hi,
          I have a requirement to enhance the transaction PR05 .  I want to add a button on this Screen PR05  change or Display screen. Screen No is 1350.
        Please let me know the methods to do this customization.
        Any Exit or BADI??
        How to add the button and the code for that??
    Regards,
    Lijo

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

  • CRM2007 - Add a new button to activity transaction

    Requirement is to Open an popup window while clicking on the customised Button .
    Kindly guide us the technical approach to it.
    Regards,
    Aashish

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

  • FI Report Painter (FGI1) - add new button in output screen

    Hi all,
    I have a report created by tcode FGI1 (Create Drill-down Report) which bases on form 0SAPBSPL-01 (Fin. Statement: Actual/Actual Comparison). I wanna know if there are any ways to add a new button in output screen after report execution (i.e to print the content into smartforms).
    Thanks in advance.
    Solaris.

    Instead of creating after the output you can add the button to create the form on the main screen itself i.e. program SAPMKCEE screen1125. Either on the application tool bar or on the screen 1125.

  • How to add new button on Add content box in DVT

    Hello All,
    Currently we are using Dynamic Visitor Tool in weblogic portal 10.3.2 and want to add one new button e.g. "Favorite Portlets" along with portlet list when user clicks on Add Content menu option. Could any one explain what is the exact procedure to do it what are places/files we need to modify.
    Thanks in advance.
    Alka

    Hi,
    You will have to use the mixin mechanism provided in dvt. Here are the mixin classes you will need to add and methods to override within them.
    Original class - com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilder
    Mixin class - com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilderMixin
    Your mixin class will look like -
    wlp_dvt_dojo.setObject("com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilderMixin", {
    buildNavigableMenu: function(scope, allowRemovePlaceables)
         var menuWidget = null;
              var menuWidgets = scope.getDescendants();
                   for(var widgetIndex=0;widgetIndex < menuWidgets.length;widgetIndex++)
                        var tempMenuWidget = menuWidgets[widgetIndex];
                        if(tempMenuWidget instanceof dijit.Menu)
                             menuWidget = tempMenuWidget;
                             break;
                   if(menuWidget)
                        try
                   if(wlp_dvt_WlpResourceDelegateInstance().isResourceUpdateable(scope.model.id))
                        //Change Appearance menu item
                             menuItemArgs = {label:scope.messages.changeAppearance,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_laf",
                                       onClick:dojo.hitch(null, scope._onChangeAppearance, scope)};
                             mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                        //Change Layout menu item
                             menuItemArgs = {label:scope.messages.changeLayout,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_layout",
                                       onClick:dojo.hitch(null, scope._onChangeLayout, scope)};
                             mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                        //Add Books menu item
                             menuItemArgs = {label:scope.messages.addBook,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_book",
                                       onClick:dojo.hitch(null, scope._onAddBooks, scope)};
                             mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                             //Add a menu separator
                             menuWidget.addChild(new dijit.MenuSeparator());
                        //Add Content menu item
                             var menuItemArgs = {label:scope.messages.addContent,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_portlet",
                                       onClick:dojo.hitch(null, scope._onAddPortlets, scope)};
                             var mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                             //Set As Default menu item
                             menuItemArgs = {label:scope.messages.setDefault,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_setAsDefault",
                                       onClick:dojo.hitch(null, scope._onSetAsDefault, scope)};
                             mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                   if(allowRemovePlaceables && wlp_dvt_WlpResourceDelegateInstance().isResourceRemoveable(scope.model.id))
                        if(wlp_dvt_WlpResourceDelegateInstance().isResourceUpdateable(scope.model.id))
                             //Add a menu separator, but only if we have something to separate it from
                             menuWidget.addChild(new dijit.MenuSeparator());
                        //Remove Book menu item
                             var menuItemArgs = {label:scope.messages.remove,
                                       iconClass:"com_bea_wlp_dvt_uikit_menu_icon_delete",
                                       onClick:dojo.hitch(null, scope._onRemove, scope)};
                             var mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
                             menuWidget.addChild(mi);
                   //If no menu items were added to the main menu, don't render it
                             if(menuWidget.getChildren().length < 1)
                                  scope.destroy();
                        catch(e)
                             //handle no DISC or no authentication.
    In the abve code, follow the pattern to add a new menuitem in the place where you need it to show up. The method that gets called when the menuitem is clicked will go in the following mixin class -
    wlp_dvt_dojo.setObject("com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuMixin", {
    // add the method that gets called when your new menuitem is clicked
    Note I haven't run the code above so please check for syntactical correctness before you run it. Also note that, unfortunately, the granularity of the buildNavigableMenu method above is very coarse in that you cannot add new menuitems as small snippets all by themselves. So you will have to include the base menu building code along with your new menu item building code snippet.
    Thanks

  • Adding new button to Standard Page and Launching CP when clicked

    Hi,
    I have a requirement to add a new button to a standard OAF page and when it is clicked, I need to launch a Concurrent Program. Can you please let me know any links/pointers/documents where I can get the details as how this can be accomplished.
    TIA.

    anyone?

  • Adding a new button in the PO search summary in SRM 3

    Hello gurus,
    my requirement is to add a new button in the search summary for PO in SRM. Here's the task: every time a search is executed, the result is a list of purchase orders and every item has on the left two icons, "Show PO" and "Modify PO". There are merely a shortcut that brings the user to the PO screen in which the document is shown/can be modified.
    These two buttons are standard... my task is to add a new button in the template, "Copy PO", which should be a shortcut to the omonimous button which is present in the PO view screen. So I think this new button should work as the two standard ones.
    In order to do so, I looked into the proper template: SAPLBBP_PDH_SEARCH, screen 3003, which belongs to the package BBP_PRODOC_C (ITS service BBPSEARCH).
    I tried to "duplicate" the part referring to a standard button (e.g. the "display icon" chunk), obtaining a new chunk which represents the new button in the template.
    And... it works, in the sense that the button is visible and clickable. So far so good. Here's the questions since I'm not absolutely an expert on Jscript... My button, once clicked, triggers my FORM (PO_COPY) which should receive the header GUID of the Puchase Order.
    In debug I've seen that the form fails since it does not receive any parameter, and that's probably related to this section:
    (angle brackets omitted, it gave me an error posting tags in sdn)
    "JavaScript:HyperSubmit('PO_COPY', '`MAINLIST-LINE_NUMBER[j].value`')"
    The problem is I did not understand how to check for possible parameters of this HyperSubmit method. Also, I'd like to check what's the structure of MAINLIST (as far as I've seen,  MAINLIST-LINE_NUMBER[j].value is a parameter passed to the form) but don't know how to see that. Can anyone please direct me through these passages? Thanks in advance.

    Hi Matteo Montalto,
    Please let me know how you added new button.
    Regards,
    neelima

  • Cant use Export to Excel functionality for ALV if I add a custom button

    Hi,
      I have added a custom button the the ALV toolbar by creating a GUI status and using the USER_COMMAND event. However. Now I dont the get the standard ALV toolbar with all the options for sorting, exporting to excel etc.
      Can someone show me how I can do both, add my own button to the toolbar as well as use ALV Grid toolbar. Currently the ALV grid standard toolbar has disappeared
    Thanks for reading

    Hello,
    I am not sure how you are creating your ALV report.  If you are using FM REUSE_ALV_GRID_DISPLAY there is a parameter callled I_CALLBACK_PF_STATUS .  Read the documentation for this field from the doc for the FM.  It tells you to copy a standard PF status from fucn group SLVC_FULLSCREEN and then add your new button to that staus.
    If you are using class CL_SALV_MODEL_BASE there is a method called set_screen_status that lets you do a similar thing - copy an existing PF status and add your button.
    Hope that helps
    Regards
    Greg Kern

  • How to add a custom button on Application Toolbar for ME21N, ME22N & ME23N

    Hi Experts,
    I am new to this forum. I hope someone will help me.
    My Requirement is as :
    I want to add a new custom button on Application Toolbar for ME21N, ME22N & ME23N.
    There are already standard buttons in this toolbar which is Document Overview On, Hold, Personal Settings etc.
    So after the 'personal settings' button i want add a new button and want to write a code which will open one custom screen.
    I am not able to find any exit for this....
    Please help...
    Thanks....

    Hey Buddies
    Try below BADI : ME_PROCESS_PO_CUST
    and check with required methods.
    1)PROCESS_ITEM
    2)CHECK
    3)POST
    Regards,
    Pranav

  • To put a new button in std Device master data (transaction IQ03)

    Hello Experts,
    Can you tell me how cqn i add a new button in the Std Device master data,transaction IQ03,IQ02 etc.
    I got an exit menu exit +ZUD and function exit EXIT_SAPLIPW1_003 but dont know how to use it.
    is there any customising where i can make the button visible in the transactions.
    Regards,
    Bigy

    Hi Iulia,
    I created implementation for the Badi EQUI_SCR_03. This is will bring up
    a new tab in the Device/Equipment master.
    You can check in system E5M/300.
      I Implemented methods : INIT_SCREEN, PUT_DATA_PBO.
      In the subscreen tab of Badi I gave my subscreen name and screen number.
    Hope it helps
    Regards,
    Bigy

  • Enhancement- adding new buttons in IH01

    Hi Experts,
    Basically IH01 is a report program, my requirement is to add 2 buttons on IH01 screen.
    Can some one tell me what are the possible ways to add the new buttons?
    Regards,
    Abhishek.....

    Hi,
    We do not maintain any 'functional location' in our company so i can go into the transaction and check anything more for you.
    By the way, what are you trying do with PF-STATUS.
    Regards,
    RS

Maybe you are looking for

  • Passing date range parameters in MDX Query

    Following is my mdx query SELECT NON EMPTY     [Measures].[Cache Attendees Count] ON COLUMNS, NON EMPTY     ([Cache Attendees].[Visit Id].[Visit Id].ALLMEMBERS *     [Cache Attendees].[User Id].[User Id].ALLMEMBERS *     [Cache Attendees].[Screen Nam

  • PR Release Workflow  WS20000077

    Hi Workflow Gurus, I am using SAP provided standard workflow (WS20000077)for PR Release. This workflow is triggered when event Release step generated is raised in the system. I have PR with two release code L1 and L2. If  i see the workflow it has on

  • OJ Pro 8600 Plus Printing issues

    On this for hours and hours, never had so many issues with setting up a printer.  I am dizzy.  Have a few laptops (macbook Air, Pro) and hardwired Mac Pro (intel) and (PPC).  All OSes are 10.95 (except the PPC which is 10.5.8).  Router is DLink, and

  • NOKIA 5530 Help

    I am using nokia 5530 and recently i am in a big problem i dint know that my all msges are getting stored in the phone memory and now i want to move them to memory card is there any way i can do it???? plz help me if there is a way to move msges to m

  • [help] / device busy when shutting down.

    After update to .38 kernel, I meet this problem: root filesystem busy. I have tried these way, 1, umount -l all device 2, stop all daemon but no use. my fstab: none                   /dev/pts      devpts    defaults            0      0 none