Add a button near execute button

Hello Experts,
I want to add a button near the execute button on the selection screen.Based on this button I would be displaying some radio buttons on the selection screen.
Kindly help me with some sample code as to how can i go about in adding a button near the execute button of the selection screen
Definately the points would be rewarded for helpful answers

Hi,
Try this code:
*& Report  ABAPMASTER
REPORT  ABAPMASTER.
TABLES SSCRFIELDS.               "Fields on selection screens
SELECTION-SCREEN FUNCTION KEY 1. "button on the application toolbar
SELECTION-SCREEN FUNCTION KEY 2. "button on the application toolbar
PARAMETERS P_DAT LIKE SY-DATUM.
INITIALIZATION.
Populating button text
  MOVE 'Push Button 1' TO SSCRFIELDS-FUNCTXT_01.
  MOVE 'Push Button 2' TO SSCRFIELDS-FUNCTXT_02.
AT SELECTION-SCREEN.
  IF SSCRFIELDS-UCOMM = 'FC01'.
    PERFORM PUSH_BUTTON_CODE_1.
  ELSEIF SSCRFIELDS-UCOMM = 'FC01'.
    PERFORM PUSH_BUTTON_CODE_2.
  ENDIF.
START-OF-SELECTION.
END-OF-SELECTION.
*&      Form  Push_button_code_1
      text
FORM PUSH_BUTTON_CODE_1.
ENDFORM.                    "Push_button_code_1
*&      Form  Push_button_code_2
      text
FORM PUSH_BUTTON_CODE_2.
ENDFORM.                    "Push_button_code_2
Regards,
Joy.

