Adding a button to standard OWL

Hello Gurus,
How do we add a custom button to the Accounts OWL and act on click of it?
I see that the UI is not extensible like that.
The requirement is to select a number of customers from the list and click the button. The button click should call an action on the account business object.
Can we add an embedded component below the list, add a button and on click of that, call action on the BO. How do we get the selected rows (customer IDs)?
Any suggestions are appreciated.

Hi Mahesh,
the Account-BO is not an ESF2-Object. Therefore you won't have the possibility to add an action on Account-BO. The action-feature is only available on ESF2-Objects (like Service Request, Activity etc.). -> a Button in an EC would be an option, BUT I am not sure, if it is even possible to get the selected rows from the standard.
A more heavy aproach would be to build your own Account OWL and show this instead of the standard OWL. This would have much more dev. effort, but provides you all freedom for custom action. But you would need to rebuild all the standard functionality (I guess you cannot rebuild everything there from PDI).
Best regards
Tom

Similar Messages

  • Adding push buttons in standard ALV

    Hi ,
    Is there any possiblity to add custom push buttons to standard ALV in Webdynpro for ABAP.
    If so, please provide me the solution.
    Thanks in Advance.
    cheers,
    sravan.

    I got the answer .

  • 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 custom button in standard toolbar in ALV

    Hello All,
    I need to add a customized button called "Copy" on ALV. The following code is giving me few standard buttons like "Append" "Delete" "Insert" etc. So, how can I add "Copy" button besides one of these standard buttons.
    data: l_value type ref to cl_salv_wd_config_table.
    data: lr_table_settings type ref to if_salv_wd_table_settings.
    lr_table_settings ?= l_value.
    lr_table_settings->set_read_only( abap_false ).
    Appreciate help.
    Thks & Rgds,
    Hemal

    Create One method
    And inside that method write the below code
    (Here i  am creating delete button you can create any name button you want just replace the name
      DATA lV_EDITBTN TYPE REF TO cl_salv_wd_fe_button.
      DATA lr_buttonui TYPE REF TO cl_salv_wd_fe_button.
      CREATE OBJECT lr_buttonui.
      lr_buttonui->set_text( 'Details' ).
      lr_buttonui->set_tooltip(
      'Shows Detail Screen as per the View selected' ).
    Generating Function Object for Button.*
      DATA btn_button TYPE REF TO cl_salv_wd_function.
      btn_button = lo_value->if_salv_wd_function_settings~create_function(
                              id = 'DETAILS' ).
      btn_button->set_editor( lr_buttonui ).
      DATA lr_buttonui1 TYPE REF TO cl_salv_wd_fe_button.
    After that create another method  and make it as a event ( it means now it become event )
    select event ON FUNCTION FROM THE LIST
    Inside that event   write
    CASE LV_FCODE.
        WHEN 'DETAILS'.
           wd_this->fire_OP_TODEATILS_plg( ).
    endcase.
    May be it may help

  • Adding a button to standard  bar

    hi all,
    iwant to add buttons to the tool bar can anybody plz help me out.
    THANKS
    ANUPAMA
    Edited by: deep kammula on Apr 14, 2008 3:43 PM

    In that case you better make use of the ALV grids, see the example below...
    Example report(type - ALV(ABAP list viewer))
    REPORT Z_ALV_SIMPLE_EXAMPLE_WITH_ITAB .
    *Simple example to use ALV and to define the ALV data in an internal
    *table
    *data definition
    tables:
    marav. "Table MARA and table MAKT
    Data to be displayed in ALV
    Using the following syntax, REUSE_ALV_FIELDCATALOG_MERGE can auto-
    matically determine the fieldstructure from this source program
    Data:
    begin of imat occurs 100,
    matnr like marav-matnr, "Material number
    maktx like marav-maktx, "Material short text
    matkl like marav-matkl, "Material group (so you can test to make
                            " intermediate sums)
    ntgew like marav-ntgew, "Net weight, numeric field (so you can test to
                            "make sums)
    gewei like marav-gewei, "weight unit (just to be complete)
    end of imat.
    Other data needed
    field to store report name
    data i_repid like sy-repid.
    field to check table length
    data i_lines like sy-tabix.
    Data for ALV display
    TYPE-POOLS: SLIS.
    data int_fcat type SLIS_T_FIELDCAT_ALV.
    select-options:
    s_matnr for marav-matnr matchcode object MAT1.
    start-of-selection.
    read data into table imat
      select * from marav
      into corresponding fields of table imat
      where
      matnr in s_matnr.
    Check if material was found
      clear i_lines.
      describe table imat lines i_lines.
      if i_lines lt 1.
      Using hardcoded write here for easy upload
        write: /
        'No materials found.'.
        exit.
      endif.
    end-of-selection.
    To use ALV, we need a DDIC-structure or a thing called Fieldcatalogue.
    The fieldcatalouge can be generated by FUNCTION
    'REUSE_ALV_FIELDCATALOG_MERGE' from an internal table from any
    report source, including this report.
    Store report name
      i_repid = sy-repid.
    Create Fieldcatalogue from internal table
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = i_repid
                I_INTERNAL_TABNAME     = 'IMAT'  "capital letters!
                I_INCLNAME             = i_repid
           CHANGING
                CT_FIELDCAT            = int_fcat
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
    *explanations:
       I_PROGRAM_NAME is the program which calls this function
       I_INTERNAL_TABNAME is the name of the internal table which you want
                          to display in ALV
       I_INCLNAME is the ABAP-source where the internal table is defined
                  (DATA....)
         CT_FIELDCAT contains the Fieldcatalouge that we need later for
         ALV display
      IF SY-SUBRC <> 0.
        write: /
        'Returncode',
        sy-subrc,
        'from FUNCTION REUSE_ALV_FIELDCATALOG_MERGE'.
      ENDIF.
    *This was the fieldcatlogue
    Call for ALV list display
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = i_repid
                IT_FIELDCAT        = int_fcat
           TABLES
                T_OUTTAB           = imat
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
    *explanations:
       I_CALLBACK_PROGRAM is the program which calls this function
       IT_FIELDCAT (just made by REUSE_ALV_FIELDCATALOG_MERGE) contains
                    now the data definition needed for display
       I_SAVE allows the user to save his own layouts
         T_OUTTAB contains the data to be displayed in ALV
      IF SY-SUBRC <> 0.
        write: /
        'Returncode',
        sy-subrc,
        'from FUNCTION REUSE_ALV_LIST_DISPLAY'.
      ENDIF.

  • Adding interactive buttons in Acrobat X Standard disables the Commenting and markup tools

    Why does adding interactive buttons to PDFs in Acrobat X Standard disable the Commenting and markup tools in the PDFs, but only when they are viewed in the Reader, not when opened in Acrobat?  When the buttons are removed, the Commenting and markup tools are re-enabled in Reader.
    Thank you.

    Which version of Reader are you testing with?

  • Adding button in standard screen

    Hi,
    I need to add a button in va01 t.code(Sales order)..When we click that button means it want to open a customized screen.How to add a customized screen in standard t.code..
    I am new to this exits.Can anyone help me how to do this.

    Hi Mahesh,
    For finding any exit for a standard t-code follow this way,
    1) Goto that screen where you need to add button( here VA01)
    2) Click System->Status
    3) There Double click the 'GUI Status' for that screen.
    In VA01 main screen it is A0. So double click that A0
    4) In the Application toolbar there is one exit for adding a button after the Copy button.
    You can insert your button details and give the Function code. Then in the user exit you can capture that function code and process accordingly.
    Though seems easy do it carefully with modification assistant on.
    Cheers,
    Kothand

  • Adding a button to results page of a test in Captivate 6...

    I'm working in Captivate 6 and I don't seem to be able to add a button to the results page of a test.  Adding a button is not an option.  I need to insert Javascript in the button in order to get back to our Learning Management system.  Please help!

    Welcome to the forum,
    Have a look at: http://blog.lilybiri.com/want-a-button-on-question-slide-in-captivate It also explores shape buttons on the score slide.
    Lilybiri

  • Adding a Button to a Form

    I am brand-new to Oracle Forms, but have experience in VB and PL/SQL. Anyway, I have created a sample form based of a simple view. It will run client-server and I can also run it (recompiled) via Forms Server on my Solaris-based 9iAS Apps Server.
    When I go to add a simple button to the form, I see 12 identical buttons stacked up and acting as 1 large button. Same thing for any inerface item. What is going on?
    Using Forms 6i by the way.

    Check the number of records displayed in the datablock that you're adding the button to. It's probably set to 12.

  • Adding share buttons

    has anyone had any success adding share buttons, such as add this, etc.

    Hi Robert,
    I have a tutorial on my site:
    http://allaboutiweb.com/index.php/2008/08/add-social-bookmarking-to-your-iweb/
    +I may receive some form of compensation, financial or otherwise, from my recommendation or link.+

  • Button on standard selection screen

    HI experts , can any budy tell me , that, can we put a button on the standard selection screen , means on screen no 1000, PLease suggest ur ans, i have a requirement to create a button on the first selection screen by selection the check box on the standard selection screen , a button should be appear on the standard selection screen.
    THanks in advance,
    Rahul

    Hello,
    What do you mean by "but ur second concept is wrong we can set our own pf-status then how can u say that set the status".
    Read again what I wrote! I said that the solution for your problem is to create a PF status of your own and that one will substitute the STANDARD one. This is the reason for having to insert the Execute (F8) button on it. Otherwise, if you don't insert it, you wont be able to execute your report.
    Also, plz reply if u know the exect ans?  this is not nice to say, specialy when the answer is correct. I've inserted buttons in standard selections screen lot's of times.
    Regards.
    Valter Oliveira.

  • How to: disable buttons in standard forms

    Hi all,
    does anybody know how to disable session date button from standard forms?
    I cannot find in forms (through Form Builder) the right data block / canvas where this button is.
    Thanks all.
    Jacopo

    I'm not aware of any "session date button". A button on a form can be disabled using the set_item_property.
    Use the layout editor and double-click the button. It will tell you what button it is. The button will also be highlighted in the Object Navigator window.
    Message was edited by:
    Mark Roberts

  • Adding a Button to the Sales Order screen

    Good Day
    Experts:
    I have added a button to the SalesOrder screen with help from a previous post here on the forum.  The button was lined up with the others that were already exisitng on the screen.  Recently, I have encountered a problem with it.  When the SalesOrder screen is run on a different machine,  the button is almost not visible.  It appears there is some kind of issue with the screen resolution just for this button. 
    Do I have to do something special with this button when it is shown on the screen to get it to remain in line with the existing buttons?
    Thanks,
    EJD

    Hi Ed
    Are you setting the button in relation to the surrounding existing objects?  Like for instance ...
            Dim oButton As SAPbouiCOM.Item = oForm.Items.Item("2").Specific 'Cancel button
            Dim oNewButton As SAPbouiCOM.Button
            Dim oNewItem As SAPbouiCOM.Item = oForm.Items.Item("Test") 'your new button or control
            With oNewItem
                .AffectsFormMode = True
                .Left = oButton .Left  + oButton.Width ' notice how button is positioned based on  existing one
                .Top = oButton .Top
                .Width = oButton.Width
                .Height = oButton.Height
                .FromPane = oButton.FromPane
                .ToPane = oButton.ToPane
                .TextStyle = intTextStyle
                oNewButton = .Specific
            End With
            With oNewButton
                .Caption = strCaption
            End With
    Message was edited by:
            Neftali Figueroa
    Message was edited by:
            Neftali Figueroa

  • Adding fields to the standard Report

    hi ,
    could u plz tell me what r the guidelines we have to follow
    while adding fields to the standard Report. (Ver ECC 6.0)
    in QA32 Tcode, after executing it will generate a report there i hv to add it.
    I could find structure of that main final table, i hv appended desired field also,
    Now im looking into Enhancement spot for it, is there any method to do it.
    Plz hv eye on it.
    Regards
    Vivek

    Hi ,
    this is the exact answer for your question.
    Go to the inclide RQALVF14 in this there is a perform  call_listviewer_f14, in this the output is displaying using REUSE_ALV_GRID_DISPLAY function module . before this do like this ..
    modify the output table p_object_tab like this .
    the output table is of structure QALS_D02 you can extend this by appending a structure with the custom fields and there is an enhancement ( i have checked it) in this routine call_listviewer_f14 in RQALVF14. Create an enhancement in this routine at the start of the routine and modify the output table using your custom code in it , then you wil get the data as well as fields into fieldcatalog,.
    Regards,
    Venkat Appikonda.

  • Adding custom buttons to the Rich Text Editor in CQ

    Hi,
    I have added custom buttons to the rich text editor in order to allow our editors to add specific content, such as popovers, custom videos and other data necessary data.
    I have successfully modifed the Rich Text editor so, that it includes the custom buttons in the actions panel.
    I have also managed to make the buttons work and include the data where necessary, when user highlights the text and clicks on a certain button.
    The last bit I am struggling with, is the visual feedback we give to the users when this text has associated action with it.
    E.g. when we select this text and make it bold when we click on the word B the button B becomes highlighted in the actions panel, later when we continue typing our text and click again on "bold" the letter B becomes highlighted again.
    Is there any button related callback/method I could overwrite to add this functionality and make my button highlighted ?
    Thanks,
    Puzanovs

    After lot's of thinking found a solution....
    Essentially the first step is to extend the CQ.form.rte.plugins.Plugin in your custom button.
    Then during the UI initialisation we create our "custom"
    var pressButton = new ui.TbElement("press-button", this, true,this.getTooltip("press-button")); // Essential extend of the button
    setInterval(function() {
                     if(window.jQuery) {
                         window.jQuery(document).ready(function () {
                             window.jQuery(".x-edit-glossary-insert").css({width:45,"background-image":"none"}); // Ignore the background
                             window.jQuery(".x-edit-glossary-insert").text("Press Button"); // Set the name
                            $(document).on({
                                mouseenter: function(){
                                  window.jQuery(".x-edit-glossary-insert").html("<b>Press Button</b>"); // Set the name bold                        
                                mouseleave: function(){                       
                               window.jQuery(".x-edit-glossary-insert").html("Press Button"); // Set the name normal
                             }}, '.press-button');
                 }, 100);
    tbGenerator.addElement("press-button", plg.Plugin.SORT_LISTS, pressButton, 10); // element is inserted
    Every time the element is inserted I add the following html
    <span class="press-button">Test peter</span>
    Now, every time in the editor, the content editor mouse overs the custom button it is higlighted in the RTE))

Maybe you are looking for

  • How do i erase all data on iphone 4s with no wifi working

    how do i erase all data on an iphone 4s. the wifi stopped working after a software update. I have upgraded to an iphone 6 but need to clear everything on the old phone so i can trade it in. Is it possible to clear all data without wifi working?. than

  • HT3529 i have a problem with mms in my iPhone 5s when m trying to send MMS

    i have a problem with mms in my iPhone 5s when m trying to send MMS then a message appears on the screen 'cannot send messageMMS Messaging needs to be enabled to send this message' but in settings there is no setting available to inable MMS in messag

  • HT2481 Issue uploading book in iphoto

    Hi guys. Right I have seen hundreds of threads related to this issue but a quick rundown as I have tried everything. Using an iMac running mountain lion 10.8 OS, we made a photo book in photo. The book assembles perfectly but once it starts uploading

  • How can i achieve these requirements?

    <p>We have a reporting requirements where:<br />1. Number of different reports are more than 300<br />2. User should have flexibility to select coulumns what s/he wants<br />3. Page width is constant i.e. if number of columns width is greater than pa

  • Oracle-XE Swap Requirements

    Tried to install XE on SUSE but the install process stops with a message stating that my system has 1004MB of swap but Oracle-XE requires 1006MB ( so close but not enough). Is there a way I can get past this issue from the Oracle side or do I have to