How do I add a button to an existing form

I have seen a few questions similar to this, but I am a total novice to customizing SBO.  This is the procedure as I understand it, please tell me if I am correct. 
I have to have some application running (call it MyApp).  MyApp contains the code to catch the load event for the form I am intersted in, and add the button then let the form load.  Is that correct?  Then what do I need to do to capture the event caused by pressing the new button?  Ultimately, this exercise will add a button to the Activity form and then cause the screen to refresh when the button is pressed.
I am NOT asking for someone to do this for me, but I see "pieces" of what I think I want to do in the examples and help, I just want to be sure I am heading in the right direction before getting mired down.
TIA

Hi Steve,
For adding your button to a system form, your approach is correct (ie capture the load event of the form your want to customise and add the button using the UI API or by loading via XML). There is an example of customising a system form in the UI API samples from the SDK. There is also an article on how to use XML to load new controls that can be found here:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ebe72e9e-0301-0010-979e-d37dcd714600
For capturing the event of the user clicking on your new button, what you need to do is trap the Item Pressed event for that form. I also recommend you look at filtering the events that your addon captures. This is good practice as a lack of event filtering can cause significant performance issues.
Kind Regards,
Owen

Similar Messages

  • How to use add row button of a tabuler form.

    Hi all,
    I have created a Tabuler form in my application.Could you please tell me 'How can i use the add row button of this form' as When i click the button "NOTHING HAPPENS".
    Thanks
    Regards,
    Neha

    Hi,
    If you edit the button, the button name has to be 'ADD'. You can make the text / label whatever you like. On the form edit page, the button should appear with this text next to it: submit as "ADD".
    HTH

  • How do I add a field into an existing form in SharePoint Designer 2010 and...?

    I'm trying to add an existing field to an existing form in SharePoint Designer 2010. It's a URL to the employee's photo. But each time I try to "Insert as picture" the url to the photo has a trailing comma. Why and more importantly, how do I get
    rid of it?
    Thanks!

    Hello,
    See this similar thread:
    http://sharepoint.stackexchange.com/questions/10149/comma-in-url-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • 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 do I add a button to insert a picture to a PDF form?

    I have a layout for a form that I use constantly. Each form has a person's picture, or at least it's supposed to, along with their information.
    How can I add a button or something so that every time I fill out a form I can easily insert that person's picture?
    I have Adobe Acrobat Pro on a mac.
    Thanks!

    See: https://answers.acrobatusers.com/Is-create-form-users-upload-photos-form-q195128.aspx

  • How can I add new row/column into existing jTable?

    Hi add!
    Can you help me how can I add new row/column into existing jTable?
    Tnx in adv!

    e.g
    Create two buttons inside the Table ( "Add New Row" ) and ("Add new Column")
    their handlers are:
    add new row:
    //i supose u already have
    DefaultTabelModel tablemodel = new DefaultTableModel(rowdata, columnNames);
    //and   
       JTabel jtable = new JTable(tablemodel);
    // Handler (row)
    jbtAddRow.addActionListener(new ActionListener(){
       public void actionPerformed(ActionEvent e) {
          if(jtable.getSelectedRow() >= 0 )
              tablemodel.insertRow(jtable.getSelectedRow(), new java.util.Vector());  
           else  
                tablemodel.addRow(new java.util.Vector());
        });to add new columns its the same but inside actionPerformed method:
    ask for e.g "Whats the name for the new column"
    then,
       tablemodel.addColumn(nameOfColumn, new java.util.Vector());   Joao
    Message was edited by:
    Java__Estudante

  • Add a button to display Adobe Form through SPRO on T-code IQS22

    Hello All,
    I am trying to add a button to display Online Interactive Adobe Form through SPRO on T-code IQS22 but its not working.
    So please suggest me how can i add a button for it ASAP.
    Thanks and Regards:
    Anugrah

    I asked my question in hopes that somebody has maybe had a similar question or has dealtwith something similar to what I am trying to do
    But you said you already know how to do this. You said you know how to create a JFrame and display it. So what is your problem?
    You said you know where to add the code. So again what is your problem?
    All you posted is code that was generated by the IDE. You have not make any effort to add your own code. Why do you think the code to show a frame here, is any different than the code you used to show a frame in the past?
    You learn by trying, not by asking people to spoon feed the answer to you.
    If you would even make the slightest effort at filling in the code where the IDE has told you to add the code I would be more willing to help. But apparently you have no desire to make the effort.

  • How do I add a WRT310N to my existing BEFSR81 network without getting IP conflicts?

    How can I add a WRT310N to my existing BEFSR81 wired network without IP conflicts? I have used the setup disk that came with the WRT310 and everything seem to work correctly. The I noticed my wired printer had a IP address conflict and my laptop would connect wirelessly. I have tried to use the "cascading a linksys routher to another linksys router" but the WRT310 does not have the same web access as described. Any help would be appreciated.

    You can cascade both the router together via an Ethernet cable.However you can not use the CD for one router to setup another router.Check this link for cascading two router.

  • How do i add a photo to an existing pdf file?

    How do i add a photo to an existing pdf file?

    Hi,
    You can download Acrobat XI Pro trial version from www.adobe.com then insall it on your computer then do following:
    1. Open your PDF file in Acrobat
    2. Select "Tools" from right hand panel
    3. Select "Content Editing" tool menu
    4. Select "Add Image" menu
    5. Select a photo file
    6. Place it where you like in the PDF file
    Hisami

  • How do I add a song to an existing playlist ios7?

    How do I add a song to an existing playlist ios7?

    Open the Playlist you want to add the song to. Then tap on "Edit", then tap on the + sign.
    Then search for the song, tap on the red ( + ) sign to add it to the playlist, and then tap on done.

  • How do i add page numbers to an existing document

    how do i add page numbers to an existing document

    Not sure if you want to add page number in the footer of the page or want to reset numbering in the page thumbnail view, so I am giving you video tutorial link for both the methods.
    1. Header-Footer method.
    http://tv.adobe.com/watch/learn-acrobat-9/adding-headersfooters-to-your-pdf-documents/
    2. Adding Page number
    http://tv.adobe.com/watch/acrobat-x-tips-tricks/quick-tip-how-to-add-page-numbers-to-a-pdf -file/

  • How do you add minimal numbers in a loan form?

    How do you add minimal numbers in a loan form as in: http://screencast.com/t/KcE65bHCG?

    Hi Andy,
    You can define the amount in the webform field. You need to make changes in the HTML of the form as mentioned in this article : http://kb.worldsecuresystems.com/kb/collect-payment-using-form.html#modify-amount
    Hope this helps.
    Cheers,
    Aishvarya Raj Rastogi

  • 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

  • How can we add a button on our ALV Grid

    Hello,
    I need to add a button on the ALV Grid and write a code on that button to download a file on the desktop of the user's machine.
    How can we write a code for the same and what would be the syntax of that code.

    Hi,
    you should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 >Programming SubObjects> Gui Status.
    ENTER SAPLKKBL PROGRAM
    STATUS STANDARD.
    exexute.
    select standard  check box. copy to your zprogram and your gui status.
    Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple.
    then go to se 38 double click on pf status .it goes to me41 screen .
    there you can add your button along with predefined buttons on application toolbar.
    then write code for button using user command event.
    Code:
    Form Set_pf_status
    Notes: Called by FM REUSE_ALV_GRID_DISPLAY
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZSTANDARD'.
    ENDFORM. "Set_pf_status
    In the above case the GUI status copied was named ZSTANDARD and adjusted accordingly, adding and removing the desired buttons. A button was added called '%DELETE'.
    3). Create the following report:
    Code:
    Form User_command
    Notes: Called by FM REUSE_ALV_GRID_DISPLAY
           Detects whether the icon/button for
           'Return Tag Deletion' has been pressed. If it has then
           detect whether any rows have been highlighted and then
           set the delete flag.
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
    DATA: li_count TYPE I.
    IF r_ucomm EQ '%DELETE'.
      LOOP AT %g00 WHERE mark EQ 'X'.
        ADD 1 TO li_count.
      ENDLOOP.
      IF li_count GT 0.
        gc_delete_flag = 'X'.
        r_ucomm = '&F03'. "Back arraow
      ELSE.
        MESSAGE W000 WITH 'Please highlight the rows to be deleted!'.
      ENDIF.
    ENDIF.
    ENDFORM.  "User_command
    *reward points if usefull

  • How can I add radio buttons dynamically?

    Hi,
    I need to add radio buttons dynamically. I will be having a set of options which will be coming form a web service call and I need to convert those options into radio buttons and show it to the user. How can I do it?
    Thanks,
    Hali George

    Yep .... I too would  rather have seen more time put into that kind of stuff than parallax scrolling.

Maybe you are looking for

  • "Smart Quotes" not consistent with imported text

    I have a very long Pages document (400 pages). I wrote the text in an app called "Copy Write," exported the text to RTF, and pasted it into Pages for formatting and polish. In Pages, some of the quotation marks and apostrophes are "smart" (curvy), wh

  • Can I backup to Time Capsule after disk repair has failed? How can I save my files?

    Downloaded and installed most recent edition of Mountain Lion OSX. All of a sudden, drive is full. Delete photos, unused user accounts. MacBook freezes. Shut it down with power button. Now - drive verified. There are issues. Disk repair has failed -

  • Apple TV and Ethernet issues.

    I want to know if it is possible to connect both the apple TV and my macbook pro to ethernet and still be able to use airplay.  I can see the apple tv but for some reason I cannot get it to connect.  When I unplug the ethernet from either of the devi

  • How do I check voicemail without my phone ?

    My wife's phone got damaged and she want's to check her cell voicemail from another phone. Is this possible ?   If so, how ? Thanks in advance

  • Table format used in the 'sums' table

    Hello, If you ask numbers to insert a table of the type 'sums', then a table is inserted which has a a thick white line above the last row. I have many tables and I would like to format them like the sum table. Therefore, I would like to know how I c