Similar Messages

  • How to add a button with Javascript to Library

    Hi
    I am using Captivate 5.5 to create a template.
    In the files which will be created using this template, we will be adding a button which executes a Javascript. Now, my question is, since this button will be used on multiple slides in the file, can I add this button (with the Javascript) to the library? Currently, we create it manually everytime.
    We don't have a programmer in our team, so we can't create widget. Is there an alternative way?
    Thanks for your help.
    Sreekanth

    Thanks for that reply.
    I now have a blank slide with the button (including the javascript) on it which solves the problem of importing it manually.
    However, when we use this template to import PowerPoint presentations, when we publish the file, the first slide (the one on which I have this button) will be blank and has to be manually deleted.
    Is there a way to eliminate this manual work? I tried hiding and using some actions. But it was not of any use.

  • Add new button on SAP R/3 Logon screen( R/3.4.7) to "Forgot the Password"

    HI
    We wanted to add a new option( Forgot password option) on the SAP Logon screen to Change password when they forgot the password.
    But the user exit EXIT_SAPLSUSF_001 only triggers after the Logon.
    *Our Current SAP Version is SAP R/3 4.7
    Is there any other way, which allows,
    1. add a button/ menu option on R/3 LOGON screen to include :"forgot apssword" option.when preseed/selected, it has to execute some piece of  code( our own)  with validation to change the password.
    OR. is it possible to add an hyperlink next to password, and when pressed to execute /call a BSP(??) application to change the password in R/3. ?
    Thanks.

    Hi,
    I think you can try with  GuiXT script.
    Thanks,
    Anitha A

  • How to add a Button in JFrame title Bar ?

    Hi Folks,
    I want to add a button near to JFrame's Minimize Button(On the title bar). How can i do it ? Should i extend RootPaneUI and add custom button ? Any other easy ways to do this ?
    If anyone provides me Sample Code how to do it, It is much Appreciated.
    Thanks,

    There's no easy way to achieve this. You'll have to provide a RootPaneUI delegate with a custom title pane implementation. There, you'll have to provide a custom layout to position your button. In addition, this approach will not work on look-and-feels that do not support decorated mode (such as Windows or GTK) since under such LAFs the title pane always comes from the OS.

  • Add Employee Button missing in 'My Employees'

    Hello,
    I am facing a problem with My Employees iview in T&E. We maintained same roles for all users. However, for some users, we can see 'Add Employee' Button, for some, we can't see this.
    These are the following steps we checked.
    - In PA30, every user is linked with a personnel number.
    - Backend (ECC) roles are same for every user.
    - Frontend (Portal) roles are same for every user. (I know portal settings can't restrict the Web Dynpro ABAP buttons).
    Please suggest me a solution/documentation/check points to troubleshoot this issue. I checked SDN and Google, but without any luck.
    Appreciate your help.
    Thanks,
    Raj Peddisetty
    Edited by: Raj on Jun 15, 2010 9:02 AM

    Hi,
    This may be authorization issue. After performing the scenario from portal execute the transaction SU53 in SAP backend for that user and check is any authorization is missing. You can also activate trace (ST01) in backend for that user and then perform the activity, check is any authorization is missing.
    If everything is fine than please ask ABAPer to debugg the code. They will surely be able to identify in which case the button is appearing and in which case it is missing.
    Thanks & Regards,
    Sandip Biswas.

  • Behavior of ADD ROW button (v 2.0)

    Hi,
    I have a tabular SQL report form with 4 buttons: cancel, add row, submit, delete.
    I come to the screen with no records, execute a query. After that I need to perform insert.
    I press <ADD ROW> button, and correctly have one empty record for my possession. (in the process definition I have only 1 record to add.) I put some data into this row; and without the submitting I add another row by pressing <ADD ROW> button once more. And what happens? HTMLDB saves my 1st record and add another empty one! Is it expected behavior, that is what supposed to be? How to avoid it, not allow to save that recored (because in this case it by pass all my validations and insert a bad data) or at least alert the user that what is going to be?
    Please, help.
    Thanks,
    Jenny.

    Vikas,
    I've made some tests:
    1. ADD button does not add a new record when there are not rows on the screen
    2. if there is a row with invalid data (some mandatory fields are null) it does validations, it works, on the old record, which is on the screen.
    3. after submitting correct record (commit was perfomed), add button gives
    " Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process"
    I my old posting Re: Error handling on Tabular form you created a sample appl to test that null validation function foo() which I'm using now for this process. Can you try ADD button also in that sample appl of yours?
    I tried all these possibilities. So far, they do not work for me.
    Thanks,
    Jenny.

  • Wan to add push button in the output of ALV Grid display.

    Hi Friends,
    I wan to add a Push button in the output of ALV GRID display with STANDARD ikons.
    How to copy standard ikons of GRID output.
    How to apply the copied status into my code.
    Regards,
    Viji

    Hi,
    Goto SE41, create a pf-status for your alv report program.
    On the next screen, click menu EXTRAS --> click option ADJUST TEMPLATES and select radiobutton LIST VIEWER --> you will get all standard buttons of alv in the pf-status.
    Delete the unwanted buttons and also you can add new buttons if reqd.
    Activate pf-status --> and apply in alv program.
    Now to apply this pf-status in your alv report follow code:-
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_rep_id       " report id
         i_callback_pf_status_set          = 'PF'           " for PF-STATUS
         i_callback_user_command           = 'USER_COMMAND' " for User-Command
         is_layout                         = wa_layout      " for layout
         it_fieldcat                       = it_field       " field catalog
         it_sort                           = it_sort        " sort info
        TABLES
          t_outtab                          = it_final      " internal table
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *&      Form  pf
    *       SUB-ROUTINE PF IS USED TO SET THE PF-STATUS OF THE SCREEN
    *       ON WHICH THE ALV GRID IS DISPLAYED
    *       -->RT_EXTAB
    FORM pf USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZTG_STAT'. "<--pass pf-status name here
    ENDFORM.                    "pf
    *&      Form  USER_COMMAND
    *       SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
    *       AND EXECUTE THE APPROPIATE CODE
    *      -->LV_OKCODE   used to capture the function code
    *                     of the user-defined push-buttons
    *      -->L_SELFIELD   text
    FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
    * assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    * handle the code execution based on the function code encountered
      CASE lv_okcode.
        WHEN '<function_code>'. "<--to handle user actions
      ENDCASE.
    ENDFORM.                    "USER_COMMAND
    Hope this helps you.
    Regards,
    Tarun

  • The Add Printer button on the eprintcenter website on my screen is not working.

    I just registerd on the eprintcenter.com site and now I am trying to click on the +Add Printer button/icon to add my printer and it is not working. I have tried it in all different web browsers and it doesn't take me anywhere on any of the browsers. Sometimes I get the "javascript&colon;void(0)" message down in the left hand bottom portion of my screen when my mouse goes over that button. What is wrong? Is it your site or my computer?

    I'm having same problem

  • How to get add/edit button in classic report

    Hi,
    Iam trying to built a classic report,but here i need to have add/edit button.How can i achieve this in classic reports?
    I know this add/edit button with a pencil on note will come through the interactive report.
    But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page.Here he created a classic report with alternating rows but has an add/edit button to it.How could that be achieved??
    Can Anyone help me in this regard to built the My orders page including the add/edit navigation getting to order for items.How can tat sample application of My orders built?
    TIA,
    Regards,
    Kranthi.
    Edited by: Kranthi.K on Sep 29, 2009 12:38 AM

    One more doubt is
    But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page and when we hit add/edit image it directs us to the My orders info and order items.
    How can we build that page of My orders info and order items.Can anyone guide me through the steps the sample is created.
    I tried many times with master detail,but dint achieve what the default Sample Application has been done.
    Thanks in Advance
    Edited by: Kranthi.K on Sep 29, 2009 4:54 AM

  • Can I add Action button on each page of my pdf document

    I have created  many power point slides with an action button on each slide that allows the user to click to display a video clip.   I would like to create a pdf document of this and replace each of my action button in ppt with an action button that works in Acrobat.
    I noticed that action buttons can be added to forms, but I want to be able to add an Action Button on each of my ppt slides to start playing a video clip (each slide will have a different video).
    I would like to do this using any coding method (i.e. Javascript, VBA, C , etc).   I think acrobat uses Javascript.
    The reason, is that I want to display my power point slides on an IPad and they don't support hyperlink in power point.   I believe IPad does suppport the full acrobat capabilities.
    Can this be done ??  
    Any suggestions where to start ??
    Thank You,
    G

    NO problem creating the buttons and then playing this back in Acrobat. Works great.
    However, unfortunately, none of the PDF viewers for the iPad support playing movies.   So playing it there won't work :(.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sat, 28 Jan 2012 11:00:47 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Can I add Action button on each page of my pdf document
    Can I add Action button on each page of my pdf document
    created by gw70115<http://forums.adobe.com/people/gw70115> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4171109#4171109

  • How to add Print button on Webhelp in Robohelp 10?

    Can someone please provide step-by-step instructions to add Print button on Webhelp. I'm currently using Robohelp 10. I saw some suggestions using javascript in skin, but there isn't a step-by-step procedure available.
    I have been seraching for this from past many days. It'd be of great help to me. Thanks!

    Thank you very much for your quick reply. It was really helpful. However, I still can't see the button the webhelp output. 
    1. Created a new skin
    2. In the new skin, I added this print button and followed all steps explained (adding inline javascript and calling the function in the action tab under onClick, etc)
    3. I could see the preview of this being perfectly fine.
    4. But, when I generated the output by compiling it again, I could not see the changes I made in the webhelp
    4. I am thinking I am missing a crucial step. Is the new webhelp using the new skin? How to know this?
    5.  I carried out all the steps as explained, except this "Don't forget to tick the Print button in the second page of the wizard". Could you please let me know which wizard this is and where is the check box to tick the print button?
    I am eagerly waiting for your answer. Thanks!

  • How can I add a button to add multiple image in PDF from using adobe acrobat pro?

    I have to create a pdf form using Adobe Acrobat Pro X.
    In this form I want to add a button where I can add multiple images to the field.
    I have tried using javascript event.target.buttonImportIcon(); and successfully add an image, but when I want to add the 2nd image it automatically overwrites the previous one.
    Is there any way to solve this issue? I would like to have a form where I can add a lot of images in it. It is possible in word, but we really have to use adobe.
    Thanks

    Hi thanks for your answer.
    I can add multiple button, but if there are 10 images that I wan to add, then I have to create 10 buttons.
    Moreover, the pictures will be placed on top of each other and it means that you cannot see it clearly.

  • How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the with the little arrow, not all the highlighted ones!

    How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the one with the little arrow, not all the highlighted ones! I am using the "new" iTunes.

    For the moment there isn't a way for us end-users to control what is "matched" or "uploaded." That is purely a result of Apple's server-side algorithms.
    To re-add multiple songs at once simply highlight all the songs you want to re-add, then right-click (or Control+click) the list and choose "add to iCloud."

  • How to add a button in top ribbons of ALL library types (Not just document libraries)?

    Hi there,
    How to add this custom button on all Library Types (Not just document libraries)?
    RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
    Thanks so much.

    Hi,
    According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
    You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
    <Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • How to add new button in Customized page....

    Dear All,
    I need to add new button to the page button bar in the UI page.I tried like this in the controller but still i can not get output:
    OAPageButtonBarBean oapbb = (OAPageButtonBarBean)oawebbean.findIndexedChildRecursive("OrderPageButtons");
    OAButtonBean cancelButton = (OAButtonBean)createWebBean(oapagecontext, OAWebBeanConstants.BUTTON_BEAN,
    null, "cancelButton");
    cancelButton.setText("Cancel");
    oapbb.addIndexedChild(cancelButton);
    Is there anything i missedout?
    TIA

    what you are doing incorrectly is
    trying to get the handle to the OAPageButtonBarBean.
    This is a named child of the parent bean(OAPageLayoutBean), and what you are trying to do is find it as a indexed child, this should give you a nullpointer excp in this line oapbb.addIndexedChild(cancelButton);
    since the handle should be null.
    to get the handle to OAPageButtonBarBean, use some like this
    pageContext.getPageLayoutBean().getPageButtons();
    and then add buttons to it.
    Thanks
    Tapash.

Maybe you are looking for

  • Deleted ~usr folder and now i have a dead mdd.... need help

    So i was impatiently going through and cleaning up my mdd and for some reason seen the ~usr folder on my home page and had never seen it before, opened it up didnt look important, checked info and it seemed small so it couldnt be much??? Deleted it a

  • How to move one page header details to next page lines details

    Hello,          I have a requirement in custom page one field having a check box's like enable or disable and in that page one "Select" button.          Once we enable the check box and click on "Select" button it will move into the next page and dis

  • Oracle raw device conversion on alpha unix

    I would like to convert an Oracle database version 7.3.4 from filesystem to raw devices in digital alpha o/s version 4.0d. Anyone knows how to do it (i.e., can I simply use dd to convert? do I need to include 'skip' and 'seek' in dd command?) thanks

  • Problem getting handle of the EJBObject

    I'm getting org.omg.CORBA.SystemException: "error reading serialized object" exception each time I call getHandle() method on the bean instance. I tried different beans including the helloWorld example with the same result. I'm using Oracle 8.1.5 and

  • I keep getting an error code 306 when trying to a reset for my iphone 4

    Every time I try to complete a backup and reset for my iPhone 4, I keep getting an error code 306. I have followed all of the suggestions given through the apple support websites, but nothing works. I am also having trouble downloading a recent purch