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

Similar Messages

  • 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

  • How to add a new Tab in XD02 Transaction

    Hi all,
    How to add a new Tab in XD02 Transaction. please explain step by step.
    Thanks

    Hi Anil
    Goto T code OBD2 select your account type for which you want new tab. Click on details button above.
    On next screen you can see "Field status" box.
    Select (double click) on the view (i.e. General data or CC data or Sales data) in which you want to add new tab.
    Again on next screen double click on the field present under "Select group" box.
    On next screen go ahead with your settings, i.e. which fields you want and how.
    Save the changes. Goto XD01 and test the same.
    try and revert

  • 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

  • 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

  • Regarding - add a new field in migo transaction

    Hai guys,
         i need to add  one field in MIGO transaction, can u pls tell me the step by step procedure for adding the new field in migo transaction.
    Regards,
    N.selvamuthukumar.

    Hi Selvamuthu,
    It is possible using the BADI MB_MIGO_BADI to add Additional tabs in header and/or item as required
    MB_MIGO_BADI  -> BAdI in MIGO for External Detail Subscreens
    See the documentation below...........
    With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the interface of the goods movements transaction ( MIGO) with additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips). It is possible for an external application
    to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
    to display an additional header tabstrip with own subscreen (max. 3 lines) in MIGO
    The program name, screen number and tab page text can be determined dynamically. Different screens can therefore be controlled according to the mode (for example, change mode, display mode, goods receipt, goods issue).
    To read the complete documentation  --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
    inside click on "DOCUMENTATION" button and there is a complete documentation step by step
    in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
    on the top menu -> "GOTO" -> sample code -> "Display"
    in will get the "methods" tab..see the description
    Initialization and Registration of Ext. Detail Screens
    PBO of Detail Screen
    PAI of Detail Screen
    Add / Change a Line (GOITEM)
    Delete a Line (GOITEM)
    MIGO Reset (Delete All Internal Data)
    Post Goods Movement
    Check Item Data of Goods Movement
    Mode of Transaction MIGO (Action / Reference Document)
    Status Information and Header Data
    Save Held Data
    Load Held Data
    Delete Held Data
    PBO of Header Screen
    PAI of Header Screen
    Check Header Data of Goods Movement
    Publish Item Data After Processing
    sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
    double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER  in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
    PBO of Header Screen
    PAI of Header Screen
    PBO of Detail Screen
    PAI of Detail Screen
    Pls take some time to analyse the code or flow but we can have the tabs in the header/item level
    Hope it helps
    Regards
    Byju

  • 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

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

  • 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

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

  • Add new tab for sales transaction

    Hi,
    I want to add a new tab in sales transaction for bank detail, the data of this tab should be get from BP master data, and save to crmd_order transaction table.
    what method should I implement?
    thanks
    Gang

    Hi Gang,
    Use EEWB to enhance the order. The fields shall be added to CRMD_CUSTOMER_H table.
    <a href="http://help.sap.com/saphelp_crm50/helpdata/en/43/04bede807721ece10000000a155369/frameset.htm">EEWB</a>
    for populating these fields based on BP master data, use BADI COM_PARTNER_BADI method COM_PARTNER_MERGE.
    This BADI gets called when you enter partners (sold-to-party). In the mentioned badi method, read bank details from BP master and set this to your Z-fiedlss using FM CRM_CUSTOMER_H_MAINTAIN_OW.
    Hope this helps.
    Regards
    Kaushal

  • 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

  • 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

  • [OBIEE 11g] Enforce star-schema without security filter?

    I have imported my first OLAP cube using the instructions <a href = 'http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/olap/biee/createbieemetadata.htm'>here</a> and have applied the necessary security filter to force the star join

  • Quality issues when importing still images as frames for animation

    hello, i've imported roughly 600 hand-drawn and scanned (600 dpi) images as frames for video. the images themselves are really crisp and perfectly how i want them to appear. i've imported each to play for 2 frames then move to the next. once done, i

  • Searching for a string in given text file

    Hi, I have two strings and i need to search the entire file for the strings and highlight the lines between the strings say, for example, hi this is xyz i am a begineer in java can i have some help in this issue please i gave 'hi' and 'can' i need th

  • Which headset should I g

    I'm looking to buy a new headset for my computer. I'm looking at the Fatalty series, but I don't know which one I should get.What are the differences, and would spending the extra $ for the Pro Series be a good idea?Any help/opinions would be useful.

  • Reusing dynamically loaded movies

    Hello, I am trying to reuse a dynamically loaded movie which has been loaded with a movie clip loader. The movie loads fine and can be displayed once with no problem. However, I would like to be able to store this movie so that it can be resused agai